← 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: X-153904993-G-GC (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=153904993&ref=G&alt=GC&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 153904993,
      "ref": "G",
      "alt": "GC",
      "effect": "5_prime_UTR_variant",
      "transcript": "NM_000054.7",
      "consequences": [
        {
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "n.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000434679.6",
          "protein_id": "ENSP00000393397.1",
          "transcript_support_level": 1,
          "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": 1601,
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "NM_000054.7",
          "protein_id": "NP_000045.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 371,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1116,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1825,
          "mane_select": "ENST00000646375.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000646375.2",
          "protein_id": "ENSP00000496396.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 371,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1116,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1825,
          "mane_select": "NM_000054.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "n.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000434679.6",
          "protein_id": "ENSP00000393397.1",
          "transcript_support_level": 1,
          "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": 1601,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000284987",
          "gene_hgnc_id": null,
          "hgvs_c": "n.96+4076_96+4077insG",
          "hgvs_p": null,
          "transcript": "ENST00000646191.1",
          "protein_id": "ENSP00000493873.1",
          "transcript_support_level": null,
          "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": 498,
          "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": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "n.288_289insC",
          "hgvs_p": null,
          "transcript": "NR_027419.2",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 1507,
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "NM_001146151.3",
          "protein_id": "NP_001139623.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 309,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 930,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1890,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000284987",
          "gene_hgnc_id": null,
          "hgvs_c": "n.154+4076_154+4077insG",
          "hgvs_p": null,
          "transcript": "ENST00000464967.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 593,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000284987",
          "gene_hgnc_id": null,
          "hgvs_c": "n.96+4076_96+4077insG",
          "hgvs_p": null,
          "transcript": "ENST00000642393.1",
          "protein_id": "ENSP00000495119.1",
          "transcript_support_level": null,
          "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": 314,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000337474.5",
          "protein_id": "ENSP00000338072.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 371,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1116,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1622,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000370049.1",
          "protein_id": "ENSP00000359066.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 309,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 930,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1307,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AVPR2",
          "gene_hgnc_id": 897,
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null,
          "transcript": "ENST00000430697.1",
          "protein_id": "ENSP00000393513.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 371,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1116,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1261,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "AVPR2",
      "gene_hgnc_id": 897,
      "dbsnp": "rs55712963",
      "frequency_reference_population": null,
      "hom_count_reference_population": null,
      "allele_count_reference_population": null,
      "gnomad_exomes_af": 0.999969,
      "gnomad_genomes_af": 0.999991,
      "gnomad_exomes_ac": 683122,
      "gnomad_genomes_ac": 111762,
      "gnomad_exomes_homalt": 237173,
      "gnomad_genomes_homalt": 38920,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "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": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -1.133,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP6_Moderate",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 2,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_000054.7",
          "gene_symbol": "AVPR2",
          "hgnc_id": 897,
          "effects": [
            "5_prime_UTR_variant"
          ],
          "inheritance_mode": "XL,AD",
          "hgvs_c": "c.-153_-152insC",
          "hgvs_p": null
        },
        {
          "score": -2,
          "benign_score": 2,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000646191.1",
          "gene_symbol": "ENSG00000284987",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.96+4076_96+4077insG",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}