← 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: 4-521713-G-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 0,
          "criteria": [
            "PM2"
          ],
          "effects": [
            "intron_variant"
          ],
          "gene_symbol": "PIGG",
          "hgnc_id": 25985,
          "hgvs_c": "c.",
          "hgvs_p": null,
          "inheritance_mode": "AR",
          "pathogenic_score": 2,
          "score": 2,
          "transcript": "ENST00000453061.7",
          "verdict": "Uncertain_significance"
        }
      ],
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_score": 2,
      "allele_count_reference_population": 0,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "G",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": null,
      "bayesdelnoaf_score": null,
      "chr": "4",
      "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": null,
          "aa_end": null,
          "aa_length": 983,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 3909,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2952,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 13,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000453061.7",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_001127178.3",
          "protein_coding": true,
          "protein_id": "ENSP00000415203.2",
          "strand": true,
          "transcript": "ENST00000453061.7",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 850,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2787,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2553,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 11,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000383028.8",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 6,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000372494.4",
          "strand": true,
          "transcript": "ENST00000383028.8",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 975,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3203,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2928,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 13,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000310340.9",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000311750.5",
          "strand": true,
          "transcript": "ENST00000310340.9",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 913,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2947,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2742,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 12,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000868086.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000538145.1",
          "strand": true,
          "transcript": "ENST00000868086.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 912,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2909,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2739,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 12,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000868087.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 7,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000538146.1",
          "strand": true,
          "transcript": "ENST00000868087.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 894,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3019,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2685,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 13,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000504346.5",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000424800.1",
          "strand": true,
          "transcript": "ENST00000504346.5",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 664,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2248,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1995,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000936869.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "c.",
          "hgvs_p": null,
          "intron_rank": 8,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000606928.1",
          "strand": true,
          "transcript": "ENST00000936869.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": null,
          "canonical": null,
          "cdna_end": null,
          "cdna_length": null,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "intragenic_variant"
          ],
          "exon_count": null,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": null,
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "n.",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": null,
          "protein_id": null,
          "strand": true,
          "transcript": null,
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 570,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000508562.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "n.",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000508562.1",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 570,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000508562.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "n.",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000508562.1",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 562,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_count": 2,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000513679.1",
          "gene_hgnc_id": 25985,
          "gene_symbol": "PIGG",
          "hgvs_c": "n.",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": null,
          "strand": true,
          "transcript": "ENST00000513679.1",
          "transcript_support_level": 4
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": null,
      "effect": "intron_variant",
      "frequency_reference_population": null,
      "gene_hgnc_id": 25985,
      "gene_symbol": "PIGG",
      "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": 1.409,
      "pos": 521713,
      "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": "ENST00000453061.7"
    }
  ]
}
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.