← 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: 19-50436069-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 50436069,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_004533.4",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "NM_004533.4",
          "protein_id": "NP_004524.3",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1141,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3426,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000357701.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_004533.4"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000357701.6",
          "protein_id": "ENSP00000350332.4",
          "transcript_support_level": 1,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1141,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3426,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_004533.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000357701.6"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966357.1",
          "protein_id": "ENSP00000636416.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1196,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3591,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966357.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.383C>T",
          "hgvs_p": "p.Thr128Ile",
          "transcript": "ENST00000966353.1",
          "protein_id": "ENSP00000636412.1",
          "transcript_support_level": null,
          "aa_start": 128,
          "aa_end": null,
          "aa_length": 1184,
          "cds_start": 383,
          "cds_end": null,
          "cds_length": 3555,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966353.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966355.1",
          "protein_id": "ENSP00000636414.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1163,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3492,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966355.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.251C>T",
          "hgvs_p": "p.Thr84Ile",
          "transcript": "ENST00000966358.1",
          "protein_id": "ENSP00000636417.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1162,
          "cds_start": 251,
          "cds_end": null,
          "cds_length": 3489,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966358.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966361.1",
          "protein_id": "ENSP00000636420.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1155,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3468,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966361.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.251C>T",
          "hgvs_p": "p.Thr84Ile",
          "transcript": "ENST00000966352.1",
          "protein_id": "ENSP00000636411.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 1140,
          "cds_start": 251,
          "cds_end": null,
          "cds_length": 3423,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966352.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966359.1",
          "protein_id": "ENSP00000636418.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1121,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3366,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966359.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966354.1",
          "protein_id": "ENSP00000636413.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1118,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3357,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966354.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.164C>T",
          "hgvs_p": "p.Thr55Ile",
          "transcript": "ENST00000966356.1",
          "protein_id": "ENSP00000636415.1",
          "transcript_support_level": null,
          "aa_start": 55,
          "aa_end": null,
          "aa_length": 1111,
          "cds_start": 164,
          "cds_end": null,
          "cds_length": 3336,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966356.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966360.1",
          "protein_id": "ENSP00000636419.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1096,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3291,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966360.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYBPC2",
          "gene_hgnc_id": 7550,
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile",
          "transcript": "ENST00000966351.1",
          "protein_id": "ENSP00000636410.1",
          "transcript_support_level": null,
          "aa_start": 85,
          "aa_end": null,
          "aa_length": 1042,
          "cds_start": 254,
          "cds_end": null,
          "cds_length": 3129,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000966351.1"
        }
      ],
      "gene_symbol": "MYBPC2",
      "gene_hgnc_id": 7550,
      "dbsnp": "rs202201938",
      "frequency_reference_population": 0.000002524462,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000209454,
      "gnomad_genomes_af": 0.00000657013,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.09754657745361328,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.055,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1895,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.51,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.139,
      "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": "NM_004533.4",
          "gene_symbol": "MYBPC2",
          "hgnc_id": 7550,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.254C>T",
          "hgvs_p": "p.Thr85Ile"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}