← 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: 17-8123046-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 8123046,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_001165967.2",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu",
          "transcript": "NM_001165967.2",
          "protein_id": "NP_001159439.1",
          "transcript_support_level": null,
          "aa_start": 41,
          "aa_end": null,
          "aa_length": 230,
          "cds_start": 123,
          "cds_end": null,
          "cds_length": 693,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000541682.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001165967.2"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu",
          "transcript": "ENST00000541682.7",
          "protein_id": "ENSP00000446205.2",
          "transcript_support_level": 1,
          "aa_start": 41,
          "aa_end": null,
          "aa_length": 230,
          "cds_start": 123,
          "cds_end": null,
          "cds_length": 693,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001165967.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000541682.7"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu",
          "transcript": "ENST00000317814.8",
          "protein_id": "ENSP00000314774.4",
          "transcript_support_level": 1,
          "aa_start": 41,
          "aa_end": null,
          "aa_length": 225,
          "cds_start": 123,
          "cds_end": null,
          "cds_length": 678,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000317814.8"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu",
          "transcript": "NM_032580.4",
          "protein_id": "NP_115969.2",
          "transcript_support_level": null,
          "aa_start": 41,
          "aa_end": null,
          "aa_length": 225,
          "cds_start": 123,
          "cds_end": null,
          "cds_length": 678,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_032580.4"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.99G>A",
          "hgvs_p": "p.Glu33Glu",
          "transcript": "ENST00000577735.1",
          "protein_id": "ENSP00000462491.1",
          "transcript_support_level": 3,
          "aa_start": 33,
          "aa_end": null,
          "aa_length": 144,
          "cds_start": 99,
          "cds_end": null,
          "cds_length": 436,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000577735.1"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.219G>A",
          "hgvs_p": "p.Glu73Glu",
          "transcript": "XM_047436940.1",
          "protein_id": "XP_047292896.1",
          "transcript_support_level": null,
          "aa_start": 73,
          "aa_end": null,
          "aa_length": 262,
          "cds_start": 219,
          "cds_end": null,
          "cds_length": 789,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047436940.1"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.210G>A",
          "hgvs_p": "p.Glu70Glu",
          "transcript": "XM_047436941.1",
          "protein_id": "XP_047292897.1",
          "transcript_support_level": null,
          "aa_start": 70,
          "aa_end": null,
          "aa_length": 259,
          "cds_start": 210,
          "cds_end": null,
          "cds_length": 780,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047436941.1"
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HES7",
          "gene_hgnc_id": 15977,
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu",
          "transcript": "XM_047436942.1",
          "protein_id": "XP_047292898.1",
          "transcript_support_level": null,
          "aa_start": 41,
          "aa_end": null,
          "aa_length": 217,
          "cds_start": 123,
          "cds_end": null,
          "cds_length": 654,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047436942.1"
        }
      ],
      "gene_symbol": "HES7",
      "gene_hgnc_id": 15977,
      "dbsnp": "rs61731639",
      "frequency_reference_population": 0.060653035,
      "hom_count_reference_population": 9287,
      "allele_count_reference_population": 97073,
      "gnomad_exomes_af": 0.0600434,
      "gnomad_genomes_af": 0.0664534,
      "gnomad_exomes_ac": 86958,
      "gnomad_genomes_ac": 10115,
      "gnomad_exomes_homalt": 8278,
      "gnomad_genomes_homalt": 1009,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.3499999940395355,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.35,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.748,
      "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": "BP4_Moderate,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -18,
          "benign_score": 18,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_001165967.2",
          "gene_symbol": "HES7",
          "hgnc_id": 15977,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.123G>A",
          "hgvs_p": "p.Glu41Glu"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}