← 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: 19-15161190-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 15161190,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_000435.3",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6438G>A",
          "hgvs_p": "p.Ala2146Ala",
          "transcript": "NM_000435.3",
          "protein_id": "NP_000426.2",
          "transcript_support_level": null,
          "aa_start": 2146,
          "aa_end": null,
          "aa_length": 2321,
          "cds_start": 6438,
          "cds_end": null,
          "cds_length": 6966,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000263388.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000435.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6438G>A",
          "hgvs_p": "p.Ala2146Ala",
          "transcript": "ENST00000263388.7",
          "protein_id": "ENSP00000263388.1",
          "transcript_support_level": 1,
          "aa_start": 2146,
          "aa_end": null,
          "aa_length": 2321,
          "cds_start": 6438,
          "cds_end": null,
          "cds_length": 6966,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000435.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000263388.7"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 34,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6573G>A",
          "hgvs_p": "p.Ala2191Ala",
          "transcript": "ENST00000931534.1",
          "protein_id": "ENSP00000601593.1",
          "transcript_support_level": null,
          "aa_start": 2191,
          "aa_end": null,
          "aa_length": 2366,
          "cds_start": 6573,
          "cds_end": null,
          "cds_length": 7101,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931534.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6261G>A",
          "hgvs_p": "p.Ala2087Ala",
          "transcript": "ENST00000931532.1",
          "protein_id": "ENSP00000601591.1",
          "transcript_support_level": null,
          "aa_start": 2087,
          "aa_end": null,
          "aa_length": 2262,
          "cds_start": 6261,
          "cds_end": null,
          "cds_length": 6789,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931532.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6234G>A",
          "hgvs_p": "p.Ala2078Ala",
          "transcript": "ENST00000931535.1",
          "protein_id": "ENSP00000601594.1",
          "transcript_support_level": null,
          "aa_start": 2078,
          "aa_end": null,
          "aa_length": 2253,
          "cds_start": 6234,
          "cds_end": null,
          "cds_length": 6762,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931535.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.5367G>A",
          "hgvs_p": "p.Ala1789Ala",
          "transcript": "ENST00000931533.1",
          "protein_id": "ENSP00000601592.1",
          "transcript_support_level": null,
          "aa_start": 1789,
          "aa_end": null,
          "aa_length": 1964,
          "cds_start": 5367,
          "cds_end": null,
          "cds_length": 5895,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000931533.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NOTCH3",
          "gene_hgnc_id": 7883,
          "hgvs_c": "c.6282G>A",
          "hgvs_p": "p.Ala2094Ala",
          "transcript": "XM_005259924.5",
          "protein_id": "XP_005259981.1",
          "transcript_support_level": null,
          "aa_start": 2094,
          "aa_end": null,
          "aa_length": 2269,
          "cds_start": 6282,
          "cds_end": null,
          "cds_length": 6810,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005259924.5"
        }
      ],
      "gene_symbol": "NOTCH3",
      "gene_hgnc_id": 7883,
      "dbsnp": "rs1044008",
      "frequency_reference_population": 0.038842488,
      "hom_count_reference_population": 1331,
      "allele_count_reference_population": 59805,
      "gnomad_exomes_af": 0.0396952,
      "gnomad_genomes_af": 0.0310739,
      "gnomad_exomes_ac": 55073,
      "gnomad_genomes_ac": 4732,
      "gnomad_exomes_homalt": 1220,
      "gnomad_genomes_homalt": 111,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8399999737739563,
      "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.84,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.732,
      "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": -21,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -21,
          "benign_score": 21,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_000435.3",
          "gene_symbol": "NOTCH3",
          "hgnc_id": 7883,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.6438G>A",
          "hgvs_p": "p.Ala2146Ala"
        }
      ],
      "clinvar_disease": " autosomal dominant, type 1, with subcortical infarcts and leukoencephalopathy,Cerebral arteriopathy,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:6",
      "phenotype_combined": "not specified|Cerebral arteriopathy, autosomal dominant, with subcortical infarcts and leukoencephalopathy, type 1|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}