← 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: 7-94427629-CCCCCCTGGT-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 94427629,
      "ref": "CCCCCCTGGT",
      "alt": "C",
      "effect": "disruptive_inframe_deletion",
      "transcript": "NM_000089.4",
      "consequences": [
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3279_3287delTCCCCCTGG",
          "hgvs_p": "p.Pro1094_Gly1096del",
          "transcript": "NM_000089.4",
          "protein_id": "NP_000080.2",
          "transcript_support_level": null,
          "aa_start": 1093,
          "aa_end": null,
          "aa_length": 1366,
          "cds_start": 3279,
          "cds_end": null,
          "cds_length": 4101,
          "cdna_start": 3416,
          "cdna_end": null,
          "cdna_length": 5072,
          "mane_select": "ENST00000297268.11",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000089.4"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3279_3287delTCCCCCTGG",
          "hgvs_p": "p.Pro1094_Gly1096del",
          "transcript": "ENST00000297268.11",
          "protein_id": "ENSP00000297268.6",
          "transcript_support_level": 1,
          "aa_start": 1093,
          "aa_end": null,
          "aa_length": 1366,
          "cds_start": 3279,
          "cds_end": null,
          "cds_length": 4101,
          "cdna_start": 3416,
          "cdna_end": null,
          "cdna_length": 5072,
          "mane_select": "NM_000089.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000297268.11"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3276_3284delTCCCCCTGG",
          "hgvs_p": "p.Pro1093_Gly1095del",
          "transcript": "ENST00000959377.1",
          "protein_id": "ENSP00000629436.1",
          "transcript_support_level": null,
          "aa_start": 1092,
          "aa_end": null,
          "aa_length": 1365,
          "cds_start": 3276,
          "cds_end": null,
          "cds_length": 4098,
          "cdna_start": 3488,
          "cdna_end": null,
          "cdna_length": 5144,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959377.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3279_3287delTCCCCCTGG",
          "hgvs_p": "p.Pro1094_Gly1096del",
          "transcript": "ENST00000959379.1",
          "protein_id": "ENSP00000629438.1",
          "transcript_support_level": null,
          "aa_start": 1093,
          "aa_end": null,
          "aa_length": 1365,
          "cds_start": 3279,
          "cds_end": null,
          "cds_length": 4098,
          "cdna_start": 3416,
          "cdna_end": null,
          "cdna_length": 4550,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959379.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3264_3272delTCCCCCTGG",
          "hgvs_p": "p.Pro1089_Gly1091del",
          "transcript": "ENST00000959378.1",
          "protein_id": "ENSP00000629437.1",
          "transcript_support_level": null,
          "aa_start": 1088,
          "aa_end": null,
          "aa_length": 1361,
          "cds_start": 3264,
          "cds_end": null,
          "cds_length": 4086,
          "cdna_start": 3357,
          "cdna_end": null,
          "cdna_length": 5005,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959378.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.3225_3233delTCCCCCTGG",
          "hgvs_p": "p.Pro1076_Gly1078del",
          "transcript": "ENST00000959382.1",
          "protein_id": "ENSP00000629441.1",
          "transcript_support_level": null,
          "aa_start": 1075,
          "aa_end": null,
          "aa_length": 1348,
          "cds_start": 3225,
          "cds_end": null,
          "cds_length": 4047,
          "cdna_start": 3362,
          "cdna_end": null,
          "cdna_length": 4447,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959382.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 40,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.2649_2657delTCCCCCTGG",
          "hgvs_p": "p.Pro884_Gly886del",
          "transcript": "ENST00000959381.1",
          "protein_id": "ENSP00000629440.1",
          "transcript_support_level": null,
          "aa_start": 883,
          "aa_end": null,
          "aa_length": 1156,
          "cds_start": 2649,
          "cds_end": null,
          "cds_length": 3471,
          "cdna_start": 2786,
          "cdna_end": null,
          "cdna_length": 3871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959381.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.2046_2054delTCCCCCTGG",
          "hgvs_p": "p.Pro683_Gly685del",
          "transcript": "ENST00000959383.1",
          "protein_id": "ENSP00000629442.1",
          "transcript_support_level": null,
          "aa_start": 682,
          "aa_end": null,
          "aa_length": 955,
          "cds_start": 2046,
          "cds_end": null,
          "cds_length": 2868,
          "cdna_start": 2138,
          "cdna_end": null,
          "cdna_length": 3223,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959383.1"
        },
        {
          "aa_ref": "GPPG",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "c.1236_1244delTCCCCCTGG",
          "hgvs_p": "p.Pro413_Gly415del",
          "transcript": "ENST00000959380.1",
          "protein_id": "ENSP00000629439.1",
          "transcript_support_level": null,
          "aa_start": 412,
          "aa_end": null,
          "aa_length": 685,
          "cds_start": 1236,
          "cds_end": null,
          "cds_length": 2058,
          "cdna_start": 1329,
          "cdna_end": null,
          "cdna_length": 2465,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000959380.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "n.327_335delTCCCCCTGG",
          "hgvs_p": null,
          "transcript": "ENST00000464916.1",
          "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": 1123,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000464916.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "n.4060_4068delTCCCCCTGG",
          "hgvs_p": null,
          "transcript": "ENST00000481570.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": 5993,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000481570.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "n.*138_*146delCCCCCTGGT",
          "hgvs_p": null,
          "transcript": "ENST00000488121.1",
          "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": 380,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000488121.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A2",
          "gene_hgnc_id": 2198,
          "hgvs_c": "n.*123_*131delCCCCCTGGT",
          "hgvs_p": null,
          "transcript": "ENST00000492110.1",
          "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": 599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000492110.1"
        }
      ],
      "gene_symbol": "COL1A2",
      "gene_hgnc_id": 2198,
      "dbsnp": "rs74315103",
      "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": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 10.003,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 8,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM1,PM2,PM4,PP3,PP5",
      "acmg_by_gene": [
        {
          "score": 8,
          "benign_score": 0,
          "pathogenic_score": 8,
          "criteria": [
            "PM1",
            "PM2",
            "PM4",
            "PP3",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_000089.4",
          "gene_symbol": "COL1A2",
          "hgnc_id": 2198,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AD,AR,Unknown",
          "hgvs_c": "c.3279_3287delTCCCCCTGG",
          "hgvs_p": "p.Pro1094_Gly1096del"
        }
      ],
      "clinvar_disease": " dominant form,Osteogenesis imperfecta with normal sclerae",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Osteogenesis imperfecta with normal sclerae, dominant form",
      "pathogenicity_classification_combined": "Pathogenic",
      "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.