← 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-77682045-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 77682045,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_000489.6",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3211G>A",
          "hgvs_p": "p.Gly1071Arg",
          "transcript": "NM_000489.6",
          "protein_id": "NP_000480.3",
          "transcript_support_level": null,
          "aa_start": 1071,
          "aa_end": null,
          "aa_length": 2492,
          "cds_start": 3211,
          "cds_end": null,
          "cds_length": 7479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000373344.11",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000489.6"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3211G>A",
          "hgvs_p": "p.Gly1071Arg",
          "transcript": "ENST00000373344.11",
          "protein_id": "ENSP00000362441.4",
          "transcript_support_level": 1,
          "aa_start": 1071,
          "aa_end": null,
          "aa_length": 2492,
          "cds_start": 3211,
          "cds_end": null,
          "cds_length": 7479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000489.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000373344.11"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3097G>A",
          "hgvs_p": "p.Gly1033Arg",
          "transcript": "ENST00000395603.7",
          "protein_id": "ENSP00000378967.3",
          "transcript_support_level": 1,
          "aa_start": 1033,
          "aa_end": null,
          "aa_length": 2454,
          "cds_start": 3097,
          "cds_end": null,
          "cds_length": 7365,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000395603.7"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3007G>A",
          "hgvs_p": "p.Gly1003Arg",
          "transcript": "ENST00000624166.3",
          "protein_id": "ENSP00000485103.1",
          "transcript_support_level": 1,
          "aa_start": 1003,
          "aa_end": null,
          "aa_length": 1350,
          "cds_start": 3007,
          "cds_end": null,
          "cds_length": 4053,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000624166.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.97G>A",
          "hgvs_p": "p.Gly33Arg",
          "transcript": "ENST00000493470.2",
          "protein_id": "ENSP00000485408.1",
          "transcript_support_level": 1,
          "aa_start": 33,
          "aa_end": null,
          "aa_length": 293,
          "cds_start": 97,
          "cds_end": null,
          "cds_length": 882,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000493470.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "n.*2839G>A",
          "hgvs_p": null,
          "transcript": "ENST00000480283.5",
          "protein_id": "ENSP00000480196.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000480283.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "n.*2839G>A",
          "hgvs_p": null,
          "transcript": "ENST00000480283.5",
          "protein_id": "ENSP00000480196.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000480283.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3097G>A",
          "hgvs_p": "p.Gly1033Arg",
          "transcript": "NM_138270.5",
          "protein_id": "NP_612114.2",
          "transcript_support_level": null,
          "aa_start": 1033,
          "aa_end": null,
          "aa_length": 2454,
          "cds_start": 3097,
          "cds_end": null,
          "cds_length": 7365,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_138270.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3208G>A",
          "hgvs_p": "p.Gly1070Arg",
          "transcript": "XM_005262153.6",
          "protein_id": "XP_005262210.2",
          "transcript_support_level": null,
          "aa_start": 1070,
          "aa_end": null,
          "aa_length": 2491,
          "cds_start": 3208,
          "cds_end": null,
          "cds_length": 7476,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262153.6"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3124G>A",
          "hgvs_p": "p.Gly1042Arg",
          "transcript": "XM_005262154.6",
          "protein_id": "XP_005262211.2",
          "transcript_support_level": null,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 2463,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 7392,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262154.6"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3121G>A",
          "hgvs_p": "p.Gly1041Arg",
          "transcript": "XM_017029601.3",
          "protein_id": "XP_016885090.1",
          "transcript_support_level": null,
          "aa_start": 1041,
          "aa_end": null,
          "aa_length": 2462,
          "cds_start": 3121,
          "cds_end": null,
          "cds_length": 7389,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017029601.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3094G>A",
          "hgvs_p": "p.Gly1032Arg",
          "transcript": "XM_006724666.5",
          "protein_id": "XP_006724729.1",
          "transcript_support_level": null,
          "aa_start": 1032,
          "aa_end": null,
          "aa_length": 2453,
          "cds_start": 3094,
          "cds_end": null,
          "cds_length": 7362,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006724666.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3046G>A",
          "hgvs_p": "p.Gly1016Arg",
          "transcript": "XM_005262156.5",
          "protein_id": "XP_005262213.2",
          "transcript_support_level": null,
          "aa_start": 1016,
          "aa_end": null,
          "aa_length": 2437,
          "cds_start": 3046,
          "cds_end": null,
          "cds_length": 7314,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262156.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3010G>A",
          "hgvs_p": "p.Gly1004Arg",
          "transcript": "XM_017029604.3",
          "protein_id": "XP_016885093.1",
          "transcript_support_level": null,
          "aa_start": 1004,
          "aa_end": null,
          "aa_length": 2425,
          "cds_start": 3010,
          "cds_end": null,
          "cds_length": 7278,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017029604.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3007G>A",
          "hgvs_p": "p.Gly1003Arg",
          "transcript": "XM_005262157.6",
          "protein_id": "XP_005262214.2",
          "transcript_support_level": null,
          "aa_start": 1003,
          "aa_end": null,
          "aa_length": 2424,
          "cds_start": 3007,
          "cds_end": null,
          "cds_length": 7275,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005262157.6"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3211G>A",
          "hgvs_p": "p.Gly1071Arg",
          "transcript": "XM_047442191.1",
          "protein_id": "XP_047298147.1",
          "transcript_support_level": null,
          "aa_start": 1071,
          "aa_end": null,
          "aa_length": 2038,
          "cds_start": 3211,
          "cds_end": null,
          "cds_length": 6117,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047442191.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ATRX",
          "gene_hgnc_id": 886,
          "hgvs_c": "c.3211G>A",
          "hgvs_p": "p.Gly1071Arg",
          "transcript": "XM_006724668.4",
          "protein_id": "XP_006724731.1",
          "transcript_support_level": null,
          "aa_start": 1071,
          "aa_end": null,
          "aa_length": 1871,
          "cds_start": 3211,
          "cds_end": null,
          "cds_length": 5616,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006724668.4"
        }
      ],
      "gene_symbol": "ATRX",
      "gene_hgnc_id": 886,
      "dbsnp": "rs143621153",
      "frequency_reference_population": 0.00003638923,
      "hom_count_reference_population": 12,
      "allele_count_reference_population": 44,
      "gnomad_exomes_af": 0.0000382631,
      "gnomad_genomes_af": 0.0000179396,
      "gnomad_exomes_ac": 42,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.05063745379447937,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.282,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.074,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.5,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.875,
      "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": -9,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BS2",
      "acmg_by_gene": [
        {
          "score": -9,
          "benign_score": 9,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_000489.6",
          "gene_symbol": "ATRX",
          "hgnc_id": 886,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL",
          "hgvs_c": "c.3211G>A",
          "hgvs_p": "p.Gly1071Arg"
        }
      ],
      "clinvar_disease": " 1, X-linked,ATRX-related disorder,Acquired hemoglobin H disease,Alpha thalassemia-X-linked intellectual disability syndrome,Inborn genetic diseases,Intellectual disability-hypotonic facies syndrome",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:2",
      "phenotype_combined": "Alpha thalassemia-X-linked intellectual disability syndrome|Acquired hemoglobin H disease;Alpha thalassemia-X-linked intellectual disability syndrome;Intellectual disability-hypotonic facies syndrome, X-linked, 1|Inborn genetic diseases|ATRX-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.