← 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: 20-18526508-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 18526508,
      "ref": "C",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "ENST00000650089.1",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "NM_006363.6",
          "protein_id": "NP_006354.2",
          "transcript_support_level": null,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1017,
          "cdna_end": null,
          "cdna_length": 3026,
          "mane_select": "ENST00000650089.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "ENST00000650089.1",
          "protein_id": "ENSP00000497473.1",
          "transcript_support_level": null,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1017,
          "cdna_end": null,
          "cdna_length": 3026,
          "mane_select": "NM_006363.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "ENST00000336714.8",
          "protein_id": "ENSP00000338844.3",
          "transcript_support_level": 1,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1455,
          "cdna_end": null,
          "cdna_length": 3464,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "ENST00000377465.6",
          "protein_id": "ENSP00000366685.1",
          "transcript_support_level": 1,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1342,
          "cdna_end": null,
          "cdna_length": 3351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "NM_001172745.3",
          "protein_id": "NP_001166216.1",
          "transcript_support_level": null,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1342,
          "cdna_end": null,
          "cdna_length": 3351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "NM_032985.6",
          "protein_id": "NP_116780.1",
          "transcript_support_level": null,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1035,
          "cdna_end": null,
          "cdna_length": 3044,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "NM_032986.5",
          "protein_id": "NP_116781.1",
          "transcript_support_level": null,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1106,
          "cdna_end": null,
          "cdna_length": 3115,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "ENST00000262544.6",
          "protein_id": "ENSP00000262544.2",
          "transcript_support_level": 5,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 767,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 2304,
          "cdna_start": 1460,
          "cdna_end": null,
          "cdna_length": 3176,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.916C>T",
          "hgvs_p": "p.Arg306*",
          "transcript": "NM_001172746.3",
          "protein_id": "NP_001166217.1",
          "transcript_support_level": null,
          "aa_start": 306,
          "aa_end": null,
          "aa_length": 749,
          "cds_start": 916,
          "cds_end": null,
          "cds_length": 2250,
          "cdna_start": 981,
          "cdna_end": null,
          "cdna_length": 2990,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.916C>T",
          "hgvs_p": "p.Arg306*",
          "transcript": "ENST00000643747.1",
          "protein_id": "ENSP00000496460.1",
          "transcript_support_level": null,
          "aa_start": 306,
          "aa_end": null,
          "aa_length": 749,
          "cds_start": 916,
          "cds_end": null,
          "cds_length": 2250,
          "cdna_start": 1031,
          "cdna_end": null,
          "cdna_length": 2680,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SEC23B",
          "gene_hgnc_id": 10702,
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*",
          "transcript": "ENST00000450074.6",
          "protein_id": "ENSP00000403971.1",
          "transcript_support_level": 5,
          "aa_start": 324,
          "aa_end": null,
          "aa_length": 330,
          "cds_start": 970,
          "cds_end": null,
          "cds_length": 993,
          "cdna_start": 1110,
          "cdna_end": null,
          "cdna_length": 1133,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SEC23B",
      "gene_hgnc_id": 10702,
      "dbsnp": "rs121918225",
      "frequency_reference_population": 0.000021066302,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 34,
      "gnomad_exomes_af": 0.0000205217,
      "gnomad_genomes_af": 0.0000263013,
      "gnomad_exomes_ac": 30,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6000000238418579,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.12999999523162842,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.6,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 3.273,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.13,
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PVS1",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000650089.1",
          "gene_symbol": "SEC23B",
          "hgnc_id": 10702,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.970C>T",
          "hgvs_p": "p.Arg324*"
        }
      ],
      "clinvar_disease": " type II,Congenital dyserythropoietic anemia,Cowden syndrome 7,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:3 LP:1",
      "phenotype_combined": "Congenital dyserythropoietic anemia, type II|Cowden syndrome 7;Congenital dyserythropoietic anemia, type II|not provided",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}