← 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-88019531-AC-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 88019531,
      "ref": "AC",
      "alt": "A",
      "effect": "frameshift_variant",
      "transcript": "NM_000297.4",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "NM_000297.4",
          "protein_id": "NP_000288.1",
          "transcript_support_level": null,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 968,
          "cds_start": 670,
          "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": "L",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "ENST00000237596.7",
          "protein_id": "ENSP00000237596.2",
          "transcript_support_level": 1,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 968,
          "cds_start": 670,
          "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": "L",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "ENST00000927447.1",
          "protein_id": "ENSP00000597506.1",
          "transcript_support_level": null,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 967,
          "cds_start": 670,
          "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": "L",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "ENST00000927448.1",
          "protein_id": "ENSP00000597507.1",
          "transcript_support_level": null,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 935,
          "cds_start": 670,
          "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": "L",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "NM_001440544.1",
          "protein_id": "NP_001427473.1",
          "transcript_support_level": null,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 893,
          "cds_start": 670,
          "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": "L",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs",
          "transcript": "ENST00000956199.1",
          "protein_id": "ENSP00000626258.1",
          "transcript_support_level": null,
          "aa_start": 224,
          "aa_end": null,
          "aa_length": 775,
          "cds_start": 670,
          "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": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.595+11204delC",
          "hgvs_p": null,
          "transcript": "ENST00000956200.1",
          "protein_id": "ENSP00000626259.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 929,
          "cds_start": null,
          "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": 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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "n.172delC",
          "hgvs_p": null,
          "transcript": "ENST00000506727.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": "ENST00000506727.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": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "n.769delC",
          "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"
        },
        {
          "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": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD2",
          "gene_hgnc_id": 9009,
          "hgvs_c": "c.-107delC",
          "hgvs_p": null,
          "transcript": "XM_011532029.2",
          "protein_id": "XP_011530331.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 728,
          "cds_start": null,
          "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"
        }
      ],
      "gene_symbol": "PKD2",
      "gene_hgnc_id": 9009,
      "dbsnp": "rs1553924173",
      "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.05000000074505806,
      "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.071,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.05,
      "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": 12,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_000297.4",
          "gene_symbol": "PKD2",
          "hgnc_id": 9009,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.670delC",
          "hgvs_p": "p.Leu224fs"
        }
      ],
      "clinvar_disease": "Autosomal recessive polycystic kidney disease",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Autosomal recessive polycystic kidney disease",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}