← 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: 11-64989278-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 4,
          "criteria": [
            "BP4_Strong"
          ],
          "effects": [
            "missense_variant"
          ],
          "gene_symbol": "BATF2",
          "hgnc_id": 25163,
          "hgvs_c": "c.676C>T",
          "hgvs_p": "p.Pro226Ser",
          "inheritance_mode": "AR",
          "pathogenic_score": 0,
          "score": -4,
          "transcript": "NM_138456.4",
          "verdict": "Likely_benign"
        }
      ],
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong",
      "acmg_score": -4,
      "allele_count_reference_population": 22,
      "alphamissense_prediction": null,
      "alphamissense_score": 0.097,
      "alt": "A",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.62,
      "chr": "11",
      "clinvar_classification": "Uncertain significance",
      "clinvar_disease": "not specified",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": 0.04292890429496765,
      "computational_source_selected": "MetaRNN",
      "consequences": [
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 274,
          "aa_ref": "P",
          "aa_start": 226,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2066,
          "cdna_start": 733,
          "cds_end": null,
          "cds_length": 825,
          "cds_start": 676,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "NM_138456.4",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.676C>T",
          "hgvs_p": "p.Pro226Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000301887.9",
          "protein_coding": true,
          "protein_id": "NP_612465.3",
          "strand": false,
          "transcript": "NM_138456.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 274,
          "aa_ref": "P",
          "aa_start": 226,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 2066,
          "cdna_start": 733,
          "cds_end": null,
          "cds_length": 825,
          "cds_start": 676,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 3,
          "exon_rank": 3,
          "exon_rank_end": null,
          "feature": "ENST00000301887.9",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.676C>T",
          "hgvs_p": "p.Pro226Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_138456.4",
          "protein_coding": true,
          "protein_id": "ENSP00000301887.4",
          "strand": false,
          "transcript": "ENST00000301887.9",
          "transcript_support_level": 1
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 189,
          "aa_ref": "P",
          "aa_start": 141,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1949,
          "cdna_start": 616,
          "cds_end": null,
          "cds_length": 570,
          "cds_start": 421,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "ENST00000435842.2",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.421C>T",
          "hgvs_p": "p.Pro141Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000398911.2",
          "strand": false,
          "transcript": "ENST00000435842.2",
          "transcript_support_level": 1
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 250,
          "aa_ref": "P",
          "aa_start": 202,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2072,
          "cdna_start": 739,
          "cds_end": null,
          "cds_length": 753,
          "cds_start": 604,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "NM_001300807.2",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.604C>T",
          "hgvs_p": "p.Pro202Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001287736.1",
          "strand": false,
          "transcript": "NM_001300807.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 250,
          "aa_ref": "P",
          "aa_start": 202,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1230,
          "cdna_start": 736,
          "cds_end": null,
          "cds_length": 753,
          "cds_start": 604,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "ENST00000527716.1",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.604C>T",
          "hgvs_p": "p.Pro202Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000434915.1",
          "strand": false,
          "transcript": "ENST00000527716.1",
          "transcript_support_level": 2
        },
        {
          "aa_alt": "S",
          "aa_end": null,
          "aa_length": 189,
          "aa_ref": "P",
          "aa_start": 141,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1953,
          "cdna_start": 620,
          "cds_end": null,
          "cds_length": 570,
          "cds_start": 421,
          "consequences": [
            "missense_variant"
          ],
          "exon_count": 2,
          "exon_rank": 2,
          "exon_rank_end": null,
          "feature": "NM_001300808.2",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.421C>T",
          "hgvs_p": "p.Pro141Ser",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001287737.1",
          "strand": false,
          "transcript": "NM_001300808.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "retained_intron",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2569,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 1,
          "exon_rank": 1,
          "exon_rank_end": null,
          "feature": "ENST00000527454.1",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "n.1237C>T",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": false,
          "transcript": "ENST00000527454.1",
          "transcript_support_level": 6
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 154,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 569,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 465,
          "cds_start": null,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000534177.1",
          "gene_hgnc_id": 25163,
          "gene_symbol": "BATF2",
          "hgvs_c": "c.*208C>T",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000435640.1",
          "strand": true,
          "transcript": "ENST00000534177.1",
          "transcript_support_level": 4
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs151056191",
      "effect": "missense_variant",
      "frequency_reference_population": 0.000013741205,
      "gene_hgnc_id": 25163,
      "gene_symbol": "BATF2",
      "gnomad_exomes_ac": 15,
      "gnomad_exomes_af": 0.000010354,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_ac": 7,
      "gnomad_genomes_af": 0.0000459595,
      "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": "Uncertain significance",
      "phenotype_combined": "not specified",
      "phylop100way_prediction": "Benign",
      "phylop100way_score": -0.176,
      "pos": 64989278,
      "ref": "G",
      "revel_prediction": "Benign",
      "revel_score": 0.042,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_138456.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.