← 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-47973422-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 47973422,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_001844.5",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 54,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4449G>A",
          "hgvs_p": "p.Pro1483Pro",
          "transcript": "NM_001844.5",
          "protein_id": "NP_001835.3",
          "transcript_support_level": null,
          "aa_start": 1483,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 4449,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 4604,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "ENST00000380518.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 54,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4449G>A",
          "hgvs_p": "p.Pro1483Pro",
          "transcript": "ENST00000380518.8",
          "protein_id": "ENSP00000369889.3",
          "transcript_support_level": 1,
          "aa_start": 1483,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 4449,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 4604,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "NM_001844.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 53,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4242G>A",
          "hgvs_p": "p.Pro1414Pro",
          "transcript": "ENST00000337299.7",
          "protein_id": "ENSP00000338213.6",
          "transcript_support_level": 1,
          "aa_start": 1414,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 4242,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 4427,
          "cdna_end": null,
          "cdna_length": 4442,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 53,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4242G>A",
          "hgvs_p": "p.Pro1414Pro",
          "transcript": "NM_033150.3",
          "protein_id": "NP_149162.2",
          "transcript_support_level": null,
          "aa_start": 1414,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 4242,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 4397,
          "cdna_end": null,
          "cdna_length": 4852,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 56,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4593G>A",
          "hgvs_p": "p.Pro1531Pro",
          "transcript": "XM_017018828.1",
          "protein_id": "XP_016874317.1",
          "transcript_support_level": null,
          "aa_start": 1531,
          "aa_end": null,
          "aa_length": 1535,
          "cds_start": 4593,
          "cds_end": null,
          "cds_length": 4608,
          "cdna_start": 4715,
          "cdna_end": null,
          "cdna_length": 5170,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 56,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4590G>A",
          "hgvs_p": "p.Pro1530Pro",
          "transcript": "XM_017018829.1",
          "protein_id": "XP_016874318.1",
          "transcript_support_level": null,
          "aa_start": 1530,
          "aa_end": null,
          "aa_length": 1534,
          "cds_start": 4590,
          "cds_end": null,
          "cds_length": 4605,
          "cdna_start": 4712,
          "cdna_end": null,
          "cdna_length": 5167,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 55,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.4383G>A",
          "hgvs_p": "p.Pro1461Pro",
          "transcript": "XM_017018830.1",
          "protein_id": "XP_016874319.1",
          "transcript_support_level": null,
          "aa_start": 1461,
          "aa_end": null,
          "aa_length": 1465,
          "cds_start": 4383,
          "cds_end": null,
          "cds_length": 4398,
          "cdna_start": 4505,
          "cdna_end": null,
          "cdna_length": 4960,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 54,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3903G>A",
          "hgvs_p": "p.Pro1301Pro",
          "transcript": "XM_017018831.3",
          "protein_id": "XP_016874320.1",
          "transcript_support_level": null,
          "aa_start": 1301,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 3903,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 4933,
          "cdna_end": null,
          "cdna_length": 5388,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 54,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3903G>A",
          "hgvs_p": "p.Pro1301Pro",
          "transcript": "XM_047428315.1",
          "protein_id": "XP_047284271.1",
          "transcript_support_level": null,
          "aa_start": 1301,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 3903,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 4382,
          "cdna_end": null,
          "cdna_length": 4837,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "n.3535G>A",
          "hgvs_p": null,
          "transcript": "ENST00000493991.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3756,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL2A1",
      "gene_hgnc_id": 2200,
      "dbsnp": "rs41272771",
      "frequency_reference_population": 0.00061211566,
      "hom_count_reference_population": 5,
      "allele_count_reference_population": 988,
      "gnomad_exomes_af": 0.000335866,
      "gnomad_genomes_af": 0.00326587,
      "gnomad_exomes_ac": 491,
      "gnomad_genomes_ac": 497,
      "gnomad_exomes_homalt": 2,
      "gnomad_genomes_homalt": 3,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6499999761581421,
      "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.65,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.397,
      "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": -21,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -21,
          "benign_score": 21,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_001844.5",
          "gene_symbol": "COL2A1",
          "hgnc_id": 2200,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.4449G>A",
          "hgvs_p": "p.Pro1483Pro"
        }
      ],
      "clinvar_disease": "Connective tissue disorder,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "not specified|not provided|Connective tissue disorder",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}