← 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: 5-161326400-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 18,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "effects": [
            "missense_variant"
          ],
          "gene_symbol": "GABRB2",
          "hgnc_id": 4082,
          "hgvs_c": "c.1159C>T",
          "hgvs_p": "p.Arg387Trp",
          "inheritance_mode": "AD",
          "pathogenic_score": 0,
          "score": -18,
          "transcript": "NM_021911.3",
          "verdict": "Benign"
        }
      ],
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6_Very_Strong,BS1,BS2",
      "acmg_score": -18,
      "allele_count_reference_population": 139,
      "alphamissense_prediction": null,
      "alphamissense_score": 0.126,
      "alt": "A",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.29,
      "chr": "5",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_disease": "Intellectual disability,not provided",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:1",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": 0.17298665642738342,
      "computational_source_selected": "MetaRNN",
      "consequences": [
        {
          "aa_alt": "W",
          "aa_end": null,
          "aa_length": 512,
          "aa_ref": "R",
          "aa_start": 387,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7266,
          "cdna_start": 1241,
          "cds_end": null,
          "cds_length": 1539,
          "cds_start": 1159,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 10,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "NM_001371727.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1159C>T",
          "hgvs_p": "p.Arg387Trp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000393959.6",
          "protein_coding": true,
          "protein_id": "NP_001358656.1",
          "strand": false,
          "transcript": "NM_001371727.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": "W",
          "aa_end": null,
          "aa_length": 512,
          "aa_ref": "R",
          "aa_start": 387,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 7266,
          "cdna_start": 1241,
          "cds_end": null,
          "cds_length": 1539,
          "cds_start": 1159,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 10,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000393959.6",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1159C>T",
          "hgvs_p": "p.Arg387Trp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_001371727.1",
          "protein_coding": true,
          "protein_id": "ENSP00000377531.1",
          "strand": false,
          "transcript": "ENST00000393959.6",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1963,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000353437.10",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000274546.6",
          "strand": false,
          "transcript": "ENST00000353437.10",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2030,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000520240.5",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000429320.1",
          "strand": false,
          "transcript": "ENST00000520240.5",
          "transcript_support_level": 1
        },
        {
          "aa_alt": "W",
          "aa_end": null,
          "aa_length": 512,
          "aa_ref": "R",
          "aa_start": 387,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7682,
          "cdna_start": 1657,
          "cds_end": null,
          "cds_length": 1539,
          "cds_start": 1159,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 11,
          "exon_rank": 10,
          "exon_rank_end": null,
          "feature": "NM_021911.3",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1159C>T",
          "hgvs_p": "p.Arg387Trp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_068711.1",
          "strand": false,
          "transcript": "NM_021911.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": "W",
          "aa_end": null,
          "aa_length": 512,
          "aa_ref": "R",
          "aa_start": 387,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7367,
          "cdna_start": 1335,
          "cds_end": null,
          "cds_length": 1539,
          "cds_start": 1159,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 11,
          "exon_rank": 10,
          "exon_rank_end": null,
          "feature": "ENST00000274547.7",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1159C>T",
          "hgvs_p": "p.Arg387Trp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000274547.2",
          "strand": false,
          "transcript": "ENST00000274547.7",
          "transcript_support_level": 5
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7568,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_000813.3",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_000804.1",
          "strand": false,
          "transcript": "NM_000813.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5495,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000675303.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000502748.1",
          "strand": false,
          "transcript": "ENST00000675303.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 6516,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000675773.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000502701.1",
          "strand": false,
          "transcript": "ENST00000675773.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 474,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5559,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1425,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000965237.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.1077+4483C>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000635296.1",
          "strand": false,
          "transcript": "ENST00000965237.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 411,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1779,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1236,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000517901.5",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.888+4483C>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000430532.1",
          "strand": false,
          "transcript": "ENST00000517901.5",
          "transcript_support_level": 5
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 390,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5061,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1173,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000675381.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.825+4483C>T",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000501968.1",
          "strand": false,
          "transcript": "ENST00000675381.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 314,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1349,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 945,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000517547.5",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.597+4483C>T",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000429750.1",
          "strand": false,
          "transcript": "ENST00000517547.5",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 204,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1238,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 617,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 5,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000675746.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "c.327+4483C>T",
          "hgvs_p": null,
          "intron_rank": 4,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000502391.1",
          "strand": false,
          "transcript": "ENST00000675746.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "retained_intron",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2268,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000674514.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "n.1241C>T",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": false,
          "transcript": "ENST00000674514.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": 5620,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000675081.1",
          "gene_hgnc_id": 4082,
          "gene_symbol": "GABRB2",
          "hgvs_c": "n.*536+4483C>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000502207.1",
          "strand": false,
          "transcript": "ENST00000675081.1",
          "transcript_support_level": null
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs140795978",
      "effect": "missense_variant",
      "frequency_reference_population": 0.000086150685,
      "gene_hgnc_id": 4082,
      "gene_symbol": "GABRB2",
      "gnomad_exomes_ac": 119,
      "gnomad_exomes_af": 0.0000814316,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_ac": 20,
      "gnomad_genomes_af": 0.000131491,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_heteroplasmic": null,
      "gnomad_mito_homoplasmic": null,
      "hom_count_reference_population": 0,
      "mitotip_prediction": null,
      "mitotip_score": null,
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "phenotype_combined": "Intellectual disability|not provided",
      "phylop100way_prediction": "Benign",
      "phylop100way_score": 2.078,
      "pos": 161326400,
      "ref": "G",
      "revel_prediction": "Benign",
      "revel_score": 0.234,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_021911.3"
    }
  ]
}
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.