← 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-50104051-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 50104051,
      "ref": "A",
      "alt": "G",
      "effect": "start_lost",
      "transcript": "NM_005276.4",
      "consequences": [
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "NM_005276.4",
          "protein_id": "NP_005267.2",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 349,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1050,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000301149.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_005276.4"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000301149.8",
          "protein_id": "ENSP00000301149.3",
          "transcript_support_level": 1,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 349,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1050,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_005276.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000301149.8"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000942603.1",
          "protein_id": "ENSP00000612662.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 383,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1152,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000942603.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872078.1",
          "protein_id": "ENSP00000542137.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 375,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1128,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872078.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872076.1",
          "protein_id": "ENSP00000542135.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 360,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1083,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872076.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872073.1",
          "protein_id": "ENSP00000542132.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 359,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1080,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872073.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872077.1",
          "protein_id": "ENSP00000542136.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 354,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1065,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872077.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000942601.1",
          "protein_id": "ENSP00000612660.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 348,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1047,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000942601.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872074.1",
          "protein_id": "ENSP00000542133.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 345,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1038,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872074.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000942604.1",
          "protein_id": "ENSP00000612663.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 344,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 1035,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000942604.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "NM_001257199.2",
          "protein_id": "NP_001244128.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 326,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 981,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001257199.2"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000548814.1",
          "protein_id": "ENSP00000446768.1",
          "transcript_support_level": 2,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 326,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 981,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000548814.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000872075.1",
          "protein_id": "ENSP00000542134.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 302,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 909,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000872075.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?",
          "transcript": "ENST00000942602.1",
          "protein_id": "ENSP00000612661.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 270,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 813,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000942602.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "n.44A>G",
          "hgvs_p": null,
          "transcript": "ENST00000547190.5",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": "ENST00000547190.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "n.1A>G",
          "hgvs_p": null,
          "transcript": "ENST00000547964.5",
          "protein_id": "ENSP00000448244.1",
          "transcript_support_level": 4,
          "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": "ENST00000547964.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GPD1",
          "gene_hgnc_id": 4455,
          "hgvs_c": "n.44A>G",
          "hgvs_p": null,
          "transcript": "ENST00000551939.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": "ENST00000551939.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000295262",
          "gene_hgnc_id": null,
          "hgvs_c": "n.914+7654T>C",
          "hgvs_p": null,
          "transcript": "ENST00000728910.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": "ENST00000728910.1"
        }
      ],
      "gene_symbol": "GPD1",
      "gene_hgnc_id": 4455,
      "dbsnp": "rs144009925",
      "frequency_reference_population": 0.00016977066,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 274,
      "gnomad_exomes_af": 0.000158707,
      "gnomad_genomes_af": 0.000276083,
      "gnomad_exomes_ac": 232,
      "gnomad_genomes_ac": 42,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6053069233894348,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.297,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.12,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 2.065,
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PVS1_Moderate",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PVS1_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_005276.4",
          "gene_symbol": "GPD1",
          "hgnc_id": 4455,
          "effects": [
            "start_lost"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1A>G",
          "hgvs_p": "p.Met1?"
        },
        {
          "score": 0,
          "benign_score": 0,
          "pathogenic_score": 0,
          "criteria": [],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000728910.1",
          "gene_symbol": "ENSG00000295262",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.914+7654T>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Transient infantile hypertriglyceridemia and hepatosteatosis,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:3",
      "phenotype_combined": "not provided|Transient infantile hypertriglyceridemia and hepatosteatosis",
      "pathogenicity_classification_combined": "Uncertain significance",
      "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.