← 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: 5-177994145-ACT-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 177994145,
      "ref": "ACT",
      "alt": "A",
      "effect": "frameshift_variant",
      "transcript": "NM_006261.5",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PROP1",
          "gene_hgnc_id": 9455,
          "hgvs_c": "c.301_302delAG",
          "hgvs_p": "p.Leu102fs",
          "transcript": "NM_006261.5",
          "protein_id": "NP_006252.4",
          "transcript_support_level": null,
          "aa_start": 101,
          "aa_end": null,
          "aa_length": 226,
          "cds_start": 301,
          "cds_end": null,
          "cds_length": 681,
          "cdna_start": 611,
          "cdna_end": null,
          "cdna_length": 1464,
          "mane_select": "ENST00000308304.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_006261.5"
        },
        {
          "aa_ref": "S",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PROP1",
          "gene_hgnc_id": 9455,
          "hgvs_c": "c.301_302delAG",
          "hgvs_p": "p.Leu102fs",
          "transcript": "ENST00000308304.2",
          "protein_id": "ENSP00000311290.2",
          "transcript_support_level": 1,
          "aa_start": 101,
          "aa_end": null,
          "aa_length": 226,
          "cds_start": 301,
          "cds_end": null,
          "cds_length": 681,
          "cdna_start": 611,
          "cdna_end": null,
          "cdna_length": 1464,
          "mane_select": "NM_006261.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000308304.2"
        }
      ],
      "gene_symbol": "PROP1",
      "gene_hgnc_id": 9455,
      "dbsnp": "rs193922688",
      "frequency_reference_population": 0.00019148612,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 309,
      "gnomad_exomes_af": 0.000197691,
      "gnomad_genomes_af": 0.000131735,
      "gnomad_exomes_ac": 289,
      "gnomad_genomes_ac": 20,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.3400000035762787,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 3.321,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.34,
      "spliceai_max_prediction": "Uncertain_significance",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 20,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PS3,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 20,
          "benign_score": 0,
          "pathogenic_score": 20,
          "criteria": [
            "PVS1",
            "PS3",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_006261.5",
          "gene_symbol": "PROP1",
          "hgnc_id": 9455,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.301_302delAG",
          "hgvs_p": "p.Leu102fs"
        }
      ],
      "clinvar_disease": " 2, combined, genetic form,46,Combined pituitary hormone deficiencies,PROP1-related disorder,Pituitary hormone deficiency,XY partial gonadal dysgenesis,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:16 LP:1 O:2",
      "phenotype_combined": "Pituitary hormone deficiency, combined, 2|Combined pituitary hormone deficiencies, genetic form|not provided|46,XY partial gonadal dysgenesis|PROP1-related disorder",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "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.