← 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: 22-19353375-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 19353375,
      "ref": "T",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "NM_003325.4",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2829A>G",
          "hgvs_p": "p.Ala943Ala",
          "transcript": "NM_003325.4",
          "protein_id": "NP_003316.3",
          "transcript_support_level": null,
          "aa_start": 943,
          "aa_end": null,
          "aa_length": 1017,
          "cds_start": 2829,
          "cds_end": null,
          "cds_length": 3054,
          "cdna_start": 3086,
          "cdna_end": null,
          "cdna_length": 4053,
          "mane_select": "ENST00000263208.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_003325.4"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2829A>G",
          "hgvs_p": "p.Ala943Ala",
          "transcript": "ENST00000263208.5",
          "protein_id": "ENSP00000263208.5",
          "transcript_support_level": 1,
          "aa_start": 943,
          "aa_end": null,
          "aa_length": 1017,
          "cds_start": 2829,
          "cds_end": null,
          "cds_length": 3054,
          "cdna_start": 3086,
          "cdna_end": null,
          "cdna_length": 4053,
          "mane_select": "NM_003325.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000263208.5"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2208A>G",
          "hgvs_p": "p.Ala736Ala",
          "transcript": "ENST00000340170.8",
          "protein_id": "ENSP00000345350.4",
          "transcript_support_level": 1,
          "aa_start": 736,
          "aa_end": null,
          "aa_length": 810,
          "cds_start": 2208,
          "cds_end": null,
          "cds_length": 2433,
          "cdna_start": 2428,
          "cdna_end": null,
          "cdna_length": 3395,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000340170.8"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2979A>G",
          "hgvs_p": "p.Ala993Ala",
          "transcript": "ENST00000935861.1",
          "protein_id": "ENSP00000605920.1",
          "transcript_support_level": null,
          "aa_start": 993,
          "aa_end": null,
          "aa_length": 1067,
          "cds_start": 2979,
          "cds_end": null,
          "cds_length": 3204,
          "cdna_start": 3424,
          "cdna_end": null,
          "cdna_length": 4391,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935861.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2880A>G",
          "hgvs_p": "p.Ala960Ala",
          "transcript": "ENST00000935865.1",
          "protein_id": "ENSP00000605924.1",
          "transcript_support_level": null,
          "aa_start": 960,
          "aa_end": null,
          "aa_length": 1034,
          "cds_start": 2880,
          "cds_end": null,
          "cds_length": 3105,
          "cdna_start": 3133,
          "cdna_end": null,
          "cdna_length": 4105,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935865.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2754A>G",
          "hgvs_p": "p.Ala918Ala",
          "transcript": "ENST00000935869.1",
          "protein_id": "ENSP00000605928.1",
          "transcript_support_level": null,
          "aa_start": 918,
          "aa_end": null,
          "aa_length": 992,
          "cds_start": 2754,
          "cds_end": null,
          "cds_length": 2979,
          "cdna_start": 2989,
          "cdna_end": null,
          "cdna_length": 3956,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935869.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2715A>G",
          "hgvs_p": "p.Ala905Ala",
          "transcript": "ENST00000935870.1",
          "protein_id": "ENSP00000605929.1",
          "transcript_support_level": null,
          "aa_start": 905,
          "aa_end": null,
          "aa_length": 979,
          "cds_start": 2715,
          "cds_end": null,
          "cds_length": 2940,
          "cdna_start": 2833,
          "cdna_end": null,
          "cdna_length": 3800,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935870.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2667A>G",
          "hgvs_p": "p.Ala889Ala",
          "transcript": "ENST00000935868.1",
          "protein_id": "ENSP00000605927.1",
          "transcript_support_level": null,
          "aa_start": 889,
          "aa_end": null,
          "aa_length": 963,
          "cds_start": 2667,
          "cds_end": null,
          "cds_length": 2892,
          "cdna_start": 2912,
          "cdna_end": null,
          "cdna_length": 3879,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935868.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2643A>G",
          "hgvs_p": "p.Ala881Ala",
          "transcript": "ENST00000935866.1",
          "protein_id": "ENSP00000605925.1",
          "transcript_support_level": null,
          "aa_start": 881,
          "aa_end": null,
          "aa_length": 955,
          "cds_start": 2643,
          "cds_end": null,
          "cds_length": 2868,
          "cdna_start": 2900,
          "cdna_end": null,
          "cdna_length": 3867,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935866.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2631A>G",
          "hgvs_p": "p.Ala877Ala",
          "transcript": "ENST00000935863.1",
          "protein_id": "ENSP00000605922.1",
          "transcript_support_level": null,
          "aa_start": 877,
          "aa_end": null,
          "aa_length": 951,
          "cds_start": 2631,
          "cds_end": null,
          "cds_length": 2856,
          "cdna_start": 2904,
          "cdna_end": null,
          "cdna_length": 3871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935863.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2469A>G",
          "hgvs_p": "p.Ala823Ala",
          "transcript": "ENST00000935864.1",
          "protein_id": "ENSP00000605923.1",
          "transcript_support_level": null,
          "aa_start": 823,
          "aa_end": null,
          "aa_length": 897,
          "cds_start": 2469,
          "cds_end": null,
          "cds_length": 2694,
          "cdna_start": 2728,
          "cdna_end": null,
          "cdna_length": 3695,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935864.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2469A>G",
          "hgvs_p": "p.Ala823Ala",
          "transcript": "ENST00000935867.1",
          "protein_id": "ENSP00000605926.1",
          "transcript_support_level": null,
          "aa_start": 823,
          "aa_end": null,
          "aa_length": 897,
          "cds_start": 2469,
          "cds_end": null,
          "cds_length": 2694,
          "cdna_start": 2725,
          "cdna_end": null,
          "cdna_length": 3689,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935867.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HIRA",
          "gene_hgnc_id": 4916,
          "hgvs_c": "c.2043A>G",
          "hgvs_p": "p.Ala681Ala",
          "transcript": "ENST00000935862.1",
          "protein_id": "ENSP00000605921.1",
          "transcript_support_level": null,
          "aa_start": 681,
          "aa_end": null,
          "aa_length": 755,
          "cds_start": 2043,
          "cds_end": null,
          "cds_length": 2268,
          "cdna_start": 2430,
          "cdna_end": null,
          "cdna_length": 3397,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000935862.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C22orf39",
          "gene_hgnc_id": 27012,
          "hgvs_c": "n.*2599A>G",
          "hgvs_p": null,
          "transcript": "ENST00000509549.5",
          "protein_id": "ENSP00000424903.1",
          "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": 2979,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000509549.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C22orf39",
          "gene_hgnc_id": 27012,
          "hgvs_c": "n.*2599A>G",
          "hgvs_p": null,
          "transcript": "ENST00000509549.5",
          "protein_id": "ENSP00000424903.1",
          "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": 2979,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000509549.5"
        }
      ],
      "gene_symbol": "HIRA",
      "gene_hgnc_id": 4916,
      "dbsnp": "rs782287647",
      "frequency_reference_population": 0.000055187502,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 89,
      "gnomad_exomes_af": 0.0000540882,
      "gnomad_genomes_af": 0.0000657436,
      "gnomad_exomes_ac": 79,
      "gnomad_genomes_ac": 10,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6100000143051147,
      "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.61,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.052,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7,BS2",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 11,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_003325.4",
          "gene_symbol": "HIRA",
          "hgnc_id": 4916,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2829A>G",
          "hgvs_p": "p.Ala943Ala"
        },
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000509549.5",
          "gene_symbol": "C22orf39",
          "hgnc_id": 27012,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.*2599A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Likely benign",
      "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.