← 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: 10-62813711-GGCGGCG-GG (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=10&pos=62813711&ref=GGCGGCG&alt=GG&genome=hg38&allGenes=true"

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 0,
          "criteria": [
            "PVS1",
            "PM2"
          ],
          "effects": [
            "frameshift_variant"
          ],
          "gene_symbol": "EGR2",
          "hgnc_id": 3239,
          "hgvs_c": "c.961_965delGCCGC",
          "hgvs_p": "p.Ala321fs",
          "inheritance_mode": "AR,SD,AD",
          "pathogenic_score": 10,
          "score": 10,
          "transcript": "NM_001410931.1",
          "verdict": "Pathogenic"
        }
      ],
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2",
      "acmg_score": 10,
      "allele_count_reference_population": 0,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "G",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": null,
      "bayesdelnoaf_score": null,
      "chr": "10",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": null,
      "computational_score_selected": null,
      "computational_source_selected": null,
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 476,
          "aa_ref": "AA",
          "aa_start": 308,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2979,
          "cdna_start": 1263,
          "cds_end": null,
          "cds_length": 1431,
          "cds_start": 922,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "NM_000399.5",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.922_926delGCCGC",
          "hgvs_p": "p.Ala308fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000242480.4",
          "protein_coding": true,
          "protein_id": "NP_000390.2",
          "strand": false,
          "transcript": "NM_000399.5",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 476,
          "aa_ref": "AA",
          "aa_start": 308,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 2979,
          "cdna_start": 1263,
          "cds_end": null,
          "cds_length": 1431,
          "cds_start": 922,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "ENST00000242480.4",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.922_926delGCCGC",
          "hgvs_p": "p.Ala308fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_000399.5",
          "protein_coding": true,
          "protein_id": "ENSP00000242480.3",
          "strand": false,
          "transcript": "ENST00000242480.4",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3155,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "ENST00000439032.6",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "n.*937_*941delGCCGC",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000509775.1",
          "strand": false,
          "transcript": "ENST00000439032.6",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3155,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "ENST00000439032.6",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "n.*937_*941delGCCGC",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000509775.1",
          "strand": false,
          "transcript": "ENST00000439032.6",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 489,
          "aa_ref": "AA",
          "aa_start": 321,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2817,
          "cdna_start": 1101,
          "cds_end": null,
          "cds_length": 1470,
          "cds_start": 961,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "NM_001410931.1",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.961_965delGCCGC",
          "hgvs_p": "p.Ala321fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001397860.1",
          "strand": false,
          "transcript": "NM_001410931.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 489,
          "aa_ref": "AA",
          "aa_start": 321,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1490,
          "cdna_start": 985,
          "cds_end": null,
          "cds_length": 1470,
          "cds_start": 961,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "ENST00000691610.1",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.961_965delGCCGC",
          "hgvs_p": "p.Ala321fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000509830.1",
          "strand": false,
          "transcript": "ENST00000691610.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 476,
          "aa_ref": "AA",
          "aa_start": 308,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2796,
          "cdna_start": 1080,
          "cds_end": null,
          "cds_length": 1431,
          "cds_start": 922,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "NM_001136177.3",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.922_926delGCCGC",
          "hgvs_p": "p.Ala308fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001129649.1",
          "strand": false,
          "transcript": "NM_001136177.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 476,
          "aa_ref": "AA",
          "aa_start": 308,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2851,
          "cdna_start": 1135,
          "cds_end": null,
          "cds_length": 1431,
          "cds_start": 922,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 4,
          "exon_rank": 4,
          "exon_rank_end": null,
          "feature": "NM_001136178.2",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.922_926delGCCGC",
          "hgvs_p": "p.Ala308fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001129650.1",
          "strand": false,
          "transcript": "NM_001136178.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 476,
          "aa_ref": "AA",
          "aa_start": 308,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2796,
          "cdna_start": 1080,
          "cds_end": null,
          "cds_length": 1431,
          "cds_start": 922,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "ENST00000637191.2",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.922_926delGCCGC",
          "hgvs_p": "p.Ala308fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000490154.2",
          "strand": false,
          "transcript": "ENST00000637191.2",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 426,
          "aa_ref": "AA",
          "aa_start": 258,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2879,
          "cdna_start": 1163,
          "cds_end": null,
          "cds_length": 1281,
          "cds_start": 772,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "NM_001136179.3",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.772_776delGCCGC",
          "hgvs_p": "p.Ala258fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001129651.1",
          "strand": false,
          "transcript": "NM_001136179.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 426,
          "aa_ref": "AA",
          "aa_start": 258,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2696,
          "cdna_start": 980,
          "cds_end": null,
          "cds_length": 1281,
          "cds_start": 772,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "NM_001321037.2",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.772_776delGCCGC",
          "hgvs_p": "p.Ala258fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001307966.1",
          "strand": false,
          "transcript": "NM_001321037.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 426,
          "aa_ref": "AA",
          "aa_start": 258,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2882,
          "cdna_start": 1170,
          "cds_end": null,
          "cds_length": 1281,
          "cds_start": 772,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "ENST00000411732.4",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "c.772_776delGCCGC",
          "hgvs_p": "p.Ala258fs",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000387634.1",
          "strand": false,
          "transcript": "ENST00000411732.4",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1640,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 4,
          "exon_rank": 4,
          "exon_rank_end": null,
          "feature": "ENST00000690143.1",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "n.*854_*858delGCCGC",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000510306.1",
          "strand": false,
          "transcript": "ENST00000690143.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1640,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 4,
          "exon_rank": 4,
          "exon_rank_end": null,
          "feature": "ENST00000690143.1",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "n.*854_*858delGCCGC",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000510306.1",
          "strand": false,
          "transcript": "ENST00000690143.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1075,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 2,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000639815.1",
          "gene_hgnc_id": 3239,
          "gene_symbol": "EGR2",
          "hgvs_c": "n.109-754_109-750delGCCGC",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": false,
          "transcript": "ENST00000639815.1",
          "transcript_support_level": 5
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": null,
      "effect": "frameshift_variant",
      "frequency_reference_population": null,
      "gene_hgnc_id": 3239,
      "gene_symbol": "EGR2",
      "gnomad_exomes_ac": null,
      "gnomad_exomes_af": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_ac": null,
      "gnomad_genomes_af": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_heteroplasmic": null,
      "gnomad_mito_homoplasmic": null,
      "hom_count_reference_population": 0,
      "mitotip_prediction": null,
      "mitotip_score": null,
      "pathogenicity_classification_combined": null,
      "phenotype_combined": null,
      "phylop100way_prediction": "Uncertain_significance",
      "phylop100way_score": 6.185,
      "pos": 62813711,
      "ref": "GGCGGC",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": null,
      "splice_score_selected": null,
      "splice_source_selected": null,
      "spliceai_max_prediction": null,
      "spliceai_max_score": null,
      "transcript": "NM_001410931.1"
    }
  ]
}
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.