← Back to variant description

GeneBe API Showcase

This page demonstrates how to use the GeneBe API to query variant information. The API provides programmatic access to genomic annotations and variant data.

API presented here should be used for checking single variants. If you want to check many variants at once, please use other API endpoints that you will find in the documentation.

Documentation & Advanced Usage

Complete API documentation:docs.genebe.net/docs/api/overview/

Interactive endpoint tester:api.genebe.net/cloud/gb-api-doc/swagger-ui/

Python client for pandas:pypi.org/project/genebe/

Java CLI for VCF files:github.com/pstawinski/genebe-cli

All tools documented at:docs.genebe.net

API Request Examples for Variant: 2-174764382-G-T (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=174764382&ref=G&alt=T&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 174764382,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000348749.9",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "NM_000079.4",
          "protein_id": "NP_000070.1",
          "transcript_support_level": null,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": 91,
          "cdna_end": null,
          "cdna_length": 1984,
          "mane_select": "ENST00000348749.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "ENST00000348749.9",
          "protein_id": "ENSP00000261008.5",
          "transcript_support_level": 1,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": 91,
          "cdna_end": null,
          "cdna_length": 1984,
          "mane_select": "NM_000079.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "ENST00000409323.1",
          "protein_id": "ENSP00000386684.1",
          "transcript_support_level": 1,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 269,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 810,
          "cdna_start": 72,
          "cdna_end": null,
          "cdna_length": 1585,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.322-8367G>T",
          "hgvs_p": null,
          "transcript": "ENST00000442996.1",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2400,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "NM_001039523.3",
          "protein_id": "NP_001034612.1",
          "transcript_support_level": null,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 482,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1449,
          "cdna_start": 91,
          "cdna_end": null,
          "cdna_length": 2059,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "ENST00000261007.9",
          "protein_id": "ENSP00000261007.5",
          "transcript_support_level": 2,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 482,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1449,
          "cdna_start": 80,
          "cdna_end": null,
          "cdna_length": 1980,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "ENST00000409219.5",
          "protein_id": "ENSP00000386611.1",
          "transcript_support_level": 3,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 377,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1134,
          "cdna_start": 31,
          "cdna_end": null,
          "cdna_length": 1466,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr",
          "transcript": "ENST00000409542.5",
          "protein_id": "ENSP00000387026.1",
          "transcript_support_level": 3,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 375,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1128,
          "cdna_start": 31,
          "cdna_end": null,
          "cdna_length": 1460,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "n.13C>A",
          "hgvs_p": null,
          "transcript": "ENST00000435083.5",
          "protein_id": "ENSP00000395805.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1596,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.-601C>A",
          "hgvs_p": null,
          "transcript": "ENST00000672640.1",
          "protein_id": "ENSP00000500507.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 294,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 885,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2108,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CHRNA1",
          "gene_hgnc_id": 1955,
          "hgvs_c": "c.-446-4749C>A",
          "hgvs_p": null,
          "transcript": "ENST00000636168.2",
          "protein_id": "ENSP00000490338.2",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 294,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 885,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1862,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.326+34558G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842845.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 823,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.213-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842846.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.320-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842847.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1246,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.470-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842848.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1396,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.232-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842849.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1158,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.369-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842853.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1295,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000236449",
          "gene_hgnc_id": null,
          "hgvs_c": "n.136-8364G>T",
          "hgvs_p": null,
          "transcript": "ENST00000842854.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1062,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CHRNA1",
      "gene_hgnc_id": 1955,
      "dbsnp": "rs567683036",
      "frequency_reference_population": 0.0000043390455,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 7,
      "gnomad_exomes_af": 0.0000020533,
      "gnomad_genomes_af": 0.0000262819,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.07089155912399292,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.121,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0818,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.37,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.169,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -1,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": -1,
          "benign_score": 2,
          "pathogenic_score": 1,
          "criteria": [
            "PP2",
            "BP4_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000348749.9",
          "gene_symbol": "CHRNA1",
          "hgnc_id": 1955,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.13C>A",
          "hgvs_p": "p.Pro5Thr"
        },
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000442996.1",
          "gene_symbol": "ENSG00000236449",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.322-8367G>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Inborn genetic diseases",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Inborn genetic diseases",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}