← 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: 1-229431913-C-CG (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 229431913,
      "ref": "C",
      "alt": "CG",
      "effect": "intron_variant",
      "transcript": "ENST00000366684.7",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "ACTA1",
          "gene_hgnc_id": 129,
          "hgvs_c": "c.809-12dupC",
          "hgvs_p": null,
          "transcript": "NM_001100.4",
          "protein_id": "NP_001091.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 377,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1134,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1491,
          "mane_select": "ENST00000366684.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "ACTA1",
          "gene_hgnc_id": 129,
          "hgvs_c": "c.809-12_809-11insC",
          "hgvs_p": null,
          "transcript": "ENST00000366684.7",
          "protein_id": "ENSP00000355645.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 377,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1134,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1491,
          "mane_select": "NM_001100.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "ACTA1",
          "gene_hgnc_id": 129,
          "hgvs_c": "c.809-12_809-11insC",
          "hgvs_p": null,
          "transcript": "ENST00000366683.4",
          "protein_id": "ENSP00000355644.4",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 351,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1056,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1423,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "ACTA1",
          "gene_hgnc_id": 129,
          "hgvs_c": "c.674-12_674-11insC",
          "hgvs_p": null,
          "transcript": "ENST00000684723.1",
          "protein_id": "ENSP00000508084.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 332,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 999,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2236,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000290037",
          "gene_hgnc_id": null,
          "hgvs_c": "n.*52_*53insG",
          "hgvs_p": null,
          "transcript": "ENST00000702606.2",
          "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": 496,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ACTA1",
      "gene_hgnc_id": 129,
      "dbsnp": "rs201427429",
      "frequency_reference_population": 0.1579521,
      "hom_count_reference_population": 20639,
      "allele_count_reference_population": 254488,
      "gnomad_exomes_af": 0.159278,
      "gnomad_genomes_af": 0.145184,
      "gnomad_exomes_ac": 232485,
      "gnomad_genomes_ac": 22003,
      "gnomad_exomes_homalt": 18917,
      "gnomad_genomes_homalt": 1722,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 0.306,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": "BP4,BA1,BP7",
      "acmg_by_gene": [
        {
          "score": -10,
          "benign_score": 10,
          "pathogenic_score": 0,
          "criteria": [
            "BP4",
            "BA1",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000366684.7",
          "gene_symbol": "ACTA1",
          "hgnc_id": 129,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "SD,AD,AR,Unknown",
          "hgvs_c": "c.809-12_809-11insC",
          "hgvs_p": null
        },
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000702606.2",
          "gene_symbol": "ENSG00000290037",
          "hgnc_id": null,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.*52_*53insG",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Actin accumulation myopathy,Alpha-actinopathy,Congenital myopathy with fiber type disproportion,Familial restrictive cardiomyopathy,Nemaline myopathy,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "LB:3 B:4",
      "phenotype_combined": "not specified|Familial restrictive cardiomyopathy|Nemaline myopathy|Congenital myopathy with fiber type disproportion|Actin accumulation myopathy|not provided|Alpha-actinopathy",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}