← 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: 15-74897589-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "15",
      "pos": 74897589,
      "ref": "A",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_002435.3",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.1131A>T",
          "hgvs_p": "p.Val377Val",
          "transcript": "NM_002435.3",
          "protein_id": "NP_002426.1",
          "transcript_support_level": null,
          "aa_start": 377,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": 1131,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": 1163,
          "cdna_end": null,
          "cdna_length": 5793,
          "mane_select": "ENST00000352410.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.1131A>T",
          "hgvs_p": "p.Val377Val",
          "transcript": "ENST00000352410.9",
          "protein_id": "ENSP00000318318.6",
          "transcript_support_level": 1,
          "aa_start": 377,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": 1131,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": 1163,
          "cdna_end": null,
          "cdna_length": 5793,
          "mane_select": "NM_002435.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.948A>T",
          "hgvs_p": "p.Val316Val",
          "transcript": "ENST00000323744.10",
          "protein_id": "ENSP00000318192.6",
          "transcript_support_level": 1,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 362,
          "cds_start": 948,
          "cds_end": null,
          "cds_length": 1089,
          "cdna_start": 980,
          "cdna_end": null,
          "cdna_length": 1619,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.*58A>T",
          "hgvs_p": null,
          "transcript": "ENST00000566377.5",
          "protein_id": "ENSP00000455405.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 287,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 864,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2809,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.1071A>T",
          "hgvs_p": "p.Val357Val",
          "transcript": "NM_001330372.2",
          "protein_id": "NP_001317301.1",
          "transcript_support_level": null,
          "aa_start": 357,
          "aa_end": null,
          "aa_length": 403,
          "cds_start": 1071,
          "cds_end": null,
          "cds_length": 1212,
          "cdna_start": 1252,
          "cdna_end": null,
          "cdna_length": 5882,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.1071A>T",
          "hgvs_p": "p.Val357Val",
          "transcript": "ENST00000563786.5",
          "protein_id": "ENSP00000455241.1",
          "transcript_support_level": 5,
          "aa_start": 357,
          "aa_end": null,
          "aa_length": 403,
          "cds_start": 1071,
          "cds_end": null,
          "cds_length": 1212,
          "cdna_start": 1252,
          "cdna_end": null,
          "cdna_length": 1707,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.981A>T",
          "hgvs_p": "p.Val327Val",
          "transcript": "NM_001289156.2",
          "protein_id": "NP_001276085.1",
          "transcript_support_level": null,
          "aa_start": 327,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 981,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 1035,
          "cdna_end": null,
          "cdna_length": 5665,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.981A>T",
          "hgvs_p": "p.Val327Val",
          "transcript": "ENST00000535694.5",
          "protein_id": "ENSP00000440447.1",
          "transcript_support_level": 2,
          "aa_start": 327,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 981,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 1035,
          "cdna_end": null,
          "cdna_length": 1523,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.948A>T",
          "hgvs_p": "p.Val316Val",
          "transcript": "NM_001289157.2",
          "protein_id": "NP_001276086.1",
          "transcript_support_level": null,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 362,
          "cds_start": 948,
          "cds_end": null,
          "cds_length": 1089,
          "cdna_start": 980,
          "cdna_end": null,
          "cdna_length": 5610,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "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": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.306A>T",
          "hgvs_p": "p.Val102Val",
          "transcript": "ENST00000562800.5",
          "protein_id": "ENSP00000457619.1",
          "transcript_support_level": 3,
          "aa_start": 102,
          "aa_end": null,
          "aa_length": 124,
          "cds_start": 306,
          "cds_end": null,
          "cds_length": 375,
          "cdna_start": 338,
          "cdna_end": null,
          "cdna_length": 407,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.1119A>T",
          "hgvs_p": "p.Val373Val",
          "transcript": "XM_047432536.1",
          "protein_id": "XP_047288492.1",
          "transcript_support_level": null,
          "aa_start": 373,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 1119,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1275,
          "cdna_end": null,
          "cdna_length": 5905,
          "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": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "n.2156A>T",
          "hgvs_p": null,
          "transcript": "ENST00000566556.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "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": 2795,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.*58A>T",
          "hgvs_p": null,
          "transcript": "NM_001289155.2",
          "protein_id": "NP_001276084.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 287,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 864,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5584,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.*58A>T",
          "hgvs_p": null,
          "transcript": "ENST00000567177.1",
          "protein_id": "ENSP00000457013.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 213,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 642,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1068,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MPI",
          "gene_hgnc_id": 7216,
          "hgvs_c": "c.*58A>T",
          "hgvs_p": null,
          "transcript": "XM_047432537.1",
          "protein_id": "XP_047288493.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 283,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 852,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5696,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MPI",
      "gene_hgnc_id": 7216,
      "dbsnp": "rs1130741",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6299999952316284,
      "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.63,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.478,
      "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": -3,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -3,
          "benign_score": 5,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_002435.3",
          "gene_symbol": "MPI",
          "hgnc_id": 7216,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1131A>T",
          "hgvs_p": "p.Val377Val"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}