← 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-2115395-G-GC (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 2115395,
      "ref": "G",
      "alt": "GC",
      "effect": "frameshift_variant",
      "transcript": "NM_001009944.3",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs",
          "transcript": "NM_001009944.3",
          "protein_id": "NP_001009944.3",
          "transcript_support_level": null,
          "aa_start": 693,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 2079,
          "cds_end": null,
          "cds_length": 12912,
          "cdna_start": 2288,
          "cdna_end": null,
          "cdna_length": 14140,
          "mane_select": "ENST00000262304.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001009944.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs",
          "transcript": "ENST00000262304.9",
          "protein_id": "ENSP00000262304.4",
          "transcript_support_level": 1,
          "aa_start": 693,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 2079,
          "cds_end": null,
          "cds_length": 12912,
          "cdna_start": 2288,
          "cdna_end": null,
          "cdna_length": 14140,
          "mane_select": "NM_001009944.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000262304.9"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs",
          "transcript": "ENST00000423118.5",
          "protein_id": "ENSP00000399501.1",
          "transcript_support_level": 1,
          "aa_start": 693,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 2079,
          "cds_end": null,
          "cds_length": 12909,
          "cdna_start": 2288,
          "cdna_end": null,
          "cdna_length": 14135,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000423118.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs",
          "transcript": "NM_000296.4",
          "protein_id": "NP_000287.4",
          "transcript_support_level": null,
          "aa_start": 693,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 2079,
          "cds_end": null,
          "cds_length": 12909,
          "cdna_start": 2288,
          "cdna_end": null,
          "cdna_length": 14137,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000296.4"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs",
          "transcript": "XM_047434208.1",
          "protein_id": "XP_047290164.1",
          "transcript_support_level": null,
          "aa_start": 693,
          "aa_end": null,
          "aa_length": 4348,
          "cds_start": 2079,
          "cds_end": null,
          "cds_length": 13047,
          "cdna_start": 2288,
          "cdna_end": null,
          "cdna_length": 14275,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434208.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2007dupG",
          "hgvs_p": "p.Pro670fs",
          "transcript": "XM_047434209.1",
          "protein_id": "XP_047290165.1",
          "transcript_support_level": null,
          "aa_start": 669,
          "aa_end": null,
          "aa_length": 4324,
          "cds_start": 2007,
          "cds_end": null,
          "cds_length": 12975,
          "cdna_start": 2216,
          "cdna_end": null,
          "cdna_length": 14203,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434209.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2133dupG",
          "hgvs_p": "p.Pro712fs",
          "transcript": "XM_011522528.4",
          "protein_id": "XP_011520830.1",
          "transcript_support_level": null,
          "aa_start": 711,
          "aa_end": null,
          "aa_length": 4321,
          "cds_start": 2133,
          "cds_end": null,
          "cds_length": 12966,
          "cdna_start": 2322,
          "cdna_end": null,
          "cdna_length": 14174,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011522528.4"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.2133dupG",
          "hgvs_p": "p.Pro712fs",
          "transcript": "XM_011522529.3",
          "protein_id": "XP_011520831.1",
          "transcript_support_level": null,
          "aa_start": 711,
          "aa_end": null,
          "aa_length": 4320,
          "cds_start": 2133,
          "cds_end": null,
          "cds_length": 12963,
          "cdna_start": 2322,
          "cdna_end": null,
          "cdna_length": 14171,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011522529.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.1926dupG",
          "hgvs_p": "p.Pro643fs",
          "transcript": "XM_047434210.1",
          "protein_id": "XP_047290166.1",
          "transcript_support_level": null,
          "aa_start": 642,
          "aa_end": null,
          "aa_length": 4297,
          "cds_start": 1926,
          "cds_end": null,
          "cds_length": 12894,
          "cdna_start": 3184,
          "cdna_end": null,
          "cdna_length": 15171,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434210.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.1869dupG",
          "hgvs_p": "p.Pro624fs",
          "transcript": "XM_047434211.1",
          "protein_id": "XP_047290167.1",
          "transcript_support_level": null,
          "aa_start": 623,
          "aa_end": null,
          "aa_length": 4278,
          "cds_start": 1869,
          "cds_end": null,
          "cds_length": 12837,
          "cdna_start": 2088,
          "cdna_end": null,
          "cdna_length": 14075,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434211.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "G?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.34dupG",
          "hgvs_p": "p.Ala12fs",
          "transcript": "XM_047434212.1",
          "protein_id": "XP_047290168.1",
          "transcript_support_level": null,
          "aa_start": 12,
          "aa_end": null,
          "aa_length": 3668,
          "cds_start": 34,
          "cds_end": null,
          "cds_length": 11007,
          "cdna_start": 135,
          "cdna_end": null,
          "cdna_length": 12127,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047434212.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": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.470+2093dupG",
          "hgvs_p": null,
          "transcript": "ENST00000488185.2",
          "protein_id": "ENSP00000456672.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 244,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 735,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 737,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000488185.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*407dupG",
          "hgvs_p": null,
          "transcript": "ENST00000568591.5",
          "protein_id": "ENSP00000457162.1",
          "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": 2545,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000568591.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*407dupG",
          "hgvs_p": null,
          "transcript": "ENST00000568591.5",
          "protein_id": "ENSP00000457162.1",
          "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": 2545,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000568591.5"
        }
      ],
      "gene_symbol": "PKD1",
      "gene_hgnc_id": 9008,
      "dbsnp": "rs1057518923",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.03999999910593033,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -0.644,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.04,
      "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": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2079dupG",
          "hgvs_p": "p.Pro694fs"
        }
      ],
      "clinvar_disease": " adult type,Dilatation of the cerebral artery,Hepatic cysts,Polycystic kidney disease,Stage 5 chronic kidney disease,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:3",
      "phenotype_combined": "Dilatation of the cerebral artery;Hepatic cysts;Stage 5 chronic kidney disease|Polycystic kidney disease, adult type|not provided",
      "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.