← 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: 19-50423008-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 50423008,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_003121.5",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro",
          "transcript": "NM_003121.5",
          "protein_id": "NP_003112.2",
          "transcript_support_level": null,
          "aa_start": 104,
          "aa_end": null,
          "aa_length": 262,
          "cds_start": 310,
          "cds_end": null,
          "cds_length": 789,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000595883.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_003121.5"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro",
          "transcript": "ENST00000595883.6",
          "protein_id": "ENSP00000471921.1",
          "transcript_support_level": 1,
          "aa_start": 104,
          "aa_end": null,
          "aa_length": 262,
          "cds_start": 310,
          "cds_end": null,
          "cds_length": 789,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_003121.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000595883.6"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000142539",
          "gene_hgnc_id": null,
          "hgvs_c": "c.712G>C",
          "hgvs_p": "p.Ala238Pro",
          "transcript": "ENST00000599632.1",
          "protein_id": "ENSP00000473233.1",
          "transcript_support_level": 5,
          "aa_start": 238,
          "aa_end": null,
          "aa_length": 396,
          "cds_start": 712,
          "cds_end": null,
          "cds_length": 1191,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000599632.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro",
          "transcript": "ENST00000270632.7",
          "protein_id": "ENSP00000270632.7",
          "transcript_support_level": 1,
          "aa_start": 104,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": 310,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000270632.7"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro",
          "transcript": "NM_001243999.2",
          "protein_id": "NP_001230928.1",
          "transcript_support_level": null,
          "aa_start": 104,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": 310,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001243999.2"
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro",
          "transcript": "ENST00000597855.5",
          "protein_id": "ENSP00000469023.1",
          "transcript_support_level": 4,
          "aa_start": 104,
          "aa_end": null,
          "aa_length": 137,
          "cds_start": 310,
          "cds_end": null,
          "cds_length": 414,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000597855.5"
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.252G>C",
          "hgvs_p": "p.Leu84Leu",
          "transcript": "NM_001244000.2",
          "protein_id": "NP_001230929.2",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 231,
          "cds_start": 252,
          "cds_end": null,
          "cds_length": 696,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001244000.2"
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.363G>C",
          "hgvs_p": "p.Leu121Leu",
          "transcript": "ENST00000594685.1",
          "protein_id": "ENSP00000472626.1",
          "transcript_support_level": 3,
          "aa_start": 121,
          "aa_end": null,
          "aa_length": 126,
          "cds_start": 363,
          "cds_end": null,
          "cds_length": 382,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000594685.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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.66+463G>C",
          "hgvs_p": null,
          "transcript": "NM_001243998.2",
          "protein_id": "NP_001230927.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 171,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 516,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001243998.2"
        },
        {
          "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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.66+463G>C",
          "hgvs_p": null,
          "transcript": "ENST00000439922.6",
          "protein_id": "ENSP00000391877.2",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 171,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 516,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000439922.6"
        },
        {
          "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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "c.124+463G>C",
          "hgvs_p": null,
          "transcript": "ENST00000596074.5",
          "protein_id": "ENSP00000470970.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 77,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 234,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000596074.5"
        },
        {
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "n.332G>C",
          "hgvs_p": null,
          "transcript": "ENST00000594188.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": "ENST00000594188.1"
        },
        {
          "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": "SPIB",
          "gene_hgnc_id": 11242,
          "hgvs_c": "n.*33G>C",
          "hgvs_p": null,
          "transcript": "ENST00000599923.5",
          "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": "ENST00000599923.5"
        }
      ],
      "gene_symbol": "SPIB",
      "gene_hgnc_id": 11242,
      "dbsnp": "rs11546996",
      "frequency_reference_population": 0.7184224,
      "hom_count_reference_population": 405515,
      "allele_count_reference_population": 1083710,
      "gnomad_exomes_af": 0.73027,
      "gnomad_genomes_af": 0.612148,
      "gnomad_exomes_ac": 991092,
      "gnomad_genomes_ac": 92618,
      "gnomad_exomes_homalt": 374036,
      "gnomad_genomes_homalt": 31479,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0000022879312382428907,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.027,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0754,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.65,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.797,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_003121.5",
          "gene_symbol": "SPIB",
          "hgnc_id": 11242,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.310G>C",
          "hgvs_p": "p.Ala104Pro"
        },
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000599632.1",
          "gene_symbol": "ENSG00000142539",
          "hgnc_id": null,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.712G>C",
          "hgvs_p": "p.Ala238Pro"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "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.