← 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-216414831-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 216414831,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000357276.9",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "NM_014140.4",
          "protein_id": "NP_054859.2",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 387,
          "cdna_end": null,
          "cdna_length": 3201,
          "mane_select": "ENST00000357276.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000357276.9",
          "protein_id": "ENSP00000349823.4",
          "transcript_support_level": 2,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 387,
          "cdna_end": null,
          "cdna_length": 3201,
          "mane_select": "NM_014140.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000358207.9",
          "protein_id": "ENSP00000350940.5",
          "transcript_support_level": 1,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 278,
          "cdna_end": null,
          "cdna_length": 3056,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "NM_001127207.2",
          "protein_id": "NP_001120679.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 256,
          "cdna_end": null,
          "cdna_length": 3070,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000425815.6",
          "protein_id": "ENSP00000394410.2",
          "transcript_support_level": 3,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 379,
          "cdna_end": null,
          "cdna_length": 3176,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000430374.6",
          "protein_id": "ENSP00000405077.2",
          "transcript_support_level": 2,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 412,
          "cdna_end": null,
          "cdna_length": 3210,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000444508.6",
          "protein_id": "ENSP00000398969.2",
          "transcript_support_level": 2,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 954,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2865,
          "cdna_start": 447,
          "cdna_end": null,
          "cdna_length": 3244,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000697899.1",
          "protein_id": "ENSP00000513470.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 876,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2631,
          "cdna_start": 412,
          "cdna_end": null,
          "cdna_length": 2977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000697906.1",
          "protein_id": "ENSP00000513475.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 876,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2631,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 2826,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro",
          "transcript": "ENST00000434435.1",
          "protein_id": "ENSP00000402967.1",
          "transcript_support_level": 4,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 91,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 277,
          "cdna_start": 394,
          "cdna_end": null,
          "cdna_length": 544,
          "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": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.488G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697898.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": 3700,
          "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": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.403G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697900.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": 3198,
          "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": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.127G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697901.1",
          "protein_id": "ENSP00000513471.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": 3028,
          "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": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.359G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697902.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": 3173,
          "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": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.127G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697903.1",
          "protein_id": "ENSP00000513472.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": 3002,
          "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": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.127G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697904.1",
          "protein_id": "ENSP00000513473.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": 2926,
          "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": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.127G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697905.1",
          "protein_id": "ENSP00000513474.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": 2962,
          "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": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "n.127G>C",
          "hgvs_p": null,
          "transcript": "ENST00000697907.1",
          "protein_id": "ENSP00000513476.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": 3054,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCAL1",
          "gene_hgnc_id": 11102,
          "hgvs_c": "c.-177G>C",
          "hgvs_p": null,
          "transcript": "ENST00000427645.5",
          "protein_id": "ENSP00000392997.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 324,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 977,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SMARCAL1",
      "gene_hgnc_id": 11102,
      "dbsnp": "rs2066524",
      "frequency_reference_population": 0.0000013680882,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136809,
      "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.07973983883857727,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.064,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0769,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.54,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.407,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000357276.9",
          "gene_symbol": "SMARCAL1",
          "hgnc_id": 11102,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.127G>C",
          "hgvs_p": "p.Ala43Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}