← 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: 2-191030985-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 191030985,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_003151.4",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "NM_003151.4",
          "protein_id": "NP_003142.1",
          "transcript_support_level": null,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2256,
          "cdna_end": null,
          "cdna_length": 2560,
          "mane_select": "ENST00000392320.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "ENST00000392320.7",
          "protein_id": "ENSP00000376134.2",
          "transcript_support_level": 1,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2256,
          "cdna_end": null,
          "cdna_length": 2560,
          "mane_select": "NM_003151.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "ENST00000358470.8",
          "protein_id": "ENSP00000351255.4",
          "transcript_support_level": 1,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2465,
          "cdna_end": null,
          "cdna_length": 2769,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "ENST00000450994.2",
          "protein_id": "ENSP00000412397.2",
          "transcript_support_level": 1,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2539,
          "cdna_end": null,
          "cdna_length": 2843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2381C>A",
          "hgvs_p": "p.Thr794Lys",
          "transcript": "ENST00000714287.1",
          "protein_id": "ENSP00000519567.1",
          "transcript_support_level": null,
          "aa_start": 794,
          "aa_end": null,
          "aa_length": 806,
          "cds_start": 2381,
          "cds_end": null,
          "cds_length": 2421,
          "cdna_start": 3218,
          "cdna_end": null,
          "cdna_length": 3520,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "NM_001243835.2",
          "protein_id": "NP_001230764.1",
          "transcript_support_level": null,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2471,
          "cdna_end": null,
          "cdna_length": 2775,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "ENST00000432798.2",
          "protein_id": "ENSP00000414322.2",
          "transcript_support_level": 5,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2605,
          "cdna_end": null,
          "cdna_length": 2909,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2126C>A",
          "hgvs_p": "p.Thr709Lys",
          "transcript": "ENST00000413064.6",
          "protein_id": "ENSP00000403238.2",
          "transcript_support_level": 5,
          "aa_start": 709,
          "aa_end": null,
          "aa_length": 721,
          "cds_start": 2126,
          "cds_end": null,
          "cds_length": 2166,
          "cdna_start": 2383,
          "cdna_end": null,
          "cdna_length": 2687,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "XM_006712719.4",
          "protein_id": "XP_006712782.1",
          "transcript_support_level": null,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2552,
          "cdna_end": null,
          "cdna_length": 2856,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "XM_047445603.1",
          "protein_id": "XP_047301559.1",
          "transcript_support_level": null,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2553,
          "cdna_end": null,
          "cdna_length": 2857,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys",
          "transcript": "XM_047445604.1",
          "protein_id": "XP_047301560.1",
          "transcript_support_level": null,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 748,
          "cds_start": 2207,
          "cds_end": null,
          "cds_length": 2247,
          "cdna_start": 2539,
          "cdna_end": null,
          "cdna_length": 2843,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4-AS1",
          "gene_hgnc_id": 55764,
          "hgvs_c": "n.235G>T",
          "hgvs_p": null,
          "transcript": "ENST00000429796.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": 490,
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4-AS1",
          "gene_hgnc_id": 55764,
          "hgvs_c": "n.131G>T",
          "hgvs_p": null,
          "transcript": "ENST00000456176.5",
          "protein_id": null,
          "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": 386,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "n.*861C>A",
          "hgvs_p": null,
          "transcript": "ENST00000714286.1",
          "protein_id": "ENSP00000519566.1",
          "transcript_support_level": null,
          "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": 3677,
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4-AS1",
          "gene_hgnc_id": 55764,
          "hgvs_c": "n.131G>T",
          "hgvs_p": null,
          "transcript": "NR_136318.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 386,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "n.*861C>A",
          "hgvs_p": null,
          "transcript": "ENST00000714286.1",
          "protein_id": "ENSP00000519566.1",
          "transcript_support_level": null,
          "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": 3677,
          "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": "STAT4",
          "gene_hgnc_id": 11365,
          "hgvs_c": "n.*223C>A",
          "hgvs_p": null,
          "transcript": "ENST00000463951.1",
          "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": 619,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "STAT4",
      "gene_hgnc_id": 11365,
      "dbsnp": "rs908276985",
      "frequency_reference_population": 0.0000013684627,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136846,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.11521974205970764,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.2199999988079071,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.26,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.2149,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.19,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.652,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.22,
      "spliceai_max_prediction": "Uncertain_significance",
      "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": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_003151.4",
          "gene_symbol": "STAT4",
          "hgnc_id": 11365,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.2207C>A",
          "hgvs_p": "p.Thr736Lys"
        },
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000429796.1",
          "gene_symbol": "STAT4-AS1",
          "hgnc_id": 55764,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.235G>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}