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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 20204237,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_002997.5",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met",
          "transcript": "NM_002997.5",
          "protein_id": "NP_002988.4",
          "transcript_support_level": null,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": 203,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": 466,
          "cdna_end": null,
          "cdna_length": 3165,
          "mane_select": "ENST00000254351.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_002997.5"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met",
          "transcript": "ENST00000254351.9",
          "protein_id": "ENSP00000254351.4",
          "transcript_support_level": 1,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": 203,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": 466,
          "cdna_end": null,
          "cdna_length": 3165,
          "mane_select": "NM_002997.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000254351.9"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met",
          "transcript": "ENST00000403076.5",
          "protein_id": "ENSP00000384613.1",
          "transcript_support_level": 1,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 169,
          "cds_start": 203,
          "cds_end": null,
          "cds_length": 510,
          "cdna_start": 432,
          "cdna_end": null,
          "cdna_length": 1523,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000403076.5"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met",
          "transcript": "NM_001006946.2",
          "protein_id": "NP_001006947.2",
          "transcript_support_level": null,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": 203,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": 636,
          "cdna_end": null,
          "cdna_length": 3335,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001006946.2"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met",
          "transcript": "ENST00000381150.5",
          "protein_id": "ENSP00000370542.1",
          "transcript_support_level": 5,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": 203,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": 594,
          "cdna_end": null,
          "cdna_length": 3291,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000381150.5"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.197C>T",
          "hgvs_p": "p.Thr66Met",
          "transcript": "ENST00000917369.1",
          "protein_id": "ENSP00000587428.1",
          "transcript_support_level": null,
          "aa_start": 66,
          "aa_end": null,
          "aa_length": 308,
          "cds_start": 197,
          "cds_end": null,
          "cds_length": 927,
          "cdna_start": 573,
          "cdna_end": null,
          "cdna_length": 2580,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000917369.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.227C>T",
          "hgvs_p": "p.Thr76Met",
          "transcript": "ENST00000429035.1",
          "protein_id": "ENSP00000400773.1",
          "transcript_support_level": 3,
          "aa_start": 76,
          "aa_end": null,
          "aa_length": 214,
          "cds_start": 227,
          "cds_end": null,
          "cds_length": 646,
          "cdna_start": 227,
          "cdna_end": null,
          "cdna_length": 646,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000429035.1"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.275C>T",
          "hgvs_p": "p.Thr92Met",
          "transcript": "XM_005262620.5",
          "protein_id": "XP_005262677.1",
          "transcript_support_level": null,
          "aa_start": 92,
          "aa_end": null,
          "aa_length": 334,
          "cds_start": 275,
          "cds_end": null,
          "cds_length": 1005,
          "cdna_start": 373,
          "cdna_end": null,
          "cdna_length": 3072,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262620.5"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.188C>T",
          "hgvs_p": "p.Thr63Met",
          "transcript": "XM_005262621.3",
          "protein_id": "XP_005262678.3",
          "transcript_support_level": null,
          "aa_start": 63,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 188,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 225,
          "cdna_end": null,
          "cdna_length": 2924,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262621.3"
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.149C>T",
          "hgvs_p": "p.Thr50Met",
          "transcript": "XM_005262622.3",
          "protein_id": "XP_005262679.1",
          "transcript_support_level": null,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 292,
          "cds_start": 149,
          "cds_end": null,
          "cds_length": 879,
          "cdna_start": 339,
          "cdna_end": null,
          "cdna_length": 3038,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262622.3"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.149-33C>T",
          "hgvs_p": null,
          "transcript": "ENST00000852541.1",
          "protein_id": "ENSP00000522600.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 281,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 846,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3079,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852541.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.143-33C>T",
          "hgvs_p": null,
          "transcript": "ENST00000852542.1",
          "protein_id": "ENSP00000522601.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 279,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 840,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3068,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000852542.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "c.149-339C>T",
          "hgvs_p": null,
          "transcript": "ENST00000970834.1",
          "protein_id": "ENSP00000640893.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 179,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 540,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2009,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000970834.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "n.*192C>T",
          "hgvs_p": null,
          "transcript": "ENST00000447124.1",
          "protein_id": "ENSP00000390201.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 591,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000447124.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "n.323C>T",
          "hgvs_p": null,
          "transcript": "ENST00000482879.5",
          "protein_id": null,
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 558,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000482879.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SDC1",
          "gene_hgnc_id": 10658,
          "hgvs_c": "n.*192C>T",
          "hgvs_p": null,
          "transcript": "ENST00000447124.1",
          "protein_id": "ENSP00000390201.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 591,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000447124.1"
        }
      ],
      "gene_symbol": "SDC1",
      "gene_hgnc_id": 10658,
      "dbsnp": "rs141315088",
      "frequency_reference_population": 0.0031977845,
      "hom_count_reference_population": 40,
      "allele_count_reference_population": 5097,
      "gnomad_exomes_af": 0.00320934,
      "gnomad_genomes_af": 0.00308424,
      "gnomad_exomes_ac": 4643,
      "gnomad_genomes_ac": 454,
      "gnomad_exomes_homalt": 36,
      "gnomad_genomes_homalt": 4,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.00267675518989563,
      "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.034,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.065,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.55,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.703,
      "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": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_002997.5",
          "gene_symbol": "SDC1",
          "hgnc_id": 10658,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.203C>T",
          "hgvs_p": "p.Thr68Met"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.