← 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: 1-1232241-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 4,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "effects": [
            "5_prime_UTR_variant"
          ],
          "gene_symbol": "B3GALT6",
          "hgnc_id": 17978,
          "hgvs_c": "c.-38G>C",
          "hgvs_p": null,
          "inheritance_mode": "AR",
          "pathogenic_score": 2,
          "score": -2,
          "transcript": "NM_080605.4",
          "verdict": "Likely_benign"
        },
        {
          "benign_score": 4,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "effects": [
            "intron_variant"
          ],
          "gene_symbol": "SDF4",
          "hgnc_id": 24188,
          "hgvs_c": "c.-174-3295C>G",
          "hgvs_p": null,
          "inheritance_mode": "AR",
          "pathogenic_score": 2,
          "score": -2,
          "transcript": "ENST00000900948.1",
          "verdict": "Likely_benign"
        }
      ],
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_score": -2,
      "allele_count_reference_population": 7,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "C",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.83,
      "chr": "1",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": -0.8299999833106995,
      "computational_source_selected": "BayesDel_noAF",
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 329,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2805,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 990,
          "cds_start": null,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_count": 1,
          "exon_rank": 1,
          "exon_rank_end": null,
          "feature": "NM_080605.4",
          "gene_hgnc_id": 17978,
          "gene_symbol": "B3GALT6",
          "hgvs_c": "c.-38G>C",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000379198.5",
          "protein_coding": true,
          "protein_id": "NP_542172.2",
          "strand": true,
          "transcript": "NM_080605.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 329,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 2805,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 990,
          "cds_start": null,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_count": 1,
          "exon_rank": 1,
          "exon_rank_end": null,
          "feature": "ENST00000379198.5",
          "gene_hgnc_id": 17978,
          "gene_symbol": "B3GALT6",
          "hgvs_c": "c.-38G>C",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_080605.4",
          "protein_coding": true,
          "protein_id": "ENSP00000368496.2",
          "strand": true,
          "transcript": "ENST00000379198.5",
          "transcript_support_level": 6
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 355,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2383,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1068,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000900948.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-174-3295C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000571007.1",
          "strand": false,
          "transcript": "ENST00000900948.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 355,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1933,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1068,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_016176.6",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000360001.12",
          "protein_coding": true,
          "protein_id": "NP_057260.3",
          "strand": true,
          "transcript": "NM_016176.6",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 355,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 1933,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1068,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000360001.12",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_016176.6",
          "protein_coding": true,
          "protein_id": "ENSP00000353094.7",
          "strand": true,
          "transcript": "ENST00000360001.12",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 341,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2079,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1026,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000263741.12",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000263741.8",
          "strand": true,
          "transcript": "ENST00000263741.12",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 355,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2426,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1068,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000900949.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-909C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000571008.1",
          "strand": true,
          "transcript": "ENST00000900949.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 348,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1930,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1047,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000921531.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000591590.1",
          "strand": true,
          "transcript": "ENST00000921531.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 341,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2049,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1026,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_016547.3",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_057631.2",
          "strand": true,
          "transcript": "NM_016547.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 302,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1856,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 909,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 6,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000921530.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-524C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000591589.1",
          "strand": true,
          "transcript": "ENST00000921530.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 362,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2318,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1089,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_047422111.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-888C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_047278067.1",
          "strand": true,
          "transcript": "XM_047422111.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 348,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2434,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1047,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_047422112.1",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-888C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_047278068.1",
          "strand": true,
          "transcript": "XM_047422112.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 202,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2637,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 609,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 5,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_011541556.2",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "c.-503C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_011539858.1",
          "strand": true,
          "transcript": "XM_011541556.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": 2095,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000465727.5",
          "gene_hgnc_id": 24188,
          "gene_symbol": "SDF4",
          "hgvs_c": "n.-503C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000435962.1",
          "strand": true,
          "transcript": "ENST00000465727.5",
          "transcript_support_level": 2
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs1386625448",
      "effect": "5_prime_UTR_variant",
      "frequency_reference_population": 0.000007138632,
      "gene_hgnc_id": 17978,
      "gene_symbol": "B3GALT6",
      "gnomad_exomes_ac": 6,
      "gnomad_exomes_af": 0.00000719355,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_ac": 1,
      "gnomad_genomes_af": 0.00000682594,
      "gnomad_genomes_homalt": 0,
      "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": -0.41,
      "pos": 1232241,
      "ref": "G",
      "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_080605.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.