← 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-20619002-GGC-CGA (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 0,
          "criteria": [],
          "effects": [
            "missense_variant"
          ],
          "gene_symbol": "HS1BP3",
          "hgnc_id": 24979,
          "hgvs_c": "c.1162_1164delGCCinsTCG",
          "hgvs_p": "p.Ala388Ser",
          "inheritance_mode": "AR",
          "pathogenic_score": 0,
          "score": 0,
          "transcript": "NM_022460.4",
          "verdict": "Uncertain_significance"
        }
      ],
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "",
      "acmg_score": 0,
      "allele_count_reference_population": 0,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "CGA",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": null,
      "bayesdelnoaf_score": null,
      "chr": "2",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": null,
      "computational_score_selected": null,
      "computational_source_selected": null,
      "consequences": [
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 392,
          "aa_ref": "A",
          "aa_start": 388,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2383,
          "cdna_start": 1199,
          "cds_end": null,
          "cds_length": 1179,
          "cds_start": 1162,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_022460.4",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.1162_1164delGCCinsTCG",
          "hgvs_p": "p.Ala388Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000304031.8",
          "protein_coding": true,
          "protein_id": "NP_071905.3",
          "strand": false,
          "transcript": "NM_022460.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 392,
          "aa_ref": "A",
          "aa_start": 388,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 2383,
          "cdna_start": 1199,
          "cds_end": null,
          "cds_length": 1179,
          "cds_start": 1162,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000304031.8",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.1162_1164delGCCinsTCG",
          "hgvs_p": "p.Ala388Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_022460.4",
          "protein_coding": true,
          "protein_id": "ENSP00000305193.3",
          "strand": false,
          "transcript": "ENST00000304031.8",
          "transcript_support_level": 1
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 428,
          "aa_ref": "A",
          "aa_start": 424,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2546,
          "cdna_start": 1361,
          "cds_end": null,
          "cds_length": 1287,
          "cds_start": 1270,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000897119.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.1270_1272delGCCinsTCG",
          "hgvs_p": "p.Ala424Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000567178.1",
          "strand": false,
          "transcript": "ENST00000897119.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 406,
          "aa_ref": "A",
          "aa_start": 402,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2412,
          "cdna_start": 1215,
          "cds_end": null,
          "cds_length": 1221,
          "cds_start": 1204,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000897121.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.1204_1206delGCCinsTCG",
          "hgvs_p": "p.Ala402Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000567180.1",
          "strand": false,
          "transcript": "ENST00000897121.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 195,
          "aa_ref": "A",
          "aa_start": 191,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1839,
          "cdna_start": 655,
          "cds_end": null,
          "cds_length": 588,
          "cds_start": 571,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000897120.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.571_573delGCCinsTCG",
          "hgvs_p": "p.Ala191Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000567179.1",
          "strand": false,
          "transcript": "ENST00000897120.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 122,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 841,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 370,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 6,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000446825.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.302+4892_302+4894delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": 5,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000389960.2",
          "strand": false,
          "transcript": "ENST00000446825.1",
          "transcript_support_level": 3
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 73,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 414,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 222,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000415264.5",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.176+4892_176+4894delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000387364.1",
          "strand": false,
          "transcript": "ENST00000415264.5",
          "transcript_support_level": 3
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 396,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2322,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1191,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017004696.3",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.920+4892_920+4894delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016860185.1",
          "strand": false,
          "transcript": "XM_017004696.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 395,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2861,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1188,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017004697.3",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.920+4892_920+4894delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016860186.1",
          "strand": false,
          "transcript": "XM_017004697.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 388,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1217,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1167,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 8,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017004698.2",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "c.920+4892_920+4894delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016860187.1",
          "strand": false,
          "transcript": "XM_017004698.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7728,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 6,
          "exon_rank": 6,
          "exon_rank_end": null,
          "feature": "ENST00000651498.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "n.*603_*605delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000498575.1",
          "strand": false,
          "transcript": "ENST00000651498.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7728,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 6,
          "exon_rank": 6,
          "exon_rank_end": null,
          "feature": "ENST00000651498.1",
          "gene_hgnc_id": 24979,
          "gene_symbol": "HS1BP3",
          "hgvs_c": "n.*603_*605delGCCinsTCG",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000498575.1",
          "strand": false,
          "transcript": "ENST00000651498.1",
          "transcript_support_level": null
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": null,
      "effect": "missense_variant",
      "frequency_reference_population": null,
      "gene_hgnc_id": 24979,
      "gene_symbol": "HS1BP3",
      "gnomad_exomes_ac": null,
      "gnomad_exomes_af": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_ac": null,
      "gnomad_genomes_af": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_heteroplasmic": null,
      "gnomad_mito_homoplasmic": null,
      "hom_count_reference_population": 0,
      "mitotip_prediction": null,
      "mitotip_score": null,
      "pathogenicity_classification_combined": null,
      "phenotype_combined": null,
      "phylop100way_prediction": "Benign",
      "phylop100way_score": 2.128,
      "pos": 20619002,
      "ref": "GGC",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": null,
      "splice_score_selected": null,
      "splice_source_selected": null,
      "spliceai_max_prediction": null,
      "spliceai_max_score": null,
      "transcript": "NM_022460.4"
    }
  ]
}
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.