← 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: 11-113475529-T-TG (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 113475529,
      "ref": "T",
      "alt": "TG",
      "effect": "intron_variant",
      "transcript": "ENST00000907485.1",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "n.34+128_34+129insC",
          "hgvs_p": null,
          "transcript": "ENST00000540600.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000540600.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-32+128_-32+129insC",
          "hgvs_p": null,
          "transcript": "ENST00000907485.1",
          "protein_id": "ENSP00000577544.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000907485.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-213+128_-213+129insC",
          "hgvs_p": null,
          "transcript": "ENST00000907486.1",
          "protein_id": "ENSP00000577545.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000907486.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LOC105369501",
          "gene_hgnc_id": null,
          "hgvs_c": "n.912dupC",
          "hgvs_p": null,
          "transcript": "XR_948024.2",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "XR_948024.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-486dupC",
          "hgvs_p": null,
          "transcript": "NM_000795.4",
          "protein_id": "NP_000786.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000362072.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000795.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-486_-485insC",
          "hgvs_p": null,
          "transcript": "ENST00000362072.8",
          "protein_id": "ENSP00000354859.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000795.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000362072.8"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-486dupC",
          "hgvs_p": null,
          "transcript": "NM_001440368.1",
          "protein_id": "NP_001427297.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 442,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1329,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001440368.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DRD2",
          "gene_hgnc_id": 3023,
          "hgvs_c": "c.-486dupC",
          "hgvs_p": null,
          "transcript": "NM_016574.4",
          "protein_id": "NP_057658.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 414,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1245,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_016574.4"
        }
      ],
      "gene_symbol": "DRD2",
      "gene_hgnc_id": 3023,
      "dbsnp": "rs1799732",
      "frequency_reference_population": 0.8006266,
      "hom_count_reference_population": 48718,
      "allele_count_reference_population": 117303,
      "gnomad_exomes_af": 0.807692,
      "gnomad_genomes_af": 0.800625,
      "gnomad_exomes_ac": 21,
      "gnomad_genomes_ac": 117282,
      "gnomad_exomes_homalt": 8,
      "gnomad_genomes_homalt": 48710,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 1.447,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000907485.1",
          "gene_symbol": "DRD2",
          "hgnc_id": 3023,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.-32+128_-32+129insC",
          "hgvs_p": null
        },
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "XR_948024.2",
          "gene_symbol": "LOC105369501",
          "hgnc_id": null,
          "effects": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.912dupC",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Dystonic disorder,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "not provided|Dystonic disorder",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}