← 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: 12-57746249-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 57746249,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_005981.5",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.305G>C",
          "hgvs_p": "p.Ser102Thr",
          "transcript": "NM_005981.5",
          "protein_id": "NP_005972.1",
          "transcript_support_level": null,
          "aa_start": 102,
          "aa_end": null,
          "aa_length": 210,
          "cds_start": 305,
          "cds_end": null,
          "cds_length": 633,
          "cdna_start": 421,
          "cdna_end": null,
          "cdna_length": 3678,
          "mane_select": "ENST00000257910.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.305G>C",
          "hgvs_p": "p.Ser102Thr",
          "transcript": "ENST00000257910.8",
          "protein_id": "ENSP00000257910.3",
          "transcript_support_level": 1,
          "aa_start": 102,
          "aa_end": null,
          "aa_length": 210,
          "cds_start": 305,
          "cds_end": null,
          "cds_length": 633,
          "cdna_start": 421,
          "cdna_end": null,
          "cdna_length": 3678,
          "mane_select": "NM_005981.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.192+376G>C",
          "hgvs_p": null,
          "transcript": "ENST00000547992.5",
          "protein_id": "ENSP00000448209.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 126,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 381,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3434,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.71G>C",
          "hgvs_p": "p.Ser24Thr",
          "transcript": "NM_001330169.2",
          "protein_id": "NP_001317098.1",
          "transcript_support_level": null,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 132,
          "cds_start": 71,
          "cds_end": null,
          "cds_length": 399,
          "cdna_start": 435,
          "cdna_end": null,
          "cdna_length": 3692,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.71G>C",
          "hgvs_p": "p.Ser24Thr",
          "transcript": "ENST00000548167.1",
          "protein_id": "ENSP00000449131.1",
          "transcript_support_level": 3,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 85,
          "cds_start": 71,
          "cds_end": null,
          "cds_length": 259,
          "cdna_start": 300,
          "cdna_end": null,
          "cdna_length": 488,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.71G>C",
          "hgvs_p": "p.Ser24Thr",
          "transcript": "ENST00000552816.5",
          "protein_id": "ENSP00000449312.1",
          "transcript_support_level": 4,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 71,
          "cds_start": 71,
          "cds_end": null,
          "cds_length": 218,
          "cdna_start": 435,
          "cdna_end": null,
          "cdna_length": 582,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.71G>C",
          "hgvs_p": "p.Ser24Thr",
          "transcript": "XM_024449123.2",
          "protein_id": "XP_024304891.1",
          "transcript_support_level": null,
          "aa_start": 24,
          "aa_end": null,
          "aa_length": 132,
          "cds_start": 71,
          "cds_end": null,
          "cds_length": 399,
          "cdna_start": 259,
          "cdna_end": null,
          "cdna_length": 1914,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.402G>C",
          "hgvs_p": null,
          "transcript": "ENST00000546993.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.405G>C",
          "hgvs_p": null,
          "transcript": "ENST00000548093.5",
          "protein_id": null,
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 457,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.305G>C",
          "hgvs_p": null,
          "transcript": "ENST00000549052.5",
          "protein_id": "ENSP00000450195.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1100,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.347G>C",
          "hgvs_p": null,
          "transcript": "ENST00000550528.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 534,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.530G>C",
          "hgvs_p": null,
          "transcript": "ENST00000550791.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2118,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.305G>C",
          "hgvs_p": null,
          "transcript": "ENST00000553089.5",
          "protein_id": "ENSP00000446482.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 820,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.491G>C",
          "hgvs_p": null,
          "transcript": "ENST00000553221.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 675,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.64-340G>C",
          "hgvs_p": null,
          "transcript": "NM_001330168.2",
          "protein_id": "NP_001317097.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 127,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 384,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3429,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "c.64-340G>C",
          "hgvs_p": null,
          "transcript": "ENST00000547472.5",
          "protein_id": "ENSP00000449199.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 127,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 384,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 475,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TSPAN31",
          "gene_hgnc_id": 10539,
          "hgvs_c": "n.*39G>C",
          "hgvs_p": null,
          "transcript": "ENST00000547311.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 438,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TSPAN31",
      "gene_hgnc_id": 10539,
      "dbsnp": "rs751851666",
      "frequency_reference_population": 0.00001549229,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 25,
      "gnomad_exomes_af": 0.0000150526,
      "gnomad_genomes_af": 0.0000197161,
      "gnomad_exomes_ac": 22,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.118539959192276,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.05999999865889549,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.083,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0879,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.38,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.539,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.06,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 2,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_005981.5",
          "gene_symbol": "TSPAN31",
          "hgnc_id": 10539,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.305G>C",
          "hgvs_p": "p.Ser102Thr"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}