← 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: 16-2090781-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 2090781,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "NM_001009944.3",
      "consequences": [
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 44,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12031C>T",
          "hgvs_p": "p.Gln4011*",
          "transcript": "NM_001009944.3",
          "protein_id": "NP_001009944.3",
          "transcript_support_level": null,
          "aa_start": 4011,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 12031,
          "cds_end": null,
          "cds_length": 12912,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000262304.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001009944.3"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 44,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12031C>T",
          "hgvs_p": "p.Gln4011*",
          "transcript": "ENST00000262304.9",
          "protein_id": "ENSP00000262304.4",
          "transcript_support_level": 1,
          "aa_start": 4011,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 12031,
          "cds_end": null,
          "cds_length": 12912,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001009944.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000262304.9"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 44,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12028C>T",
          "hgvs_p": "p.Gln4010*",
          "transcript": "ENST00000423118.5",
          "protein_id": "ENSP00000399501.1",
          "transcript_support_level": 1,
          "aa_start": 4010,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 12028,
          "cds_end": null,
          "cds_length": 12909,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000423118.5"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 44,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12028C>T",
          "hgvs_p": "p.Gln4010*",
          "transcript": "NM_000296.4",
          "protein_id": "NP_000287.4",
          "transcript_support_level": null,
          "aa_start": 4010,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 12028,
          "cds_end": null,
          "cds_length": 12909,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000296.4"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12166C>T",
          "hgvs_p": "p.Gln4056*",
          "transcript": "XM_047434208.1",
          "protein_id": "XP_047290164.1",
          "transcript_support_level": null,
          "aa_start": 4056,
          "aa_end": null,
          "aa_length": 4348,
          "cds_start": 12166,
          "cds_end": null,
          "cds_length": 13047,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434208.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12094C>T",
          "hgvs_p": "p.Gln4032*",
          "transcript": "XM_047434209.1",
          "protein_id": "XP_047290165.1",
          "transcript_support_level": null,
          "aa_start": 4032,
          "aa_end": null,
          "aa_length": 4324,
          "cds_start": 12094,
          "cds_end": null,
          "cds_length": 12975,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434209.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12085C>T",
          "hgvs_p": "p.Gln4029*",
          "transcript": "XM_011522528.4",
          "protein_id": "XP_011520830.1",
          "transcript_support_level": null,
          "aa_start": 4029,
          "aa_end": null,
          "aa_length": 4321,
          "cds_start": 12085,
          "cds_end": null,
          "cds_length": 12966,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011522528.4"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12082C>T",
          "hgvs_p": "p.Gln4028*",
          "transcript": "XM_011522529.3",
          "protein_id": "XP_011520831.1",
          "transcript_support_level": null,
          "aa_start": 4028,
          "aa_end": null,
          "aa_length": 4320,
          "cds_start": 12082,
          "cds_end": null,
          "cds_length": 12963,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011522529.3"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.12013C>T",
          "hgvs_p": "p.Gln4005*",
          "transcript": "XM_047434210.1",
          "protein_id": "XP_047290166.1",
          "transcript_support_level": null,
          "aa_start": 4005,
          "aa_end": null,
          "aa_length": 4297,
          "cds_start": 12013,
          "cds_end": null,
          "cds_length": 12894,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434210.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.11956C>T",
          "hgvs_p": "p.Gln3986*",
          "transcript": "XM_047434211.1",
          "protein_id": "XP_047290167.1",
          "transcript_support_level": null,
          "aa_start": 3986,
          "aa_end": null,
          "aa_length": 4278,
          "cds_start": 11956,
          "cds_end": null,
          "cds_length": 12837,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434211.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10126C>T",
          "hgvs_p": "p.Gln3376*",
          "transcript": "XM_047434212.1",
          "protein_id": "XP_047290168.1",
          "transcript_support_level": null,
          "aa_start": 3376,
          "aa_end": null,
          "aa_length": 3668,
          "cds_start": 10126,
          "cds_end": null,
          "cds_length": 11007,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434212.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 34,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.9109C>T",
          "hgvs_p": "p.Gln3037*",
          "transcript": "XM_011522537.2",
          "protein_id": "XP_011520839.1",
          "transcript_support_level": null,
          "aa_start": 3037,
          "aa_end": null,
          "aa_length": 3329,
          "cds_start": 9109,
          "cds_end": null,
          "cds_length": 9990,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011522537.2"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 34,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.9103C>T",
          "hgvs_p": "p.Gln3035*",
          "transcript": "XM_047434213.1",
          "protein_id": "XP_047290169.1",
          "transcript_support_level": null,
          "aa_start": 3035,
          "aa_end": null,
          "aa_length": 3327,
          "cds_start": 9103,
          "cds_end": null,
          "cds_length": 9984,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434213.1"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.8986C>T",
          "hgvs_p": "p.Gln2996*",
          "transcript": "XM_005255370.4",
          "protein_id": "XP_005255427.1",
          "transcript_support_level": null,
          "aa_start": 2996,
          "aa_end": null,
          "aa_length": 3288,
          "cds_start": 8986,
          "cds_end": null,
          "cds_length": 9867,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005255370.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.59C>T",
          "hgvs_p": null,
          "transcript": "ENST00000472577.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": "ENST00000472577.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.552C>T",
          "hgvs_p": null,
          "transcript": "ENST00000564313.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": "ENST00000564313.1"
        },
        {
          "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": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*3299C>T",
          "hgvs_p": null,
          "transcript": "ENST00000487932.5",
          "protein_id": "ENSP00000457132.1",
          "transcript_support_level": 5,
          "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": "nonsense_mediated_decay",
          "feature": "ENST00000487932.5"
        },
        {
          "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": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*630C>T",
          "hgvs_p": null,
          "transcript": "ENST00000561668.5",
          "protein_id": "ENSP00000461391.1",
          "transcript_support_level": 3,
          "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": "nonsense_mediated_decay",
          "feature": "ENST00000561668.5"
        }
      ],
      "gene_symbol": "PKD1",
      "gene_hgnc_id": 9008,
      "dbsnp": "rs1555444985",
      "frequency_reference_population": 0.0000013696229,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136962,
      "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.4399999976158142,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.44,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 4.838,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.02,
      "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": 18,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 18,
          "benign_score": 0,
          "pathogenic_score": 18,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001009944.3",
          "gene_symbol": "PKD1",
          "hgnc_id": 9008,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.12031C>T",
          "hgvs_p": "p.Gln4011*"
        }
      ],
      "clinvar_disease": " adult type,Polycystic kidney disease,Renal cyst,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:8",
      "phenotype_combined": "not provided|Polycystic kidney disease, adult type|Polycystic kidney disease|Renal cyst",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}
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.