← 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: 15-28202136-C-T (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=15&pos=28202136&ref=C&alt=T&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "15",
      "pos": 28202136,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_004667.6",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7594G>A",
          "hgvs_p": "p.Val2532Met",
          "transcript": "NM_004667.6",
          "protein_id": "NP_004658.3",
          "transcript_support_level": null,
          "aa_start": 2532,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 7594,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000261609.13",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_004667.6"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7594G>A",
          "hgvs_p": "p.Val2532Met",
          "transcript": "ENST00000261609.13",
          "protein_id": "ENSP00000261609.8",
          "transcript_support_level": 1,
          "aa_start": 2532,
          "aa_end": null,
          "aa_length": 4834,
          "cds_start": 7594,
          "cds_end": null,
          "cds_length": 14505,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_004667.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000261609.13"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 93,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7579G>A",
          "hgvs_p": "p.Val2527Met",
          "transcript": "XM_006720726.4",
          "protein_id": "XP_006720789.1",
          "transcript_support_level": null,
          "aa_start": 2527,
          "aa_end": null,
          "aa_length": 4829,
          "cds_start": 7579,
          "cds_end": null,
          "cds_length": 14490,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006720726.4"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7567G>A",
          "hgvs_p": "p.Val2523Met",
          "transcript": "XM_047433206.1",
          "protein_id": "XP_047289162.1",
          "transcript_support_level": null,
          "aa_start": 2523,
          "aa_end": null,
          "aa_length": 4825,
          "cds_start": 7567,
          "cds_end": null,
          "cds_length": 14478,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047433206.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7480G>A",
          "hgvs_p": "p.Val2494Met",
          "transcript": "XM_005268276.6",
          "protein_id": "XP_005268333.1",
          "transcript_support_level": null,
          "aa_start": 2494,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 7480,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005268276.6"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7480G>A",
          "hgvs_p": "p.Val2494Met",
          "transcript": "XM_017022695.1",
          "protein_id": "XP_016878184.1",
          "transcript_support_level": null,
          "aa_start": 2494,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 7480,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022695.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 92,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7480G>A",
          "hgvs_p": "p.Val2494Met",
          "transcript": "XM_017022696.2",
          "protein_id": "XP_016878185.1",
          "transcript_support_level": null,
          "aa_start": 2494,
          "aa_end": null,
          "aa_length": 4796,
          "cds_start": 7480,
          "cds_end": null,
          "cds_length": 14391,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022696.2"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 91,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7336G>A",
          "hgvs_p": "p.Val2446Met",
          "transcript": "XM_006720727.4",
          "protein_id": "XP_006720790.1",
          "transcript_support_level": null,
          "aa_start": 2446,
          "aa_end": null,
          "aa_length": 4748,
          "cds_start": 7336,
          "cds_end": null,
          "cds_length": 14247,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006720727.4"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 89,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7111G>A",
          "hgvs_p": "p.Val2371Met",
          "transcript": "XM_047433207.1",
          "protein_id": "XP_047289163.1",
          "transcript_support_level": null,
          "aa_start": 2371,
          "aa_end": null,
          "aa_length": 4673,
          "cds_start": 7111,
          "cds_end": null,
          "cds_length": 14022,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047433207.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 61,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7594G>A",
          "hgvs_p": "p.Val2532Met",
          "transcript": "XM_047433208.1",
          "protein_id": "XP_047289164.1",
          "transcript_support_level": null,
          "aa_start": 2532,
          "aa_end": null,
          "aa_length": 3084,
          "cds_start": 7594,
          "cds_end": null,
          "cds_length": 9255,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047433208.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.7594G>A",
          "hgvs_p": "p.Val2532Met",
          "transcript": "XM_047433209.1",
          "protein_id": "XP_047289165.1",
          "transcript_support_level": null,
          "aa_start": 2532,
          "aa_end": null,
          "aa_length": 2713,
          "cds_start": 7594,
          "cds_end": null,
          "cds_length": 8142,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047433209.1"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.760G>A",
          "hgvs_p": "p.Val254Met",
          "transcript": "XM_017022697.2",
          "protein_id": "XP_016878186.1",
          "transcript_support_level": null,
          "aa_start": 254,
          "aa_end": null,
          "aa_length": 2556,
          "cds_start": 760,
          "cds_end": null,
          "cds_length": 7671,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022697.2"
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "c.760G>A",
          "hgvs_p": "p.Val254Met",
          "transcript": "XM_017022698.2",
          "protein_id": "XP_016878187.1",
          "transcript_support_level": null,
          "aa_start": 254,
          "aa_end": null,
          "aa_length": 2556,
          "cds_start": 760,
          "cds_end": null,
          "cds_length": 7671,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022698.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HERC2",
          "gene_hgnc_id": 4868,
          "hgvs_c": "n.1704G>A",
          "hgvs_p": null,
          "transcript": "ENST00000567869.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000567869.1"
        }
      ],
      "gene_symbol": "HERC2",
      "gene_hgnc_id": 4868,
      "dbsnp": "rs74005645",
      "frequency_reference_population": 0.021906935,
      "hom_count_reference_population": 6251,
      "allele_count_reference_population": 33296,
      "gnomad_exomes_af": 0.010795,
      "gnomad_genomes_af": 0.126537,
      "gnomad_exomes_ac": 14832,
      "gnomad_genomes_ac": 18464,
      "gnomad_exomes_homalt": 2407,
      "gnomad_genomes_homalt": 3844,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.000025486173399258405,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.008,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0679,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.65,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.172,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_004667.6",
          "gene_symbol": "HERC2",
          "hgnc_id": 4868,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.7594G>A",
          "hgvs_p": "p.Val2532Met"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:3",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}