← 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-170200188-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 170200188,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_138995.5",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.225G>A",
          "hgvs_p": "p.Leu75Leu",
          "transcript": "NM_138995.5",
          "protein_id": "NP_620482.3",
          "transcript_support_level": null,
          "aa_start": 75,
          "aa_end": null,
          "aa_length": 1341,
          "cds_start": 225,
          "cds_end": null,
          "cds_length": 4026,
          "cdna_start": 366,
          "cdna_end": null,
          "cdna_length": 6213,
          "mane_select": "ENST00000408978.9",
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.225G>A",
          "hgvs_p": "p.Leu75Leu",
          "transcript": "ENST00000408978.9",
          "protein_id": "ENSP00000386213.4",
          "transcript_support_level": 1,
          "aa_start": 75,
          "aa_end": null,
          "aa_length": 1341,
          "cds_start": 225,
          "cds_end": null,
          "cds_length": 4026,
          "cdna_start": 366,
          "cdna_end": null,
          "cdna_length": 6213,
          "mane_select": "NM_138995.5",
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.225G>A",
          "hgvs_p": "p.Leu75Leu",
          "transcript": "ENST00000409044.7",
          "protein_id": "ENSP00000386497.3",
          "transcript_support_level": 1,
          "aa_start": 75,
          "aa_end": null,
          "aa_length": 1314,
          "cds_start": 225,
          "cds_end": null,
          "cds_length": 3945,
          "cdna_start": 368,
          "cdna_end": null,
          "cdna_length": 5448,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.222G>A",
          "hgvs_p": "p.Leu74Leu",
          "transcript": "ENST00000442690.1",
          "protein_id": "ENSP00000401160.1",
          "transcript_support_level": 1,
          "aa_start": 74,
          "aa_end": null,
          "aa_length": 359,
          "cds_start": 222,
          "cds_end": null,
          "cds_length": 1080,
          "cdna_start": 223,
          "cdna_end": null,
          "cdna_length": 1720,
          "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": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.368G>A",
          "hgvs_p": null,
          "transcript": "ENST00000409940.6",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 4156,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.225G>A",
          "hgvs_p": "p.Leu75Leu",
          "transcript": "NM_001083615.4",
          "protein_id": "NP_001077084.2",
          "transcript_support_level": null,
          "aa_start": 75,
          "aa_end": null,
          "aa_length": 1314,
          "cds_start": 225,
          "cds_end": null,
          "cds_length": 3945,
          "cdna_start": 366,
          "cdna_end": null,
          "cdna_length": 6132,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.252G>A",
          "hgvs_p": "p.Leu84Leu",
          "transcript": "ENST00000484338.6",
          "protein_id": "ENSP00000446237.1",
          "transcript_support_level": 5,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1104,
          "cds_start": 252,
          "cds_end": null,
          "cds_length": 3316,
          "cdna_start": 256,
          "cdna_end": null,
          "cdna_length": 3320,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.252G>A",
          "hgvs_p": "p.Leu84Leu",
          "transcript": "XM_011510654.4",
          "protein_id": "XP_011508956.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1386,
          "cds_start": 252,
          "cds_end": null,
          "cds_length": 4161,
          "cdna_start": 275,
          "cdna_end": null,
          "cdna_length": 6230,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.252G>A",
          "hgvs_p": "p.Leu84Leu",
          "transcript": "XM_006712299.5",
          "protein_id": "XP_006712362.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1350,
          "cds_start": 252,
          "cds_end": null,
          "cds_length": 4053,
          "cdna_start": 275,
          "cdna_end": null,
          "cdna_length": 6122,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "c.252G>A",
          "hgvs_p": "p.Leu84Leu",
          "transcript": "XM_011510655.4",
          "protein_id": "XP_011508957.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1323,
          "cds_start": 252,
          "cds_end": null,
          "cds_length": 3972,
          "cdna_start": 275,
          "cdna_end": null,
          "cdna_length": 6041,
          "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": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.225G>A",
          "hgvs_p": null,
          "transcript": "ENST00000317935.10",
          "protein_id": "ENSP00000314650.6",
          "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": 5479,
          "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": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.368G>A",
          "hgvs_p": null,
          "transcript": "ENST00000438642.6",
          "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": 4010,
          "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": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.179G>A",
          "hgvs_p": null,
          "transcript": "ENST00000602629.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": 5304,
          "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": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.366G>A",
          "hgvs_p": null,
          "transcript": "NR_045682.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": 6335,
          "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": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.366G>A",
          "hgvs_p": null,
          "transcript": "NR_045683.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": 6244,
          "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": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO3B",
          "gene_hgnc_id": 15576,
          "hgvs_c": "n.366G>A",
          "hgvs_p": null,
          "transcript": "NR_045684.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": 6163,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000308085",
          "gene_hgnc_id": null,
          "hgvs_c": "n.75+21578C>T",
          "hgvs_p": null,
          "transcript": "ENST00000830972.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": 322,
          "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": "ENSG00000308085",
          "gene_hgnc_id": null,
          "hgvs_c": "n.204+9057C>T",
          "hgvs_p": null,
          "transcript": "ENST00000830973.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": 511,
          "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": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000308085",
          "gene_hgnc_id": null,
          "hgvs_c": "n.125+9057C>T",
          "hgvs_p": null,
          "transcript": "ENST00000830974.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": 432,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MYO3B",
      "gene_hgnc_id": 15576,
      "dbsnp": "rs775392274",
      "frequency_reference_population": 0.0000027375172,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000273752,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 4,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.3449999988079071,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.345,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.42,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.507,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP7",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP7"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_138995.5",
          "gene_symbol": "MYO3B",
          "hgnc_id": 15576,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.225G>A",
          "hgvs_p": "p.Leu75Leu"
        },
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000830972.1",
          "gene_symbol": "ENSG00000308085",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.75+21578C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}