← 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-189564177-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 189564177,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_014585.6",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "NM_014585.6",
          "protein_id": "NP_055400.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1135,
          "cdna_end": null,
          "cdna_length": 3330,
          "mane_select": "ENST00000261024.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_014585.6"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000261024.7",
          "protein_id": "ENSP00000261024.3",
          "transcript_support_level": 1,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1135,
          "cdna_end": null,
          "cdna_length": 3330,
          "mane_select": "NM_014585.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000261024.7"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852923.1",
          "protein_id": "ENSP00000522982.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1043,
          "cdna_end": null,
          "cdna_length": 3235,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852923.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852924.1",
          "protein_id": "ENSP00000522983.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 966,
          "cdna_end": null,
          "cdna_length": 3158,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852924.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852925.1",
          "protein_id": "ENSP00000522984.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 992,
          "cdna_end": null,
          "cdna_length": 3184,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852925.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852926.1",
          "protein_id": "ENSP00000522985.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1066,
          "cdna_end": null,
          "cdna_length": 2073,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852926.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852927.1",
          "protein_id": "ENSP00000522986.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1009,
          "cdna_end": null,
          "cdna_length": 3204,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852927.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000852928.1",
          "protein_id": "ENSP00000522987.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1029,
          "cdna_end": null,
          "cdna_length": 2570,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852928.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000972158.1",
          "protein_id": "ENSP00000642217.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1025,
          "cdna_end": null,
          "cdna_length": 3216,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000972158.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly",
          "transcript": "ENST00000972159.1",
          "protein_id": "ENSP00000642218.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 571,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 1716,
          "cdna_start": 1144,
          "cdna_end": null,
          "cdna_length": 3391,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000972159.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.803A>G",
          "hgvs_p": "p.Asp268Gly",
          "transcript": "ENST00000972160.1",
          "protein_id": "ENSP00000642219.1",
          "transcript_support_level": null,
          "aa_start": 268,
          "aa_end": null,
          "aa_length": 569,
          "cds_start": 803,
          "cds_end": null,
          "cds_length": 1710,
          "cdna_start": 1127,
          "cdna_end": null,
          "cdna_length": 3320,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000972160.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.533A>G",
          "hgvs_p": "p.Asp178Gly",
          "transcript": "ENST00000852929.1",
          "protein_id": "ENSP00000522988.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 533,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 859,
          "cdna_end": null,
          "cdna_length": 3052,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852929.1"
        },
        {
          "aa_ref": "D",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC40A1",
          "gene_hgnc_id": 10909,
          "hgvs_c": "c.689A>G",
          "hgvs_p": "p.Asp230Gly",
          "transcript": "XM_047444066.1",
          "protein_id": "XP_047300022.1",
          "transcript_support_level": null,
          "aa_start": 230,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": 689,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": 882,
          "cdna_end": null,
          "cdna_length": 3077,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047444066.1"
        }
      ],
      "gene_symbol": "SLC40A1",
      "gene_hgnc_id": 10909,
      "dbsnp": "rs368420430",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.10206559300422668,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.245,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0759,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.24,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.338,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_014585.6",
          "gene_symbol": "SLC40A1",
          "hgnc_id": 10909,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.809A>G",
          "hgvs_p": "p.Asp270Gly"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "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.