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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 102381819,
      "ref": "A",
      "alt": "G",
      "effect": "intron_variant",
      "transcript": "ENST00000233957.7",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "NM_003855.5",
          "protein_id": "NP_003846.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4149,
          "mane_select": "ENST00000233957.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "ENST00000233957.7",
          "protein_id": "ENSP00000233957.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4149,
          "mane_select": "NM_003855.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "ENST00000409599.5",
          "protein_id": "ENSP00000387211.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3854,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "ENST00000410040.5",
          "protein_id": "ENSP00000386663.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1749,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371418.1",
          "protein_id": "NP_001358347.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4145,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371419.1",
          "protein_id": "NP_001358348.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 392,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1179,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2103,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371420.1",
          "protein_id": "NP_001358349.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 391,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1176,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2100,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.223+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371421.1",
          "protein_id": "NP_001358350.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 386,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1161,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4061,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.223+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001282399.2",
          "protein_id": "NP_001269328.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 385,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1158,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3471,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.-60+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371422.1",
          "protein_id": "NP_001358351.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 292,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 879,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3904,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.-60+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371423.1",
          "protein_id": "NP_001358352.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 291,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 876,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3901,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.-60+137A>G",
          "hgvs_p": null,
          "transcript": "NM_001371424.1",
          "protein_id": "NP_001358353.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 291,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 876,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3735,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "n.*232+137A>G",
          "hgvs_p": null,
          "transcript": "ENST00000677287.1",
          "protein_id": "ENSP00000503023.1",
          "transcript_support_level": null,
          "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": 3574,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "XM_024453202.2",
          "protein_id": "XP_024308970.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4005,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "XM_047446167.1",
          "protein_id": "XP_047302123.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4002,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "XM_024453204.2",
          "protein_id": "XP_024308972.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 488,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1467,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3990,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null,
          "transcript": "XM_024453205.2",
          "protein_id": "XP_024308973.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 487,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1464,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3987,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.391+137A>G",
          "hgvs_p": null,
          "transcript": "XM_047446168.1",
          "protein_id": "XP_047302124.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 293,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 882,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1672,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "c.-60+137A>G",
          "hgvs_p": null,
          "transcript": "XM_047446169.1",
          "protein_id": "XP_047302125.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 291,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 876,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3299,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IL18R1",
          "gene_hgnc_id": 5988,
          "hgvs_c": "n.1321+137A>G",
          "hgvs_p": null,
          "transcript": "XR_923054.4",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 2330,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "IL18R1",
      "gene_hgnc_id": 5988,
      "dbsnp": "rs3213732",
      "frequency_reference_population": 0.47302786,
      "hom_count_reference_population": 79439,
      "allele_count_reference_population": 309434,
      "gnomad_exomes_af": 0.454532,
      "gnomad_genomes_af": 0.534154,
      "gnomad_exomes_ac": 228265,
      "gnomad_genomes_ac": 81169,
      "gnomad_exomes_homalt": 55907,
      "gnomad_genomes_homalt": 23532,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8600000143051147,
      "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.86,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.592,
      "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": -12,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -12,
          "benign_score": 12,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000233957.7",
          "gene_symbol": "IL18R1",
          "hgnc_id": 5988,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.688+137A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}