← 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: 13-48304021-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "13",
      "pos": 48304021,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_000321.3",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "NM_000321.3",
          "protein_id": "NP_000312.2",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 928,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2787,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 4768,
          "mane_select": "ENST00000267163.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000267163.6",
          "protein_id": "ENSP00000267163.4",
          "transcript_support_level": 1,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 928,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2787,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 4768,
          "mane_select": "NM_000321.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.109A>G",
          "hgvs_p": null,
          "transcript": "ENST00000467505.6",
          "protein_id": "ENSP00000434702.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4274,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "NM_001407165.1",
          "protein_id": "NP_001394094.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 923,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2772,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 4787,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000650461.1",
          "protein_id": "ENSP00000497193.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 923,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2772,
          "cdna_start": 275,
          "cdna_end": null,
          "cdna_length": 4629,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000713858.1",
          "protein_id": "ENSP00000519163.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 893,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2682,
          "cdna_start": 175,
          "cdna_end": null,
          "cdna_length": 4552,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000713857.1",
          "protein_id": "ENSP00000519162.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 877,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2634,
          "cdna_start": 175,
          "cdna_end": null,
          "cdna_length": 4504,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000713856.1",
          "protein_id": "ENSP00000519161.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 851,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 2556,
          "cdna_start": 267,
          "cdna_end": null,
          "cdna_length": 4110,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "NM_001407166.1",
          "protein_id": "NP_001394095.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 568,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 1707,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 6581,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "NM_001407167.1",
          "protein_id": "NP_001394096.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 103,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 312,
          "cdna_start": 271,
          "cdna_end": null,
          "cdna_length": 2322,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly",
          "transcript": "ENST00000646097.1",
          "protein_id": "ENSP00000496556.1",
          "transcript_support_level": null,
          "aa_start": 37,
          "aa_end": null,
          "aa_length": 103,
          "cds_start": 109,
          "cds_end": null,
          "cds_length": 312,
          "cdna_start": 278,
          "cdna_end": null,
          "cdna_length": 633,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.271A>G",
          "hgvs_p": null,
          "transcript": "ENST00000525036.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1490,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RB1",
          "gene_hgnc_id": 9884,
          "hgvs_c": "n.109A>G",
          "hgvs_p": null,
          "transcript": "ENST00000713859.1",
          "protein_id": "ENSP00000519164.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4494,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "RB1",
      "gene_hgnc_id": 9884,
      "dbsnp": "rs896487590",
      "frequency_reference_population": 0.000051777537,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 76,
      "gnomad_exomes_af": 0.0000547226,
      "gnomad_genomes_af": 0.0000262999,
      "gnomad_exomes_ac": 72,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.17490753531455994,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.161,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.073,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.1,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.855,
      "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": -7,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6,BS2",
      "acmg_by_gene": [
        {
          "score": -7,
          "benign_score": 7,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_000321.3",
          "gene_symbol": "RB1",
          "hgnc_id": 9884,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.109A>G",
          "hgvs_p": "p.Ser37Gly"
        }
      ],
      "clinvar_disease": "Hereditary cancer-predisposing syndrome,RB1-related disorder,Retinoblastoma,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:3 B:1",
      "phenotype_combined": "Retinoblastoma|Hereditary cancer-predisposing syndrome|not provided|RB1-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}