← 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: 20-59867718-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 59867718,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_014258.4",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys",
          "transcript": "NM_014258.4",
          "protein_id": "NP_055073.2",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1530,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4593,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000357552.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_014258.4"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys",
          "transcript": "ENST00000357552.8",
          "protein_id": "ENSP00000350162.2",
          "transcript_support_level": 1,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1530,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4593,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_014258.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000357552.8"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys",
          "transcript": "ENST00000371001.6",
          "protein_id": "ENSP00000360040.2",
          "transcript_support_level": 1,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1530,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4593,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000371001.6"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.176G>A",
          "hgvs_p": "p.Arg59Lys",
          "transcript": "ENST00000412613.1",
          "protein_id": "ENSP00000404358.1",
          "transcript_support_level": 3,
          "aa_start": 59,
          "aa_end": null,
          "aa_length": 207,
          "cds_start": 176,
          "cds_end": null,
          "cds_length": 625,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000412613.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4139G>A",
          "hgvs_p": "p.Arg1380Lys",
          "transcript": "XM_011528487.4",
          "protein_id": "XP_011526789.1",
          "transcript_support_level": null,
          "aa_start": 1380,
          "aa_end": null,
          "aa_length": 1537,
          "cds_start": 4139,
          "cds_end": null,
          "cds_length": 4614,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011528487.4"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4139G>A",
          "hgvs_p": "p.Arg1380Lys",
          "transcript": "XM_011528488.3",
          "protein_id": "XP_011526790.1",
          "transcript_support_level": null,
          "aa_start": 1380,
          "aa_end": null,
          "aa_length": 1537,
          "cds_start": 4139,
          "cds_end": null,
          "cds_length": 4614,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011528488.3"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4139G>A",
          "hgvs_p": "p.Arg1380Lys",
          "transcript": "XM_017027586.2",
          "protein_id": "XP_016883075.1",
          "transcript_support_level": null,
          "aa_start": 1380,
          "aa_end": null,
          "aa_length": 1537,
          "cds_start": 4139,
          "cds_end": null,
          "cds_length": 4614,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017027586.2"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4136G>A",
          "hgvs_p": "p.Arg1379Lys",
          "transcript": "XM_017027587.2",
          "protein_id": "XP_016883076.1",
          "transcript_support_level": null,
          "aa_start": 1379,
          "aa_end": null,
          "aa_length": 1536,
          "cds_start": 4136,
          "cds_end": null,
          "cds_length": 4611,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017027587.2"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys",
          "transcript": "XM_011528489.3",
          "protein_id": "XP_011526791.1",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1530,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4593,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011528489.3"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys",
          "transcript": "XM_047439825.1",
          "protein_id": "XP_047295781.1",
          "transcript_support_level": null,
          "aa_start": 1373,
          "aa_end": null,
          "aa_length": 1530,
          "cds_start": 4118,
          "cds_end": null,
          "cds_length": 4593,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439825.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 45,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.4115G>A",
          "hgvs_p": "p.Arg1372Lys",
          "transcript": "XM_011528490.4",
          "protein_id": "XP_011526792.1",
          "transcript_support_level": null,
          "aa_start": 1372,
          "aa_end": null,
          "aa_length": 1529,
          "cds_start": 4115,
          "cds_end": null,
          "cds_length": 4590,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011528490.4"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.3983G>A",
          "hgvs_p": "p.Arg1328Lys",
          "transcript": "XM_047439826.1",
          "protein_id": "XP_047295782.1",
          "transcript_support_level": null,
          "aa_start": 1328,
          "aa_end": null,
          "aa_length": 1485,
          "cds_start": 3983,
          "cds_end": null,
          "cds_length": 4458,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439826.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.3968G>A",
          "hgvs_p": "p.Arg1323Lys",
          "transcript": "XM_047439827.1",
          "protein_id": "XP_047295783.1",
          "transcript_support_level": null,
          "aa_start": 1323,
          "aa_end": null,
          "aa_length": 1480,
          "cds_start": 3968,
          "cds_end": null,
          "cds_length": 4443,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439827.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.3812G>A",
          "hgvs_p": "p.Arg1271Lys",
          "transcript": "XM_047439828.1",
          "protein_id": "XP_047295784.1",
          "transcript_support_level": null,
          "aa_start": 1271,
          "aa_end": null,
          "aa_length": 1428,
          "cds_start": 3812,
          "cds_end": null,
          "cds_length": 4287,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439828.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYCP2",
          "gene_hgnc_id": 11490,
          "hgvs_c": "c.3623G>A",
          "hgvs_p": "p.Arg1208Lys",
          "transcript": "XM_047439829.1",
          "protein_id": "XP_047295785.1",
          "transcript_support_level": null,
          "aa_start": 1208,
          "aa_end": null,
          "aa_length": 1365,
          "cds_start": 3623,
          "cds_end": null,
          "cds_length": 4098,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439829.1"
        }
      ],
      "gene_symbol": "SYCP2",
      "gene_hgnc_id": 11490,
      "dbsnp": "rs747228898",
      "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.0250379741191864,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.048,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0836,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.69,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.393,
      "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": -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_014258.4",
          "gene_symbol": "SYCP2",
          "hgnc_id": 11490,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.4118G>A",
          "hgvs_p": "p.Arg1373Lys"
        }
      ],
      "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
}