← 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: 3-122282169-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 122282169,
      "ref": "T",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "ENST00000639785.2",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "NM_000388.4",
          "protein_id": "NP_000379.3",
          "transcript_support_level": null,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 2052,
          "cdna_end": null,
          "cdna_length": 10062,
          "mane_select": "ENST00000639785.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "ENST00000639785.2",
          "protein_id": "ENSP00000491584.2",
          "transcript_support_level": 1,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 2052,
          "cdna_end": null,
          "cdna_length": 10062,
          "mane_select": "NM_000388.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1695T>C",
          "hgvs_p": "p.Ile565Ile",
          "transcript": "ENST00000498619.4",
          "protein_id": "ENSP00000420194.1",
          "transcript_support_level": 1,
          "aa_start": 565,
          "aa_end": null,
          "aa_length": 1088,
          "cds_start": 1695,
          "cds_end": null,
          "cds_length": 3267,
          "cdna_start": 2133,
          "cdna_end": null,
          "cdna_length": 5009,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1695T>C",
          "hgvs_p": "p.Ile565Ile",
          "transcript": "NM_001178065.2",
          "protein_id": "NP_001171536.2",
          "transcript_support_level": null,
          "aa_start": 565,
          "aa_end": null,
          "aa_length": 1088,
          "cds_start": 1695,
          "cds_end": null,
          "cds_length": 3267,
          "cdna_start": 2140,
          "cdna_end": null,
          "cdna_length": 10150,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "ENST00000638421.1",
          "protein_id": "ENSP00000492190.1",
          "transcript_support_level": 5,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 2204,
          "cdna_end": null,
          "cdna_length": 5088,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1434T>C",
          "hgvs_p": "p.Ile478Ile",
          "transcript": "ENST00000490131.7",
          "protein_id": "ENSP00000418685.2",
          "transcript_support_level": 5,
          "aa_start": 478,
          "aa_end": null,
          "aa_length": 1001,
          "cds_start": 1434,
          "cds_end": null,
          "cds_length": 3006,
          "cdna_start": 1676,
          "cdna_end": null,
          "cdna_length": 4015,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "XM_006713789.4",
          "protein_id": "XP_006713852.1",
          "transcript_support_level": null,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 2110,
          "cdna_end": null,
          "cdna_length": 10120,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "XM_017007324.2",
          "protein_id": "XP_016862813.1",
          "transcript_support_level": null,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 3984,
          "cdna_end": null,
          "cdna_length": 11994,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile",
          "transcript": "XM_017007325.2",
          "protein_id": "XP_016862814.1",
          "transcript_support_level": null,
          "aa_start": 555,
          "aa_end": null,
          "aa_length": 1078,
          "cds_start": 1665,
          "cds_end": null,
          "cds_length": 3237,
          "cdna_start": 2009,
          "cdna_end": null,
          "cdna_length": 10019,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CASR",
          "gene_hgnc_id": 1514,
          "hgvs_c": "c.1182T>C",
          "hgvs_p": "p.Ile394Ile",
          "transcript": "XM_047449065.1",
          "protein_id": "XP_047305021.1",
          "transcript_support_level": null,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 917,
          "cds_start": 1182,
          "cds_end": null,
          "cds_length": 2754,
          "cdna_start": 1803,
          "cdna_end": null,
          "cdna_length": 9813,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CASR",
      "gene_hgnc_id": 1514,
      "dbsnp": "rs201955278",
      "frequency_reference_population": 0.00010469583,
      "hom_count_reference_population": 2,
      "allele_count_reference_population": 169,
      "gnomad_exomes_af": 0.000110817,
      "gnomad_genomes_af": 0.0000459547,
      "gnomad_exomes_ac": 162,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 2,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5899999737739563,
      "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.59,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.575,
      "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": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000639785.2",
          "gene_symbol": "CASR",
          "hgnc_id": 1514,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.1665T>C",
          "hgvs_p": "p.Ile555Ile"
        }
      ],
      "clinvar_disease": "Autosomal dominant hypocalcemia 1,Familial hypocalciuric hypercalcemia,Familial hypocalciuric hypercalcemia 1,Familial hypoparathyroidism,Neonatal severe primary hyperparathyroidism,Nephrolithiasis/nephrocalcinosis,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:3 LB:2 B:2",
      "phenotype_combined": "Familial hypoparathyroidism|Autosomal dominant hypocalcemia 1|Familial hypocalciuric hypercalcemia 1|Neonatal severe primary hyperparathyroidism|Autosomal dominant hypocalcemia 1;Familial hypocalciuric hypercalcemia|Nephrolithiasis/nephrocalcinosis|not specified",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}