← 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: 1-2030030-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 2030030,
      "ref": "C",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000378585.7",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1107C>A",
          "hgvs_p": "p.Gly369Gly",
          "transcript": "NM_000815.5",
          "protein_id": "NP_000806.2",
          "transcript_support_level": null,
          "aa_start": 369,
          "aa_end": null,
          "aa_length": 452,
          "cds_start": 1107,
          "cds_end": null,
          "cds_length": 1359,
          "cdna_start": 1186,
          "cdna_end": null,
          "cdna_length": 1914,
          "mane_select": "ENST00000378585.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1107C>A",
          "hgvs_p": "p.Gly369Gly",
          "transcript": "ENST00000378585.7",
          "protein_id": "ENSP00000367848.4",
          "transcript_support_level": 1,
          "aa_start": 369,
          "aa_end": null,
          "aa_length": 452,
          "cds_start": 1107,
          "cds_end": null,
          "cds_length": 1359,
          "cdna_start": 1186,
          "cdna_end": null,
          "cdna_length": 1914,
          "mane_select": "NM_000815.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1327C>A",
          "hgvs_p": "p.Arg443Ser",
          "transcript": "ENST00000638771.1",
          "protein_id": "ENSP00000492435.1",
          "transcript_support_level": 3,
          "aa_start": 443,
          "aa_end": null,
          "aa_length": 500,
          "cds_start": 1327,
          "cds_end": null,
          "cds_length": 1503,
          "cdna_start": 1372,
          "cdna_end": null,
          "cdna_length": 1707,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1138C>A",
          "hgvs_p": "p.Arg380Ser",
          "transcript": "ENST00000638411.1",
          "protein_id": "ENSP00000491632.1",
          "transcript_support_level": 5,
          "aa_start": 380,
          "aa_end": null,
          "aa_length": 394,
          "cds_start": 1138,
          "cds_end": null,
          "cds_length": 1187,
          "cdna_start": 1233,
          "cdna_end": null,
          "cdna_length": 1282,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1191C>A",
          "hgvs_p": "p.Gly397Gly",
          "transcript": "ENST00000640067.1",
          "protein_id": "ENSP00000491844.1",
          "transcript_support_level": 5,
          "aa_start": 397,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 1191,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": 1255,
          "cdna_end": null,
          "cdna_length": 1632,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1038C>A",
          "hgvs_p": "p.Gly346Gly",
          "transcript": "ENST00000640949.1",
          "protein_id": "ENSP00000492500.1",
          "transcript_support_level": 5,
          "aa_start": 346,
          "aa_end": null,
          "aa_length": 429,
          "cds_start": 1038,
          "cds_end": null,
          "cds_length": 1290,
          "cdna_start": 1058,
          "cdna_end": null,
          "cdna_length": 1684,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.891C>A",
          "hgvs_p": "p.Gly297Gly",
          "transcript": "ENST00000640030.1",
          "protein_id": "ENSP00000491411.1",
          "transcript_support_level": 5,
          "aa_start": 297,
          "aa_end": null,
          "aa_length": 380,
          "cds_start": 891,
          "cds_end": null,
          "cds_length": 1143,
          "cdna_start": 891,
          "cdna_end": null,
          "cdna_length": 1578,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1812C>A",
          "hgvs_p": "p.Gly604Gly",
          "transcript": "XM_017000936.2",
          "protein_id": "XP_016856425.1",
          "transcript_support_level": null,
          "aa_start": 604,
          "aa_end": null,
          "aa_length": 687,
          "cds_start": 1812,
          "cds_end": null,
          "cds_length": 2064,
          "cdna_start": 6121,
          "cdna_end": null,
          "cdna_length": 6849,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.1146C>A",
          "hgvs_p": "p.Gly382Gly",
          "transcript": "XM_011541194.4",
          "protein_id": "XP_011539496.1",
          "transcript_support_level": null,
          "aa_start": 382,
          "aa_end": null,
          "aa_length": 465,
          "cds_start": 1146,
          "cds_end": null,
          "cds_length": 1398,
          "cdna_start": 4985,
          "cdna_end": null,
          "cdna_length": 5713,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1666C>A",
          "hgvs_p": null,
          "transcript": "ENST00000638604.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2377,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1686C>A",
          "hgvs_p": null,
          "transcript": "ENST00000639070.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2171,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1711C>A",
          "hgvs_p": null,
          "transcript": "ENST00000639777.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2393,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1456C>A",
          "hgvs_p": null,
          "transcript": "ENST00000640317.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1578,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1116C>A",
          "hgvs_p": null,
          "transcript": "ENST00000640423.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1172,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.608C>A",
          "hgvs_p": null,
          "transcript": "ENST00000640688.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1295,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.1774C>A",
          "hgvs_p": null,
          "transcript": "ENST00000640892.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2036,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "c.*38C>A",
          "hgvs_p": null,
          "transcript": "ENST00000638804.1",
          "protein_id": "ENSP00000491871.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 168,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 507,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 523,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GABRD",
          "gene_hgnc_id": 4084,
          "hgvs_c": "n.*1093C>A",
          "hgvs_p": null,
          "transcript": "ENST00000639045.1",
          "protein_id": "ENSP00000491997.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1247,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "GABRD",
      "gene_hgnc_id": 4084,
      "dbsnp": "rs148300882",
      "frequency_reference_population": 0.0014361615,
      "hom_count_reference_population": 3,
      "allele_count_reference_population": 2316,
      "gnomad_exomes_af": 0.00147164,
      "gnomad_genomes_af": 0.00109612,
      "gnomad_exomes_ac": 2149,
      "gnomad_genomes_ac": 167,
      "gnomad_exomes_homalt": 3,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.006442338228225708,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": 0.741,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.25,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -3.107,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7,BS2",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 11,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000378585.7",
          "gene_symbol": "GABRD",
          "hgnc_id": 4084,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1107C>A",
          "hgvs_p": "p.Gly369Gly"
        }
      ],
      "clinvar_disease": " 10, idiopathic generalized, susceptibility to,Epilepsy,Idiopathic generalized epilepsy,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "Idiopathic generalized epilepsy|Epilepsy, idiopathic generalized, susceptibility to, 10|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}