← 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: 1-33523348-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 33523348,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_001281956.2",
      "consequences": [
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10468A>G",
          "hgvs_p": "p.Met3490Val",
          "transcript": "NM_001281956.2",
          "protein_id": "NP_001268885.1",
          "transcript_support_level": null,
          "aa_start": 3490,
          "aa_end": null,
          "aa_length": 3631,
          "cds_start": 10468,
          "cds_end": null,
          "cds_length": 10896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000373381.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001281956.2"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10468A>G",
          "hgvs_p": "p.Met3490Val",
          "transcript": "ENST00000373381.9",
          "protein_id": "ENSP00000362479.4",
          "transcript_support_level": 1,
          "aa_start": 3490,
          "aa_end": null,
          "aa_length": 3631,
          "cds_start": 10468,
          "cds_end": null,
          "cds_length": 10896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001281956.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000373381.9"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 66,
          "exon_rank_end": null,
          "exon_count": 70,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10036A>G",
          "hgvs_p": "p.Met3346Val",
          "transcript": "ENST00000373388.7",
          "protein_id": "ENSP00000362486.3",
          "transcript_support_level": 1,
          "aa_start": 3346,
          "aa_end": null,
          "aa_length": 3487,
          "cds_start": 10036,
          "cds_end": null,
          "cds_length": 10464,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000373388.7"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10348A>G",
          "hgvs_p": "p.Met3450Val",
          "transcript": "ENST00000619121.4",
          "protein_id": "ENSP00000483463.1",
          "transcript_support_level": 5,
          "aa_start": 3450,
          "aa_end": null,
          "aa_length": 3591,
          "cds_start": 10348,
          "cds_end": null,
          "cds_length": 10776,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000619121.4"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 66,
          "exon_rank_end": null,
          "exon_count": 70,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10036A>G",
          "hgvs_p": "p.Met3346Val",
          "transcript": "NM_052896.5",
          "protein_id": "NP_443128.2",
          "transcript_support_level": null,
          "aa_start": 3346,
          "aa_end": null,
          "aa_length": 3487,
          "cds_start": 10036,
          "cds_end": null,
          "cds_length": 10464,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_052896.5"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 70,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10396A>G",
          "hgvs_p": "p.Met3466Val",
          "transcript": "XM_017000185.2",
          "protein_id": "XP_016855674.1",
          "transcript_support_level": null,
          "aa_start": 3466,
          "aa_end": null,
          "aa_length": 3607,
          "cds_start": 10396,
          "cds_end": null,
          "cds_length": 10824,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000185.2"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10396A>G",
          "hgvs_p": "p.Met3466Val",
          "transcript": "XM_047443607.1",
          "protein_id": "XP_047299563.1",
          "transcript_support_level": null,
          "aa_start": 3466,
          "aa_end": null,
          "aa_length": 3607,
          "cds_start": 10396,
          "cds_end": null,
          "cds_length": 10824,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443607.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10393A>G",
          "hgvs_p": "p.Met3465Val",
          "transcript": "XM_047443642.1",
          "protein_id": "XP_047299598.1",
          "transcript_support_level": null,
          "aa_start": 3465,
          "aa_end": null,
          "aa_length": 3606,
          "cds_start": 10393,
          "cds_end": null,
          "cds_length": 10821,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443642.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10276A>G",
          "hgvs_p": "p.Met3426Val",
          "transcript": "XM_047443656.1",
          "protein_id": "XP_047299612.1",
          "transcript_support_level": null,
          "aa_start": 3426,
          "aa_end": null,
          "aa_length": 3567,
          "cds_start": 10276,
          "cds_end": null,
          "cds_length": 10704,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443656.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 71,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10273A>G",
          "hgvs_p": "p.Met3425Val",
          "transcript": "XM_047443685.1",
          "protein_id": "XP_047299641.1",
          "transcript_support_level": null,
          "aa_start": 3425,
          "aa_end": null,
          "aa_length": 3566,
          "cds_start": 10273,
          "cds_end": null,
          "cds_length": 10701,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443685.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 67,
          "exon_rank_end": null,
          "exon_count": 68,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.10396A>G",
          "hgvs_p": "p.Met3466Val",
          "transcript": "XM_047443661.1",
          "protein_id": "XP_047299617.1",
          "transcript_support_level": null,
          "aa_start": 3466,
          "aa_end": null,
          "aa_length": 3506,
          "cds_start": 10396,
          "cds_end": null,
          "cds_length": 10521,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443661.1"
        },
        {
          "aa_ref": "M",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 61,
          "exon_rank_end": null,
          "exon_count": 65,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSMD2",
          "gene_hgnc_id": 19290,
          "hgvs_c": "c.9661A>G",
          "hgvs_p": "p.Met3221Val",
          "transcript": "XM_047443666.1",
          "protein_id": "XP_047299622.1",
          "transcript_support_level": null,
          "aa_start": 3221,
          "aa_end": null,
          "aa_length": 3362,
          "cds_start": 9661,
          "cds_end": null,
          "cds_length": 10089,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047443666.1"
        }
      ],
      "gene_symbol": "CSMD2",
      "gene_hgnc_id": 19290,
      "dbsnp": "rs750527237",
      "frequency_reference_population": 0.000012488199,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 20,
      "gnomad_exomes_af": 0.0000124185,
      "gnomad_genomes_af": 0.0000131527,
      "gnomad_exomes_ac": 18,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.028762727975845337,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.053,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0422,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.68,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.432,
      "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": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP6_Moderate",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 6,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001281956.2",
          "gene_symbol": "CSMD2",
          "hgnc_id": 19290,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.10468A>G",
          "hgvs_p": "p.Met3490Val"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}