← 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: 19-18747094-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 18747094,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "NM_015321.3",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.423C>T",
          "hgvs_p": "p.Pro141Pro",
          "transcript": "NM_015321.3",
          "protein_id": "NP_056136.2",
          "transcript_support_level": null,
          "aa_start": 141,
          "aa_end": null,
          "aa_length": 634,
          "cds_start": 423,
          "cds_end": null,
          "cds_length": 1905,
          "cdna_start": 446,
          "cdna_end": null,
          "cdna_length": 6879,
          "mane_select": "ENST00000321949.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.423C>T",
          "hgvs_p": "p.Pro141Pro",
          "transcript": "ENST00000321949.13",
          "protein_id": "ENSP00000323332.7",
          "transcript_support_level": 1,
          "aa_start": 141,
          "aa_end": null,
          "aa_length": 634,
          "cds_start": 423,
          "cds_end": null,
          "cds_length": 1905,
          "cdna_start": 446,
          "cdna_end": null,
          "cdna_length": 6879,
          "mane_select": "NM_015321.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.471C>T",
          "hgvs_p": "p.Pro157Pro",
          "transcript": "ENST00000338797.10",
          "protein_id": "ENSP00000345001.5",
          "transcript_support_level": 1,
          "aa_start": 157,
          "aa_end": null,
          "aa_length": 650,
          "cds_start": 471,
          "cds_end": null,
          "cds_length": 1953,
          "cdna_start": 496,
          "cdna_end": null,
          "cdna_length": 6929,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.300C>T",
          "hgvs_p": "p.Pro100Pro",
          "transcript": "ENST00000594658.5",
          "protein_id": "ENSP00000468893.1",
          "transcript_support_level": 1,
          "aa_start": 100,
          "aa_end": null,
          "aa_length": 593,
          "cds_start": 300,
          "cds_end": null,
          "cds_length": 1782,
          "cdna_start": 332,
          "cdna_end": null,
          "cdna_length": 2384,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.471C>T",
          "hgvs_p": "p.Pro157Pro",
          "transcript": "NM_001098482.2",
          "protein_id": "NP_001091952.1",
          "transcript_support_level": null,
          "aa_start": 157,
          "aa_end": null,
          "aa_length": 650,
          "cds_start": 471,
          "cds_end": null,
          "cds_length": 1953,
          "cdna_start": 494,
          "cdna_end": null,
          "cdna_length": 6927,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CRTC1",
          "gene_hgnc_id": 16062,
          "hgvs_c": "c.198C>T",
          "hgvs_p": "p.Pro66Pro",
          "transcript": "ENST00000601916.1",
          "protein_id": "ENSP00000469285.1",
          "transcript_support_level": 5,
          "aa_start": 66,
          "aa_end": null,
          "aa_length": 392,
          "cds_start": 198,
          "cds_end": null,
          "cds_length": 1179,
          "cdna_start": 297,
          "cdna_end": null,
          "cdna_length": 1834,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CRTC1",
      "gene_hgnc_id": 16062,
      "dbsnp": "rs777137375",
      "frequency_reference_population": 0.000042179174,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 68,
      "gnomad_exomes_af": 0.0000417542,
      "gnomad_genomes_af": 0.0000462847,
      "gnomad_exomes_ac": 61,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6000000238418579,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.6,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -4.369,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.03,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7,BS2",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 11,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_015321.3",
          "gene_symbol": "CRTC1",
          "hgnc_id": 16062,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.423C>T",
          "hgvs_p": "p.Pro141Pro"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}