← 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: 1-9244919-CCCCAGGCA-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 9244919,
      "ref": "CCCCAGGCA",
      "alt": "C",
      "effect": "splice_acceptor_variant,splice_region_variant,5_prime_UTR_variant,intron_variant",
      "transcript": "ENST00000377403.7",
      "consequences": [
        {
          "aa_ref": "M",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant",
            "start_lost"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-7_1delCCCAGGCA",
          "hgvs_p": "p.Met1fs",
          "transcript": "NM_004285.4",
          "protein_id": "NP_004276.2",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 297,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "ENST00000377403.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-10-5_-8delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-7_1delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "NM_004285.4",
          "protein_id": "NP_004276.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "ENST00000377403.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "splice_region_variant",
            "5_prime_UTR_variant",
            "intron_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-10-5_-8delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "WH",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "disruptive_inframe_deletion",
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.24-5_26delCCCAGGCA",
          "hgvs_p": "p.Trp8_His9delinsCys",
          "transcript": "ENST00000602477.1",
          "protein_id": "ENSP00000473348.1",
          "transcript_support_level": 1,
          "aa_start": 8,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 24,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5590,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "non_coding_transcript_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-10-5_-8delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "HPGM",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.27_34delCCCAGGCA",
          "hgvs_p": "p.Pro10fs",
          "transcript": "NM_001282587.2",
          "protein_id": "NP_001269516.1",
          "transcript_support_level": null,
          "aa_start": 9,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 27,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 176,
          "cdna_end": null,
          "cdna_length": 9026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "HPGM",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.27_34delCCCAGGCA",
          "hgvs_p": "p.Pro10fs",
          "transcript": "XM_047435002.1",
          "protein_id": "XP_047290958.1",
          "transcript_support_level": null,
          "aa_start": 9,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 27,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 501,
          "cdna_end": null,
          "cdna_length": 9351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "HPGM",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.21_28delCCCAGGCA",
          "hgvs_p": "p.Pro8fs",
          "transcript": "XM_005263540.6",
          "protein_id": "XP_005263597.1",
          "transcript_support_level": null,
          "aa_start": 7,
          "aa_end": null,
          "aa_length": 800,
          "cds_start": 21,
          "cds_end": null,
          "cds_length": 2403,
          "cdna_start": 152,
          "cdna_end": null,
          "cdna_length": 9002,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "HPGM",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.15_22delCCCAGGCA",
          "hgvs_p": "p.Pro6fs",
          "transcript": "XM_047435003.1",
          "protein_id": "XP_047290959.1",
          "transcript_support_level": null,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 798,
          "cds_start": 15,
          "cds_end": null,
          "cds_length": 2397,
          "cdna_start": 146,
          "cdna_end": null,
          "cdna_length": 8996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant",
            "start_lost"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-7_1delCCCAGGCA",
          "hgvs_p": "p.Met1fs",
          "transcript": "XM_047435005.1",
          "protein_id": "XP_047290961.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 166,
          "cdna_end": null,
          "cdna_length": 9016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost",
            "conservative_inframe_deletion",
            "splice_region_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-2-5_1delCCCAGGCA",
          "hgvs_p": "p.Met1del",
          "transcript": "XM_006711052.5",
          "protein_id": "XP_006711115.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "M",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "start_lost",
            "conservative_inframe_deletion",
            "splice_region_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-2-5_1delCCCAGGCA",
          "hgvs_p": "p.Met1del",
          "transcript": "XM_017002865.3",
          "protein_id": "XP_016858354.1",
          "transcript_support_level": null,
          "aa_start": 1,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 1,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9018,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-7_1delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "XM_047435005.1",
          "protein_id": "XP_047290961.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "5_prime_UTR_truncation",
            "exon_loss_variant",
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-2-5_1delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "XM_006711052.5",
          "protein_id": "XP_006711115.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "5_prime_UTR_truncation",
            "exon_loss_variant",
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.-2-5_1delCCCAGGCA",
          "hgvs_p": null,
          "transcript": "XM_017002865.3",
          "protein_id": "XP_016858354.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9018,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "H6PD",
      "gene_hgnc_id": 4795,
      "dbsnp": null,
      "frequency_reference_population": 0.1442441,
      "hom_count_reference_population": 18758,
      "allele_count_reference_population": 232128,
      "gnomad_exomes_af": 0.146442,
      "gnomad_genomes_af": 0.123193,
      "gnomad_exomes_ac": 213384,
      "gnomad_genomes_ac": 18744,
      "gnomad_exomes_homalt": 17265,
      "gnomad_genomes_homalt": 1493,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 1.773,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "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": "Benign",
      "acmg_criteria": "PVS1_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -12,
          "benign_score": 16,
          "pathogenic_score": 4,
          "criteria": [
            "PVS1_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000377403.7",
          "gene_symbol": "H6PD",
          "hgnc_id": 4795,
          "effects": [
            "splice_acceptor_variant",
            "splice_region_variant",
            "5_prime_UTR_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.-10-5_-8delCCCAGGCA",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Cortisone reductase deficiency 1,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "not specified|Cortisone reductase deficiency 1",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}