← 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: 12-47978345-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 47978345,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_001844.5",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2949C>T",
          "hgvs_p": "p.Val983Val",
          "transcript": "NM_001844.5",
          "protein_id": "NP_001835.3",
          "transcript_support_level": null,
          "aa_start": 983,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 2949,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000380518.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001844.5"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2949C>T",
          "hgvs_p": "p.Val983Val",
          "transcript": "ENST00000380518.8",
          "protein_id": "ENSP00000369889.3",
          "transcript_support_level": 1,
          "aa_start": 983,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 2949,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001844.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000380518.8"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2742C>T",
          "hgvs_p": "p.Val914Val",
          "transcript": "ENST00000337299.7",
          "protein_id": "ENSP00000338213.6",
          "transcript_support_level": 1,
          "aa_start": 914,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 2742,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000337299.7"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2952C>T",
          "hgvs_p": "p.Val984Val",
          "transcript": "ENST00000928357.1",
          "protein_id": "ENSP00000598416.1",
          "transcript_support_level": null,
          "aa_start": 984,
          "aa_end": null,
          "aa_length": 1488,
          "cds_start": 2952,
          "cds_end": null,
          "cds_length": 4467,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928357.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2742C>T",
          "hgvs_p": "p.Val914Val",
          "transcript": "NM_033150.3",
          "protein_id": "NP_149162.2",
          "transcript_support_level": null,
          "aa_start": 914,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 2742,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_033150.3"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3093C>T",
          "hgvs_p": "p.Val1031Val",
          "transcript": "XM_017018828.1",
          "protein_id": "XP_016874317.1",
          "transcript_support_level": null,
          "aa_start": 1031,
          "aa_end": null,
          "aa_length": 1535,
          "cds_start": 3093,
          "cds_end": null,
          "cds_length": 4608,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017018828.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3090C>T",
          "hgvs_p": "p.Val1030Val",
          "transcript": "XM_017018829.1",
          "protein_id": "XP_016874318.1",
          "transcript_support_level": null,
          "aa_start": 1030,
          "aa_end": null,
          "aa_length": 1534,
          "cds_start": 3090,
          "cds_end": null,
          "cds_length": 4605,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017018829.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 44,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2883C>T",
          "hgvs_p": "p.Val961Val",
          "transcript": "XM_017018830.1",
          "protein_id": "XP_016874319.1",
          "transcript_support_level": null,
          "aa_start": 961,
          "aa_end": null,
          "aa_length": 1465,
          "cds_start": 2883,
          "cds_end": null,
          "cds_length": 4398,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017018830.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2403C>T",
          "hgvs_p": "p.Val801Val",
          "transcript": "XM_017018831.3",
          "protein_id": "XP_016874320.1",
          "transcript_support_level": null,
          "aa_start": 801,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 2403,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017018831.3"
        },
        {
          "aa_ref": "V",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.2403C>T",
          "hgvs_p": "p.Val801Val",
          "transcript": "XM_047428315.1",
          "protein_id": "XP_047284271.1",
          "transcript_support_level": null,
          "aa_start": 801,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 2403,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047428315.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "n.2035C>T",
          "hgvs_p": null,
          "transcript": "ENST00000493991.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000493991.5"
        }
      ],
      "gene_symbol": "COL2A1",
      "gene_hgnc_id": 2200,
      "dbsnp": "rs201719788",
      "frequency_reference_population": 0.00010098707,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 163,
      "gnomad_exomes_af": 0.000103302,
      "gnomad_genomes_af": 0.0000787732,
      "gnomad_exomes_ac": 151,
      "gnomad_genomes_ac": 12,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5299999713897705,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.53,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.083,
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong,BP6,BP7",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001844.5",
          "gene_symbol": "COL2A1",
          "hgnc_id": 2200,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.2949C>T",
          "hgvs_p": "p.Val983Val"
        }
      ],
      "clinvar_disease": "Stickler syndrome type 1,Type II Collagenopathies,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:2 LB:4",
      "phenotype_combined": "not specified|Stickler syndrome type 1|not provided|Type II Collagenopathies",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}