← 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: 2-108910783-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 108910783,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "ENST00000258443.7",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EDAR",
          "gene_hgnc_id": 2895,
          "hgvs_c": "c.723G>A",
          "hgvs_p": "p.Glu241Glu",
          "transcript": "NM_022336.4",
          "protein_id": "NP_071731.1",
          "transcript_support_level": null,
          "aa_start": 241,
          "aa_end": null,
          "aa_length": 448,
          "cds_start": 723,
          "cds_end": null,
          "cds_length": 1347,
          "cdna_start": 1002,
          "cdna_end": null,
          "cdna_length": 4062,
          "mane_select": "ENST00000258443.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EDAR",
          "gene_hgnc_id": 2895,
          "hgvs_c": "c.723G>A",
          "hgvs_p": "p.Glu241Glu",
          "transcript": "ENST00000258443.7",
          "protein_id": "ENSP00000258443.2",
          "transcript_support_level": 1,
          "aa_start": 241,
          "aa_end": null,
          "aa_length": 448,
          "cds_start": 723,
          "cds_end": null,
          "cds_length": 1347,
          "cdna_start": 1002,
          "cdna_end": null,
          "cdna_length": 4062,
          "mane_select": "NM_022336.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EDAR",
          "gene_hgnc_id": 2895,
          "hgvs_c": "c.819G>A",
          "hgvs_p": "p.Glu273Glu",
          "transcript": "ENST00000376651.1",
          "protein_id": "ENSP00000365839.1",
          "transcript_support_level": 2,
          "aa_start": 273,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 819,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": 1250,
          "cdna_end": null,
          "cdna_length": 4303,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EDAR",
          "gene_hgnc_id": 2895,
          "hgvs_c": "c.819G>A",
          "hgvs_p": "p.Glu273Glu",
          "transcript": "ENST00000409271.5",
          "protein_id": "ENSP00000386371.1",
          "transcript_support_level": 2,
          "aa_start": 273,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 819,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": 1263,
          "cdna_end": null,
          "cdna_length": 4323,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EDAR",
          "gene_hgnc_id": 2895,
          "hgvs_c": "c.819G>A",
          "hgvs_p": "p.Glu273Glu",
          "transcript": "XM_006712204.2",
          "protein_id": "XP_006712267.1",
          "transcript_support_level": null,
          "aa_start": 273,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 819,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": 1098,
          "cdna_end": null,
          "cdna_length": 4158,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 24,
          "intron_rank_end": null,
          "gene_symbol": "RANBP2",
          "gene_hgnc_id": 9848,
          "hgvs_c": "c.8370+137737C>T",
          "hgvs_p": null,
          "transcript": "XM_047445367.1",
          "protein_id": "XP_047301323.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2807,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8424,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9393,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "EDAR",
      "gene_hgnc_id": 2895,
      "dbsnp": "rs3749108",
      "frequency_reference_population": 0.00681393,
      "hom_count_reference_population": 84,
      "allele_count_reference_population": 10992,
      "gnomad_exomes_af": 0.00702778,
      "gnomad_genomes_af": 0.00475978,
      "gnomad_exomes_ac": 10268,
      "gnomad_genomes_ac": 724,
      "gnomad_exomes_homalt": 78,
      "gnomad_genomes_homalt": 6,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.4300000071525574,
      "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.43,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.341,
      "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": -19,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -19,
          "benign_score": 19,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000258443.7",
          "gene_symbol": "EDAR",
          "hgnc_id": 2895,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.723G>A",
          "hgvs_p": "p.Glu241Glu"
        },
        {
          "score": -18,
          "benign_score": 18,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "XM_047445367.1",
          "gene_symbol": "RANBP2",
          "hgnc_id": 9848,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.8370+137737C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " autosomal dominant, autosomal recessive, hypohidrotic/hair/nail type, hypohidrotic/hair/tooth type,Autosomal recessive hypohidrotic ectodermal dysplasia syndrome,Ectodermal dysplasia 10A,Ectodermal dysplasia 10B,HAIR MORPHOLOGY 1,Hypohidrotic ectodermal dysplasia,not provided",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:1 B:4",
      "phenotype_combined": "Ectodermal dysplasia 10A, hypohidrotic/hair/nail type, autosomal dominant;Autosomal recessive hypohidrotic ectodermal dysplasia syndrome|Hypohidrotic ectodermal dysplasia|not provided|Ectodermal dysplasia 10A, hypohidrotic/hair/nail type, autosomal dominant;Ectodermal dysplasia 10B, hypohidrotic/hair/tooth type, autosomal recessive;HAIR MORPHOLOGY 1",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}