← 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: 6-61732732-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 5,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP7"
          ],
          "effects": [
            "synonymous_variant"
          ],
          "gene_symbol": "KHDRBS2",
          "hgnc_id": 18114,
          "hgvs_c": "c.894T>C",
          "hgvs_p": "p.Asp298Asp",
          "inheritance_mode": "",
          "pathogenic_score": 2,
          "score": -3,
          "transcript": "NM_001350622.2",
          "verdict": "Likely_benign"
        }
      ],
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP7",
      "acmg_score": -3,
      "allele_count_reference_population": 1,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "G",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.54,
      "chr": "6",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": -0.5400000214576721,
      "computational_source_selected": "BayesDel_noAF",
      "consequences": [
        {
          "aa_alt": "D",
          "aa_end": null,
          "aa_length": 349,
          "aa_ref": "D",
          "aa_start": 281,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2329,
          "cdna_start": 1120,
          "cds_end": null,
          "cds_length": 1050,
          "cds_start": 843,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_count": 9,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NM_152688.4",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "c.843T>C",
          "hgvs_p": "p.Asp281Asp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000281156.5",
          "protein_coding": true,
          "protein_id": "NP_689901.2",
          "strand": false,
          "transcript": "NM_152688.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": "D",
          "aa_end": null,
          "aa_length": 349,
          "aa_ref": "D",
          "aa_start": 281,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 2329,
          "cdna_start": 1120,
          "cds_end": null,
          "cds_length": 1050,
          "cds_start": 843,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_count": 9,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "ENST00000281156.5",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "c.843T>C",
          "hgvs_p": "p.Asp281Asp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_152688.4",
          "protein_coding": true,
          "protein_id": "ENSP00000281156.3",
          "strand": false,
          "transcript": "ENST00000281156.5",
          "transcript_support_level": 1
        },
        {
          "aa_alt": "D",
          "aa_end": null,
          "aa_length": 366,
          "aa_ref": "D",
          "aa_start": 298,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2380,
          "cdna_start": 1171,
          "cds_end": null,
          "cds_length": 1101,
          "cds_start": 894,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_count": 10,
          "exon_rank": 8,
          "exon_rank_end": null,
          "feature": "NM_001350622.2",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "c.894T>C",
          "hgvs_p": "p.Asp298Asp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001337551.1",
          "strand": false,
          "transcript": "NM_001350622.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": "D",
          "aa_end": null,
          "aa_length": 362,
          "aa_ref": "D",
          "aa_start": 281,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2045,
          "cdna_start": 1070,
          "cds_end": null,
          "cds_length": 1089,
          "cds_start": 843,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_count": 10,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "ENST00000968831.1",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "c.843T>C",
          "hgvs_p": "p.Asp281Asp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000638890.1",
          "strand": false,
          "transcript": "ENST00000968831.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": "D",
          "aa_end": null,
          "aa_length": 300,
          "aa_ref": "D",
          "aa_start": 232,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1867,
          "cdna_start": 931,
          "cds_end": null,
          "cds_length": 903,
          "cds_start": 696,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_count": 8,
          "exon_rank": 6,
          "exon_rank_end": null,
          "feature": "ENST00000931671.1",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "c.696T>C",
          "hgvs_p": "p.Asp232Asp",
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000601730.1",
          "strand": false,
          "transcript": "ENST00000931671.1",
          "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": 2403,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 10,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "ENST00000675091.1",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.843T>C",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000502245.1",
          "strand": false,
          "transcript": "ENST00000675091.1",
          "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": 1912,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 14,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "ENST00000718012.1",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.843T>C",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000520654.1",
          "strand": false,
          "transcript": "ENST00000718012.1",
          "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": 2058,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 16,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NR_146870.2",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.1120T>C",
          "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": "NR_146870.2",
          "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": 1986,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 15,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NR_146871.3",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.1120T>C",
          "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": "NR_146871.3",
          "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": 2403,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 10,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NR_146872.2",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.1120T>C",
          "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": "NR_146872.2",
          "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": 1795,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 12,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NR_146873.3",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.1120T>C",
          "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": "NR_146873.3",
          "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": 1912,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": null,
          "cds_start": null,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_count": 14,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "NR_146874.3",
          "gene_hgnc_id": 18114,
          "gene_symbol": "KHDRBS2",
          "hgvs_c": "n.1120T>C",
          "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": "NR_146874.3",
          "transcript_support_level": null
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs1366184286",
      "effect": "synonymous_variant",
      "frequency_reference_population": 6.852516e-7,
      "gene_hgnc_id": 18114,
      "gene_symbol": "KHDRBS2",
      "gnomad_exomes_ac": 1,
      "gnomad_exomes_af": 6.85252e-7,
      "gnomad_exomes_homalt": 0,
      "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": 0.749,
      "pos": 61732732,
      "ref": "A",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_001350622.2"
    }
  ]
}
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.