← 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: 17-37687325-A-C (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=17&pos=37687325&ref=A&alt=C&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 37687325,
      "ref": "A",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_001411100.1",
      "consequences": [
        {
          "aa_ref": "F",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.1329T>G",
          "hgvs_p": "p.Phe443Leu",
          "transcript": "ENST00000613727.4",
          "protein_id": "ENSP00000477524.1",
          "transcript_support_level": 1,
          "aa_start": 443,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": 1329,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000613727.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "NM_000458.4",
          "protein_id": "NP_000449.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 557,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1674,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000617811.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000458.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "ENST00000617811.5",
          "protein_id": "ENSP00000480291.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 557,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1674,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000458.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000617811.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "ENST00000621123.4",
          "protein_id": "ENSP00000482711.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000621123.4"
        },
        {
          "aa_ref": "F",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.1602T>G",
          "hgvs_p": "p.Phe534Leu",
          "transcript": "NM_001411100.1",
          "protein_id": "NP_001398029.1",
          "transcript_support_level": null,
          "aa_start": 534,
          "aa_end": null,
          "aa_length": 548,
          "cds_start": 1602,
          "cds_end": null,
          "cds_length": 1647,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001411100.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.1602T>G",
          "hgvs_p": "p.Phe534Leu",
          "transcript": "ENST00000614313.4",
          "protein_id": "ENSP00000482529.1",
          "transcript_support_level": 5,
          "aa_start": 534,
          "aa_end": null,
          "aa_length": 548,
          "cds_start": 1602,
          "cds_end": null,
          "cds_length": 1647,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000614313.4"
        },
        {
          "aa_ref": "F",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.1329T>G",
          "hgvs_p": "p.Phe443Leu",
          "transcript": "NM_001304286.2",
          "protein_id": "NP_001291215.1",
          "transcript_support_level": null,
          "aa_start": 443,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": 1329,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001304286.2"
        },
        {
          "aa_ref": "F",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.1524T>G",
          "hgvs_p": "p.Phe508Leu",
          "transcript": "XM_011525164.1",
          "protein_id": "XP_011523466.1",
          "transcript_support_level": null,
          "aa_start": 508,
          "aa_end": null,
          "aa_length": 522,
          "cds_start": 1524,
          "cds_end": null,
          "cds_length": 1569,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011525164.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "NM_001165923.4",
          "protein_id": "NP_001159395.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001165923.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "ENST00000904917.1",
          "protein_id": "ENSP00000574976.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 523,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1572,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904917.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "ENST00000904916.1",
          "protein_id": "ENSP00000574975.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 492,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904916.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "XM_011525161.1",
          "protein_id": "XP_011523463.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 492,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011525161.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HNF1B",
          "gene_hgnc_id": 11630,
          "hgvs_c": "c.*47T>G",
          "hgvs_p": null,
          "transcript": "XM_047436630.1",
          "protein_id": "XP_047292586.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 466,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1401,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047436630.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": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000277688",
          "gene_hgnc_id": null,
          "hgvs_c": "n.1210+79A>C",
          "hgvs_p": null,
          "transcript": "ENST00000717158.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "ENST00000717158.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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000277688",
          "gene_hgnc_id": null,
          "hgvs_c": "n.481+79A>C",
          "hgvs_p": null,
          "transcript": "ENST00000732653.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "ENST00000732653.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": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000277688",
          "gene_hgnc_id": null,
          "hgvs_c": "n.315+79A>C",
          "hgvs_p": null,
          "transcript": "ENST00000732654.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "ENST00000732654.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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000277688",
          "gene_hgnc_id": null,
          "hgvs_c": "n.560+79A>C",
          "hgvs_p": null,
          "transcript": "ENST00000732655.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "ENST00000732655.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": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000277688",
          "gene_hgnc_id": null,
          "hgvs_c": "n.710+79A>C",
          "hgvs_p": null,
          "transcript": "ENST00000732656.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "ENST00000732656.1"
        }
      ],
      "gene_symbol": "HNF1B",
      "gene_hgnc_id": 11630,
      "dbsnp": "rs8068014",
      "frequency_reference_population": 0.0050061275,
      "hom_count_reference_population": 372,
      "allele_count_reference_population": 8080,
      "gnomad_exomes_af": 0.00272821,
      "gnomad_genomes_af": 0.0268751,
      "gnomad_exomes_ac": 3988,
      "gnomad_genomes_ac": 4092,
      "gnomad_exomes_homalt": 195,
      "gnomad_genomes_homalt": 177,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0018926262855529785,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.5,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.5114,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.35,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.687,
      "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": -19,
      "acmg_classification": "Benign",
      "acmg_criteria": "PP2,BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -19,
          "benign_score": 20,
          "pathogenic_score": 1,
          "criteria": [
            "PP2",
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_001411100.1",
          "gene_symbol": "HNF1B",
          "hgnc_id": 11630,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1602T>G",
          "hgvs_p": "p.Phe534Leu"
        },
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000717158.1",
          "gene_symbol": "ENSG00000277688",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.1210+79A>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Monogenic diabetes,Renal cysts and diabetes syndrome,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "Renal cysts and diabetes syndrome|Monogenic diabetes|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}