← 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: 5-93593851-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 93593851,
      "ref": "C",
      "alt": "T",
      "effect": "3_prime_UTR_variant",
      "transcript": "ENST00000327111.8",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "NM_005654.6",
          "protein_id": "NP_005645.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3843,
          "mane_select": "ENST00000327111.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000327111.8",
          "protein_id": "ENSP00000325819.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3843,
          "mane_select": "NM_005654.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000615873.2",
          "protein_id": "ENSP00000481517.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 398,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1197,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1872,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "n.504C>T",
          "hgvs_p": null,
          "transcript": "ENST00000506162.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": 796,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "NM_001410754.1",
          "protein_id": "NP_001397683.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 273,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 822,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1723,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000512697.2",
          "protein_id": "ENSP00000514863.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 273,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 822,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1650,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000502982.2",
          "protein_id": "ENSP00000514864.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 263,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 792,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1610,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000700211.1",
          "protein_id": "ENSP00000514862.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 263,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 792,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1317,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR2F1",
          "gene_hgnc_id": 7975,
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000647447.1",
          "protein_id": "ENSP00000495740.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 372,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1119,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1119,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NR2F1",
      "gene_hgnc_id": 7975,
      "dbsnp": "rs202006298",
      "frequency_reference_population": 0.00012909921,
      "hom_count_reference_population": 2,
      "allele_count_reference_population": 208,
      "gnomad_exomes_af": 0.000133664,
      "gnomad_genomes_af": 0.0000853702,
      "gnomad_exomes_ac": 195,
      "gnomad_genomes_ac": 13,
      "gnomad_exomes_homalt": 2,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5199999809265137,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.52,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.475,
      "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": -12,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -12,
          "benign_score": 12,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000327111.8",
          "gene_symbol": "NR2F1",
          "hgnc_id": 7975,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.*9C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}