← 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: 4-88056185-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 88056185,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_000297.4",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1816A>G",
          "hgvs_p": "p.Ile606Val",
          "transcript": "NM_000297.4",
          "protein_id": "NP_000288.1",
          "transcript_support_level": null,
          "aa_start": 606,
          "aa_end": null,
          "aa_length": 968,
          "cds_start": 1816,
          "cds_end": null,
          "cds_length": 2907,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000237596.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000297.4"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1816A>G",
          "hgvs_p": "p.Ile606Val",
          "transcript": "ENST00000237596.7",
          "protein_id": "ENSP00000237596.2",
          "transcript_support_level": 1,
          "aa_start": 606,
          "aa_end": null,
          "aa_length": 968,
          "cds_start": 1816,
          "cds_end": null,
          "cds_length": 2907,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000297.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000237596.7"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1816A>G",
          "hgvs_p": "p.Ile606Val",
          "transcript": "ENST00000927447.1",
          "protein_id": "ENSP00000597506.1",
          "transcript_support_level": null,
          "aa_start": 606,
          "aa_end": null,
          "aa_length": 967,
          "cds_start": 1816,
          "cds_end": null,
          "cds_length": 2904,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000927447.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1816A>G",
          "hgvs_p": "p.Ile606Val",
          "transcript": "ENST00000927448.1",
          "protein_id": "ENSP00000597507.1",
          "transcript_support_level": null,
          "aa_start": 606,
          "aa_end": null,
          "aa_length": 935,
          "cds_start": 1816,
          "cds_end": null,
          "cds_length": 2808,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000927448.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1702A>G",
          "hgvs_p": "p.Ile568Val",
          "transcript": "ENST00000956200.1",
          "protein_id": "ENSP00000626259.1",
          "transcript_support_level": null,
          "aa_start": 568,
          "aa_end": null,
          "aa_length": 929,
          "cds_start": 1702,
          "cds_end": null,
          "cds_length": 2790,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000956200.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1591A>G",
          "hgvs_p": "p.Ile531Val",
          "transcript": "NM_001440544.1",
          "protein_id": "NP_001427473.1",
          "transcript_support_level": null,
          "aa_start": 531,
          "aa_end": null,
          "aa_length": 893,
          "cds_start": 1591,
          "cds_end": null,
          "cds_length": 2682,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001440544.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.70A>G",
          "hgvs_p": "p.Ile24Val",
          "transcript": "ENST00000502363.1",
          "protein_id": "ENSP00000425289.1",
          "transcript_support_level": 5,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 386,
          "cds_start": 70,
          "cds_end": null,
          "cds_length": 1161,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000502363.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.70A>G",
          "hgvs_p": "p.Ile24Val",
          "transcript": "ENST00000508588.5",
          "protein_id": "ENSP00000427131.1",
          "transcript_support_level": 2,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 386,
          "cds_start": 70,
          "cds_end": null,
          "cds_length": 1161,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000508588.5"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1096A>G",
          "hgvs_p": "p.Ile366Val",
          "transcript": "XM_011532029.2",
          "protein_id": "XP_011530331.1",
          "transcript_support_level": null,
          "aa_start": 366,
          "aa_end": null,
          "aa_length": 728,
          "cds_start": 1096,
          "cds_end": null,
          "cds_length": 2187,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011532029.2"
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.976A>G",
          "hgvs_p": "p.Ile326Val",
          "transcript": "XM_011532030.3",
          "protein_id": "XP_011530332.1",
          "transcript_support_level": null,
          "aa_start": 326,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 976,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011532030.3"
        },
        {
          "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": 12,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.1320-1798A>G",
          "hgvs_p": null,
          "transcript": "ENST00000956199.1",
          "protein_id": "ENSP00000626258.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 775,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 2328,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000956199.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "n.189A>G",
          "hgvs_p": null,
          "transcript": "ENST00000511337.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": "ENST00000511337.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "n.149A>G",
          "hgvs_p": null,
          "transcript": "ENST00000512858.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": "ENST00000512858.1"
        },
        {
          "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": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "n.1915A>G",
          "hgvs_p": null,
          "transcript": "NR_156488.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": "NR_156488.2"
        }
      ],
      "gene_symbol": "PKD2",
      "gene_hgnc_id": 9009,
      "dbsnp": "rs755666887",
      "frequency_reference_population": 0.0000013685076,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136851,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.3252175450325012,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.404,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.207,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.01,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 6.257,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_000297.4",
          "gene_symbol": "PKD2",
          "hgnc_id": 9009,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1816A>G",
          "hgvs_p": "p.Ile606Val"
        }
      ],
      "clinvar_disease": "Polycystic kidney disease 2",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Polycystic kidney disease 2",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}