← 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-139561780-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 139561780,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "ENST00000218099.7",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "c.1095A>G",
          "hgvs_p": "p.Ser365Ser",
          "transcript": "NM_000133.4",
          "protein_id": "NP_000124.1",
          "transcript_support_level": null,
          "aa_start": 365,
          "aa_end": null,
          "aa_length": 461,
          "cds_start": 1095,
          "cds_end": null,
          "cds_length": 1386,
          "cdna_start": 1121,
          "cdna_end": null,
          "cdna_length": 2800,
          "mane_select": "ENST00000218099.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "c.1095A>G",
          "hgvs_p": "p.Ser365Ser",
          "transcript": "ENST00000218099.7",
          "protein_id": "ENSP00000218099.2",
          "transcript_support_level": 1,
          "aa_start": 365,
          "aa_end": null,
          "aa_length": 461,
          "cds_start": 1095,
          "cds_end": null,
          "cds_length": 1386,
          "cdna_start": 1121,
          "cdna_end": null,
          "cdna_length": 2800,
          "mane_select": "NM_000133.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "c.981A>G",
          "hgvs_p": "p.Ser327Ser",
          "transcript": "ENST00000394090.2",
          "protein_id": "ENSP00000377650.2",
          "transcript_support_level": 1,
          "aa_start": 327,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": 981,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": 981,
          "cdna_end": null,
          "cdna_length": 1272,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "c.981A>G",
          "hgvs_p": "p.Ser327Ser",
          "transcript": "NM_001313913.2",
          "protein_id": "NP_001300842.1",
          "transcript_support_level": null,
          "aa_start": 327,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": 981,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": 1007,
          "cdna_end": null,
          "cdna_length": 2686,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "c.966A>G",
          "hgvs_p": "p.Ser322Ser",
          "transcript": "XM_005262397.5",
          "protein_id": "XP_005262454.1",
          "transcript_support_level": null,
          "aa_start": 322,
          "aa_end": null,
          "aa_length": 418,
          "cds_start": 966,
          "cds_end": null,
          "cds_length": 1257,
          "cdna_start": 992,
          "cdna_end": null,
          "cdna_length": 2671,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "F9",
          "gene_hgnc_id": 3551,
          "hgvs_c": "n.1723+39A>G",
          "hgvs_p": null,
          "transcript": "ENST00000643157.1",
          "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": 1919,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "F9",
      "gene_hgnc_id": 3551,
      "dbsnp": "rs112057482",
      "frequency_reference_population": 0.0019986697,
      "hom_count_reference_population": 700,
      "allele_count_reference_population": 2419,
      "gnomad_exomes_af": 0.0012338,
      "gnomad_genomes_af": 0.00949364,
      "gnomad_exomes_ac": 1355,
      "gnomad_genomes_ac": 1064,
      "gnomad_exomes_homalt": 10,
      "gnomad_genomes_homalt": 9,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.9300000071525574,
      "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.93,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.644,
      "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": -10,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP7,BP4,BA1",
      "acmg_by_gene": [
        {
          "score": -10,
          "benign_score": 10,
          "pathogenic_score": 0,
          "criteria": [
            "BP7",
            "BP4",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000218099.7",
          "gene_symbol": "F9",
          "hgnc_id": 3551,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "XL",
          "hgvs_c": "c.1095A>G",
          "hgvs_p": "p.Ser365Ser"
        }
      ],
      "clinvar_disease": " X-linked, due to factor 9 defect,Hereditary factor IX deficiency disease,Thrombophilia,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "LB:2 B:3",
      "phenotype_combined": "Hereditary factor IX deficiency disease|not specified|Hereditary factor IX deficiency disease;Thrombophilia, X-linked, due to factor 9 defect|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}