← 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: 21-41270111-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 4,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "effects": [
            "intron_variant"
          ],
          "gene_symbol": "BACE2",
          "hgnc_id": 934,
          "hgvs_c": "c.1304-5260A>T",
          "hgvs_p": null,
          "inheritance_mode": "",
          "pathogenic_score": 2,
          "score": -2,
          "transcript": "NM_012105.5",
          "verdict": "Likely_benign"
        }
      ],
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_score": -2,
      "allele_count_reference_population": 0,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "T",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.9,
      "chr": "21",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": -0.8999999761581421,
      "computational_source_selected": "BayesDel_noAF",
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 518,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 8567,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1557,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_012105.5",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1304-5260A>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000330333.11",
          "protein_coding": true,
          "protein_id": "NP_036237.2",
          "strand": true,
          "transcript": "NM_012105.5",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 518,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 8567,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1557,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000330333.11",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1304-5260A>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_012105.5",
          "protein_coding": true,
          "protein_id": "ENSP00000332979.6",
          "strand": true,
          "transcript": "ENST00000330333.11",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 468,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 8764,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1407,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000347667.5",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1154-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000327528.4",
          "strand": true,
          "transcript": "ENST00000347667.5",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 396,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2824,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1191,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000328735.10",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1135-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000333854.6",
          "strand": true,
          "transcript": "ENST00000328735.10",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 580,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2141,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1743,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000854371.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1490-5260A>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000524430.1",
          "strand": true,
          "transcript": "ENST00000854371.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 548,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2751,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1647,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000854368.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1394-5260A>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000524427.1",
          "strand": true,
          "transcript": "ENST00000854368.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 516,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2042,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1551,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000854369.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1298-5260A>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000524428.1",
          "strand": true,
          "transcript": "ENST00000854369.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 515,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1896,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1548,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000953405.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1304-5269A>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000623464.1",
          "strand": true,
          "transcript": "ENST00000953405.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 493,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1926,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1482,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000854370.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1229-5260A>T",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000524429.1",
          "strand": true,
          "transcript": "ENST00000854370.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 468,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 8417,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1407,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_138991.3",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1154-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_620476.1",
          "strand": true,
          "transcript": "NM_138991.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 416,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1573,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1251,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000953406.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.998-5260A>T",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000623465.1",
          "strand": true,
          "transcript": "ENST00000953406.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 396,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 8398,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1191,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_138992.3",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1135-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_620477.1",
          "strand": true,
          "transcript": "NM_138992.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 371,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1488,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1116,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 6,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000854372.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.863-5260A>T",
          "hgvs_p": null,
          "intron_rank": 5,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000524431.1",
          "strand": true,
          "transcript": "ENST00000854372.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 244,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1820,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 735,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000921490.1",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.482-5260A>T",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000591549.1",
          "strand": true,
          "transcript": "ENST00000921490.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 423,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 8737,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1272,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017028314.2",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "c.1019-5260A>T",
          "hgvs_p": null,
          "intron_rank": 9,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016883803.1",
          "strand": true,
          "transcript": "XM_017028314.2",
          "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": 1013,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 6,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000463674.5",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "n.760-5260A>T",
          "hgvs_p": null,
          "intron_rank": 5,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000463674.5",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2235,
          "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": "ENST00000466122.5",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "n.1009-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000466122.5",
          "transcript_support_level": 5
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 994,
          "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": "ENST00000487994.5",
          "gene_hgnc_id": 934,
          "gene_symbol": "BACE2",
          "hgvs_c": "n.984-5260A>T",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000487994.5",
          "transcript_support_level": 5
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs8133778",
      "effect": "intron_variant",
      "frequency_reference_population": null,
      "gene_hgnc_id": 934,
      "gene_symbol": "BACE2",
      "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": "Benign",
      "phylop100way_score": -0.577,
      "pos": 41270111,
      "ref": "A",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_012105.5"
    }
  ]
}
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.