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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 2097227,
      "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": 34,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10420C>T",
          "hgvs_p": "p.Gln3474*",
          "transcript": "NM_001009944.3",
          "protein_id": "NP_001009944.3",
          "transcript_support_level": null,
          "aa_start": 3474,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 10420,
          "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": 34,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10420C>T",
          "hgvs_p": "p.Gln3474*",
          "transcript": "ENST00000262304.9",
          "protein_id": "ENSP00000262304.4",
          "transcript_support_level": 1,
          "aa_start": 3474,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 10420,
          "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": 34,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10417C>T",
          "hgvs_p": "p.Gln3473*",
          "transcript": "ENST00000423118.5",
          "protein_id": "ENSP00000399501.1",
          "transcript_support_level": 1,
          "aa_start": 3473,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 10417,
          "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": 34,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10417C>T",
          "hgvs_p": "p.Gln3473*",
          "transcript": "NM_000296.4",
          "protein_id": "NP_000287.4",
          "transcript_support_level": null,
          "aa_start": 3473,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 10417,
          "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": 36,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10555C>T",
          "hgvs_p": "p.Gln3519*",
          "transcript": "XM_047434208.1",
          "protein_id": "XP_047290164.1",
          "transcript_support_level": null,
          "aa_start": 3519,
          "aa_end": null,
          "aa_length": 4348,
          "cds_start": 10555,
          "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": 35,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10483C>T",
          "hgvs_p": "p.Gln3495*",
          "transcript": "XM_047434209.1",
          "protein_id": "XP_047290165.1",
          "transcript_support_level": null,
          "aa_start": 3495,
          "aa_end": null,
          "aa_length": 4324,
          "cds_start": 10483,
          "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": 35,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10474C>T",
          "hgvs_p": "p.Gln3492*",
          "transcript": "XM_011522528.4",
          "protein_id": "XP_011520830.1",
          "transcript_support_level": null,
          "aa_start": 3492,
          "aa_end": null,
          "aa_length": 4321,
          "cds_start": 10474,
          "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": 35,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10471C>T",
          "hgvs_p": "p.Gln3491*",
          "transcript": "XM_011522529.3",
          "protein_id": "XP_011520831.1",
          "transcript_support_level": null,
          "aa_start": 3491,
          "aa_end": null,
          "aa_length": 4320,
          "cds_start": 10471,
          "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": 36,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10402C>T",
          "hgvs_p": "p.Gln3468*",
          "transcript": "XM_047434210.1",
          "protein_id": "XP_047290166.1",
          "transcript_support_level": null,
          "aa_start": 3468,
          "aa_end": null,
          "aa_length": 4297,
          "cds_start": 10402,
          "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": 36,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.10345C>T",
          "hgvs_p": "p.Gln3449*",
          "transcript": "XM_047434211.1",
          "protein_id": "XP_047290167.1",
          "transcript_support_level": null,
          "aa_start": 3449,
          "aa_end": null,
          "aa_length": 4278,
          "cds_start": 10345,
          "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": 27,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.8515C>T",
          "hgvs_p": "p.Gln2839*",
          "transcript": "XM_047434212.1",
          "protein_id": "XP_047290168.1",
          "transcript_support_level": null,
          "aa_start": 2839,
          "aa_end": null,
          "aa_length": 3668,
          "cds_start": 8515,
          "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": 24,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.7498C>T",
          "hgvs_p": "p.Gln2500*",
          "transcript": "XM_011522537.2",
          "protein_id": "XP_011520839.1",
          "transcript_support_level": null,
          "aa_start": 2500,
          "aa_end": null,
          "aa_length": 3329,
          "cds_start": 7498,
          "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": 24,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.7492C>T",
          "hgvs_p": "p.Gln2498*",
          "transcript": "XM_047434213.1",
          "protein_id": "XP_047290169.1",
          "transcript_support_level": null,
          "aa_start": 2498,
          "aa_end": null,
          "aa_length": 3327,
          "cds_start": 7492,
          "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": 23,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.7375C>T",
          "hgvs_p": "p.Gln2459*",
          "transcript": "XM_005255370.4",
          "protein_id": "XP_005255427.1",
          "transcript_support_level": null,
          "aa_start": 2459,
          "aa_end": null,
          "aa_length": 3288,
          "cds_start": 7375,
          "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": 21,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*1613C>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": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "n.*1613C>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": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000261123",
          "gene_hgnc_id": null,
          "hgvs_c": "n.-201C>T",
          "hgvs_p": null,
          "transcript": "ENST00000565937.1",
          "protein_id": null,
          "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": "pseudogene",
          "feature": "ENST00000565937.1"
        }
      ],
      "gene_symbol": "PKD1",
      "gene_hgnc_id": 9008,
      "dbsnp": "rs1064794206",
      "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": 0.4000000059604645,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "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": 0.4,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 2.444,
      "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": [
            "stop_gained"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.10420C>T",
          "hgvs_p": "p.Gln3474*"
        },
        {
          "score": 14,
          "benign_score": 0,
          "pathogenic_score": 14,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000565937.1",
          "gene_symbol": "ENSG00000261123",
          "hgnc_id": null,
          "effects": [
            "upstream_gene_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.-201C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " adult type,Polycystic kidney disease,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:5",
      "phenotype_combined": "not provided|Polycystic kidney disease, adult type",
      "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.