← 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-2135583-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 2135583,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_001009944.3",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "NM_001009944.3",
          "protein_id": "NP_001009944.3",
          "transcript_support_level": null,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 107,
          "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": "P",
          "aa_alt": "H",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "ENST00000262304.9",
          "protein_id": "ENSP00000262304.4",
          "transcript_support_level": 1,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4303,
          "cds_start": 107,
          "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": "P",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "ENST00000423118.5",
          "protein_id": "ENSP00000399501.1",
          "transcript_support_level": 1,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 107,
          "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": "P",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "NM_000296.4",
          "protein_id": "NP_000287.4",
          "transcript_support_level": null,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4302,
          "cds_start": 107,
          "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": "P",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "XM_047434208.1",
          "protein_id": "XP_047290164.1",
          "transcript_support_level": null,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4348,
          "cds_start": 107,
          "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": "P",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1",
          "gene_hgnc_id": 9008,
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His",
          "transcript": "XM_047434209.1",
          "protein_id": "XP_047290165.1",
          "transcript_support_level": null,
          "aa_start": 36,
          "aa_end": null,
          "aa_length": 4324,
          "cds_start": 107,
          "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"
        }
      ],
      "gene_symbol": "PKD1",
      "gene_hgnc_id": 9008,
      "dbsnp": "rs560049593",
      "frequency_reference_population": 0.021899907,
      "hom_count_reference_population": 292,
      "allele_count_reference_population": 23399,
      "gnomad_exomes_af": 0.0227674,
      "gnomad_genomes_af": 0.0164924,
      "gnomad_exomes_ac": 20963,
      "gnomad_genomes_ac": 2436,
      "gnomad_exomes_homalt": 252,
      "gnomad_genomes_homalt": 40,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.01096653938293457,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.083,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.2567,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.45,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.708,
      "phylop100way_prediction": "Benign",
      "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": -18,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM1,BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -18,
          "benign_score": 20,
          "pathogenic_score": 2,
          "criteria": [
            "PM1",
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_001009944.3",
          "gene_symbol": "PKD1",
          "hgnc_id": 9008,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.107C>A",
          "hgvs_p": "p.Pro36His"
        }
      ],
      "clinvar_disease": " adult type,Autosomal dominant polycystic kidney disease,PKD1-related disorder,Polycystic kidney disease,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:4 B:2",
      "phenotype_combined": "Polycystic kidney disease, adult type|Autosomal dominant polycystic kidney disease|not provided|Polycystic kidney disease|PKD1-related disorder|not specified",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "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.