← 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: 12-120994314-G-GC (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 120994314,
      "ref": "G",
      "alt": "GC",
      "effect": "frameshift_variant",
      "transcript": "NM_001306179.2",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "NM_000545.8",
          "protein_id": "NP_000536.6",
          "transcript_support_level": null,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 631,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000257555.11",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000545.8"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "ENST00000257555.11",
          "protein_id": "ENSP00000257555.5",
          "transcript_support_level": 1,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 631,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000545.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000257555.11"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "ENST00000544413.2",
          "protein_id": "ENSP00000438804.1",
          "transcript_support_level": 1,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 638,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1917,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000544413.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.685dupC",
          "hgvs_p": null,
          "transcript": "ENST00000538646.5",
          "protein_id": "ENSP00000443964.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000538646.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.*312dupC",
          "hgvs_p": null,
          "transcript": "ENST00000540108.1",
          "protein_id": "ENSP00000445445.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000540108.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.*312dupC",
          "hgvs_p": null,
          "transcript": "ENST00000540108.1",
          "protein_id": "ENSP00000445445.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000540108.1"
        },
        {
          "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": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.43-3169dupC",
          "hgvs_p": null,
          "transcript": "ENST00000535955.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000535955.5"
        },
        {
          "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": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.191-3169dupC",
          "hgvs_p": null,
          "transcript": "ENST00000538626.2",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000538626.2"
        },
        {
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.713+616dupC",
          "hgvs_p": null,
          "transcript": "ENST00000541924.5",
          "protein_id": "ENSP00000440361.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000541924.5"
        },
        {
          "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": 1,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.73-2295dupC",
          "hgvs_p": null,
          "transcript": "ENST00000544574.5",
          "protein_id": "ENSP00000438565.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000544574.5"
        },
        {
          "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": 10,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.750+122dupC",
          "hgvs_p": null,
          "transcript": "ENST00000560968.6",
          "protein_id": "ENSP00000453965.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000560968.6"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "ENST00000541395.5",
          "protein_id": "ENSP00000443112.1",
          "transcript_support_level": 2,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 662,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1989,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000541395.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "NM_001306179.2",
          "protein_id": "NP_001293108.2",
          "transcript_support_level": null,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 638,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1917,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001306179.2"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "NM_001406915.1",
          "protein_id": "NP_001393844.1",
          "transcript_support_level": null,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 567,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1704,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001406915.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.653dupC",
          "hgvs_p": "p.Gly219fs",
          "transcript": "ENST00000886299.1",
          "protein_id": "ENSP00000556358.1",
          "transcript_support_level": null,
          "aa_start": 218,
          "aa_end": null,
          "aa_length": 558,
          "cds_start": 654,
          "cds_end": null,
          "cds_length": 1677,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000886299.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "ENST00000400024.6",
          "protein_id": "ENSP00000476181.1",
          "transcript_support_level": 2,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 542,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1629,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000400024.6"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.485dupC",
          "hgvs_p": "p.Gly163fs",
          "transcript": "ENST00000886300.1",
          "protein_id": "ENSP00000556359.1",
          "transcript_support_level": null,
          "aa_start": 162,
          "aa_end": null,
          "aa_length": 502,
          "cds_start": 486,
          "cds_end": null,
          "cds_length": 1509,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000886300.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs",
          "transcript": "XM_024449168.2",
          "protein_id": "XP_024304936.1",
          "transcript_support_level": null,
          "aa_start": 291,
          "aa_end": null,
          "aa_length": 662,
          "cds_start": 873,
          "cds_end": null,
          "cds_length": 1989,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_024449168.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1A",
          "gene_hgnc_id": 11621,
          "hgvs_c": "n.1007dupC",
          "hgvs_p": null,
          "transcript": "ENST00000402929.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000402929.5"
        }
      ],
      "gene_symbol": "HNF1A",
      "gene_hgnc_id": 11621,
      "dbsnp": "rs587776825",
      "frequency_reference_population": 0.00005235661,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 84,
      "gnomad_exomes_af": 0.0000571344,
      "gnomad_genomes_af": 0.00000659344,
      "gnomad_exomes_ac": 83,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 1.876,
      "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": 14,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PP1_Strong,PVS1,PS2_Moderate",
      "acmg_by_gene": [
        {
          "score": 14,
          "benign_score": 0,
          "pathogenic_score": 14,
          "criteria": [
            "PP1_Strong",
            "PVS1",
            "PS2_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001306179.2",
          "gene_symbol": "HNF1A",
          "hgnc_id": 11621,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.872dupC",
          "hgvs_p": "p.Gly292fs"
        }
      ],
      "clinvar_disease": " familial,Clear cell carcinoma of kidney,DiGeorge syndrome,Diabetes mellitus type 1,Hepatic adenomas,Maturity onset diabetes mellitus in young,Maturity-onset diabetes of the young type 3,Monogenic diabetes,Type 1 diabetes mellitus 20,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "P:12",
      "phenotype_combined": "Maturity-onset diabetes of the young type 3|Clear cell carcinoma of kidney|Hepatic adenomas, familial|Diabetes mellitus type 1|not provided|Type 1 diabetes mellitus 20|Maturity onset diabetes mellitus in young|Monogenic diabetes|DiGeorge syndrome",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.