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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 56086799,
      "ref": "G",
      "alt": "A",
      "effect": "intron_variant",
      "transcript": "ENST00000267101.8",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.547+143G>A",
          "hgvs_p": null,
          "transcript": "NM_001982.4",
          "protein_id": "NP_001973.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1342,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4029,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5615,
          "mane_select": "ENST00000267101.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.547+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000267101.8",
          "protein_id": "ENSP00000267101.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1342,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4029,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5615,
          "mane_select": "NM_001982.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.547+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551242.5",
          "protein_id": "ENSP00000447510.1",
          "transcript_support_level": 1,
          "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": 2755,
          "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": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.852G>A",
          "hgvs_p": null,
          "transcript": "ENST00000549672.6",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 1207,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000415288.6",
          "protein_id": "ENSP00000408340.2",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4353,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000683018.1",
          "protein_id": "ENSP00000506822.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5417,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000683059.1",
          "protein_id": "ENSP00000507402.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5439,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000683164.1",
          "protein_id": "ENSP00000508051.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5614,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.138+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000549472.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": 519,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.24+6475G>A",
          "hgvs_p": null,
          "transcript": "ENST00000550869.5",
          "protein_id": "ENSP00000448671.1",
          "transcript_support_level": 4,
          "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": 572,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.547+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551085.5",
          "protein_id": "ENSP00000448483.1",
          "transcript_support_level": 2,
          "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": 4382,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.706+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000682431.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 6264,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.501+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000683653.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 5511,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.676+143G>A",
          "hgvs_p": null,
          "transcript": "ENST00000684500.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 5819,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "XM_047428500.1",
          "protein_id": "XP_047284456.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5466,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.370+143G>A",
          "hgvs_p": null,
          "transcript": "XM_047428501.1",
          "protein_id": "XP_047284457.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5632,
          "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": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "c.*164G>A",
          "hgvs_p": null,
          "transcript": "ENST00000549061.5",
          "protein_id": "ENSP00000449138.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 115,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 349,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 560,
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERBB3",
          "gene_hgnc_id": 3431,
          "hgvs_c": "n.*127G>A",
          "hgvs_p": null,
          "transcript": "ENST00000546884.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 660,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ERBB3",
      "gene_hgnc_id": 3431,
      "dbsnp": "rs877636",
      "frequency_reference_population": 0.6659567,
      "hom_count_reference_population": 212481,
      "allele_count_reference_population": 625617,
      "gnomad_exomes_af": 0.676088,
      "gnomad_genomes_af": 0.613379,
      "gnomad_exomes_ac": 532522,
      "gnomad_genomes_ac": 93095,
      "gnomad_exomes_homalt": 182626,
      "gnomad_genomes_homalt": 29855,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8899999856948853,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.07000000029802322,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.89,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.83,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.07,
      "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": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BA1",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000267101.8",
          "gene_symbol": "ERBB3",
          "hgnc_id": 3431,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.547+143G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}