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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 47994041,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_001844.5",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.823C>T",
          "hgvs_p": "p.Arg275Cys",
          "transcript": "NM_001844.5",
          "protein_id": "NP_001835.3",
          "transcript_support_level": null,
          "aa_start": 275,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 823,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 978,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "ENST00000380518.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.823C>T",
          "hgvs_p": "p.Arg275Cys",
          "transcript": "ENST00000380518.8",
          "protein_id": "ENSP00000369889.3",
          "transcript_support_level": 1,
          "aa_start": 275,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 823,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 978,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "NM_001844.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.616C>T",
          "hgvs_p": "p.Arg206Cys",
          "transcript": "ENST00000337299.7",
          "protein_id": "ENSP00000338213.6",
          "transcript_support_level": 1,
          "aa_start": 206,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 616,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 801,
          "cdna_end": null,
          "cdna_length": 4442,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.616C>T",
          "hgvs_p": "p.Arg206Cys",
          "transcript": "NM_033150.3",
          "protein_id": "NP_149162.2",
          "transcript_support_level": null,
          "aa_start": 206,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 616,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 771,
          "cdna_end": null,
          "cdna_length": 4852,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.967C>T",
          "hgvs_p": "p.Arg323Cys",
          "transcript": "XM_017018828.1",
          "protein_id": "XP_016874317.1",
          "transcript_support_level": null,
          "aa_start": 323,
          "aa_end": null,
          "aa_length": 1535,
          "cds_start": 967,
          "cds_end": null,
          "cds_length": 4608,
          "cdna_start": 1089,
          "cdna_end": null,
          "cdna_length": 5170,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.964C>T",
          "hgvs_p": "p.Arg322Cys",
          "transcript": "XM_017018829.1",
          "protein_id": "XP_016874318.1",
          "transcript_support_level": null,
          "aa_start": 322,
          "aa_end": null,
          "aa_length": 1534,
          "cds_start": 964,
          "cds_end": null,
          "cds_length": 4605,
          "cdna_start": 1086,
          "cdna_end": null,
          "cdna_length": 5167,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.757C>T",
          "hgvs_p": "p.Arg253Cys",
          "transcript": "XM_017018830.1",
          "protein_id": "XP_016874319.1",
          "transcript_support_level": null,
          "aa_start": 253,
          "aa_end": null,
          "aa_length": 1465,
          "cds_start": 757,
          "cds_end": null,
          "cds_length": 4398,
          "cdna_start": 879,
          "cdna_end": null,
          "cdna_length": 4960,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.277C>T",
          "hgvs_p": "p.Arg93Cys",
          "transcript": "XM_017018831.3",
          "protein_id": "XP_016874320.1",
          "transcript_support_level": null,
          "aa_start": 93,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 277,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 1307,
          "cdna_end": null,
          "cdna_length": 5388,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.277C>T",
          "hgvs_p": "p.Arg93Cys",
          "transcript": "XM_047428315.1",
          "protein_id": "XP_047284271.1",
          "transcript_support_level": null,
          "aa_start": 93,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 277,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 756,
          "cdna_end": null,
          "cdna_length": 4837,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL2A1",
      "gene_hgnc_id": 2200,
      "dbsnp": "rs121912876",
      "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.9774771928787231,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.936,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9753,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.51,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.914,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.03,
      "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": 17,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PP2,PP3_Strong,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 17,
          "benign_score": 0,
          "pathogenic_score": 17,
          "criteria": [
            "PM1",
            "PM2",
            "PP2",
            "PP3_Strong",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001844.5",
          "gene_symbol": "COL2A1",
          "hgnc_id": 2200,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.823C>T",
          "hgvs_p": "p.Arg275Cys"
        }
      ],
      "clinvar_disease": "Acetabular dysplasia,Achondrogenesis type II,Spondyloepiphyseal dysplasia with metatarsal shortening,Stickler syndrome type 1,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:7",
      "phenotype_combined": "Stickler syndrome type 1|not provided|Spondyloepiphyseal dysplasia with metatarsal shortening|Acetabular dysplasia|Achondrogenesis type II",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}