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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 172394622,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "NM_001017995.3",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "NM_001017995.3",
          "protein_id": "NP_001017995.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 911,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 2736,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000311601.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001017995.3"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "ENST00000311601.6",
          "protein_id": "ENSP00000309714.5",
          "transcript_support_level": 1,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 911,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 2736,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001017995.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000311601.6"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "ENST00000519643.5",
          "protein_id": "ENSP00000430890.1",
          "transcript_support_level": 1,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 430,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 1293,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000519643.5"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "ENST00000918640.1",
          "protein_id": "ENSP00000588699.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 945,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 2838,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000918640.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "ENST00000971124.1",
          "protein_id": "ENSP00000641183.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 939,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 2820,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000971124.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.202C>T",
          "hgvs_p": "p.Arg68*",
          "transcript": "ENST00000918641.1",
          "protein_id": "ENSP00000588700.1",
          "transcript_support_level": null,
          "aa_start": 68,
          "aa_end": null,
          "aa_length": 895,
          "cds_start": 202,
          "cds_end": null,
          "cds_length": 2688,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000918641.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.205C>T",
          "hgvs_p": "p.Arg69*",
          "transcript": "ENST00000636523.1",
          "protein_id": "ENSP00000490082.1",
          "transcript_support_level": 5,
          "aa_start": 69,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": 205,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000636523.1"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "NM_001308175.2",
          "protein_id": "NP_001295104.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 430,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 1293,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001308175.2"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*",
          "transcript": "XM_017009351.2",
          "protein_id": "XP_016864840.1",
          "transcript_support_level": null,
          "aa_start": 84,
          "aa_end": null,
          "aa_length": 939,
          "cds_start": 250,
          "cds_end": null,
          "cds_length": 2820,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017009351.2"
        }
      ],
      "gene_symbol": "SH3PXD2B",
      "gene_hgnc_id": 29242,
      "dbsnp": "rs61755907",
      "frequency_reference_population": 0.0000012391881,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 6.84106e-7,
      "gnomad_genomes_af": 0.00000657039,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.28999999165534973,
      "computational_prediction_selected": "Pathogenic",
      "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.29,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": -0.039,
      "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": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001017995.3",
          "gene_symbol": "SH3PXD2B",
          "hgnc_id": 29242,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.250C>T",
          "hgvs_p": "p.Arg84*"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}