← 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: 18-2703733-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "18",
      "pos": 2703733,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000320876.11",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "NM_015295.3",
          "protein_id": "NP_056110.2",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 2005,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 6018,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 8833,
          "mane_select": "ENST00000320876.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "ENST00000320876.11",
          "protein_id": "ENSP00000326603.7",
          "transcript_support_level": 5,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 2005,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 6018,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 8833,
          "mane_select": "NM_015295.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "ENST00000688342.1",
          "protein_id": "ENSP00000508422.1",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 1961,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 5886,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 6488,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "XM_011525642.2",
          "protein_id": "XP_011523944.1",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 2067,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 6204,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 8936,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1305G>A",
          "hgvs_p": "p.Leu435Leu",
          "transcript": "XM_047437427.1",
          "protein_id": "XP_047293383.1",
          "transcript_support_level": null,
          "aa_start": 435,
          "aa_end": null,
          "aa_length": 1939,
          "cds_start": 1305,
          "cds_end": null,
          "cds_length": 5820,
          "cdna_start": 1963,
          "cdna_end": null,
          "cdna_length": 8860,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1125G>A",
          "hgvs_p": "p.Leu375Leu",
          "transcript": "XM_047437425.1",
          "protein_id": "XP_047293381.1",
          "transcript_support_level": null,
          "aa_start": 375,
          "aa_end": null,
          "aa_length": 1879,
          "cds_start": 1125,
          "cds_end": null,
          "cds_length": 5640,
          "cdna_start": 1586,
          "cdna_end": null,
          "cdna_length": 8483,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "XM_047437426.1",
          "protein_id": "XP_047293382.1",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 1827,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 5484,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 5932,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "XM_047437428.1",
          "protein_id": "XP_047293384.1",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 1450,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 4353,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 4828,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu",
          "transcript": "XM_047437429.1",
          "protein_id": "XP_047293385.1",
          "transcript_support_level": null,
          "aa_start": 563,
          "aa_end": null,
          "aa_length": 1316,
          "cds_start": 1689,
          "cds_end": null,
          "cds_length": 3951,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 4339,
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.40G>A",
          "hgvs_p": null,
          "transcript": "ENST00000577300.1",
          "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": 506,
          "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": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.102G>A",
          "hgvs_p": null,
          "transcript": "ENST00000577880.5",
          "protein_id": "ENSP00000463049.1",
          "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": 4951,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.1846G>A",
          "hgvs_p": null,
          "transcript": "ENST00000684915.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": 3534,
          "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": 8,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.967G>A",
          "hgvs_p": null,
          "transcript": "ENST00000693213.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": 6737,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.2039G>A",
          "hgvs_p": null,
          "transcript": "XR_001753172.2",
          "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": 9051,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.2039G>A",
          "hgvs_p": null,
          "transcript": "XR_007066135.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": 5706,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMCHD1",
          "gene_hgnc_id": 29090,
          "hgvs_c": "n.2039G>A",
          "hgvs_p": null,
          "transcript": "XR_935055.3",
          "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": 5720,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000266049",
          "gene_hgnc_id": null,
          "hgvs_c": "n.371-11853C>T",
          "hgvs_p": null,
          "transcript": "ENST00000583546.1",
          "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": 690,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SMCHD1",
      "gene_hgnc_id": 29090,
      "dbsnp": "rs78073508",
      "frequency_reference_population": 0.001109212,
      "hom_count_reference_population": 18,
      "allele_count_reference_population": 1786,
      "gnomad_exomes_af": 0.000591252,
      "gnomad_genomes_af": 0.00606976,
      "gnomad_exomes_ac": 862,
      "gnomad_genomes_ac": 924,
      "gnomad_exomes_homalt": 8,
      "gnomad_genomes_homalt": 10,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.46000000834465027,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.46,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.237,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": -19,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -19,
          "benign_score": 19,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000320876.11",
          "gene_symbol": "SMCHD1",
          "hgnc_id": 29090,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1689G>A",
          "hgvs_p": "p.Leu563Leu"
        },
        {
          "score": -18,
          "benign_score": 18,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000583546.1",
          "gene_symbol": "ENSG00000266049",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.371-11853C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Facioscapulohumeral muscular dystrophy 2,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:3",
      "phenotype_combined": "not specified|not provided|Facioscapulohumeral muscular dystrophy 2",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}