← 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: 21-45488441-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 45488441,
      "ref": "T",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "ENST00000651438.1",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 42,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.1920T>G",
          "hgvs_p": "p.Leu640Leu",
          "transcript": "NM_001379500.1",
          "protein_id": "NP_001366429.1",
          "transcript_support_level": null,
          "aa_start": 640,
          "aa_end": null,
          "aa_length": 1339,
          "cds_start": 1920,
          "cds_end": null,
          "cds_length": 4020,
          "cdna_start": 1986,
          "cdna_end": null,
          "cdna_length": 5408,
          "mane_select": "ENST00000651438.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 42,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.1920T>G",
          "hgvs_p": "p.Leu640Leu",
          "transcript": "ENST00000651438.1",
          "protein_id": "ENSP00000498485.1",
          "transcript_support_level": null,
          "aa_start": 640,
          "aa_end": null,
          "aa_length": 1339,
          "cds_start": 1920,
          "cds_end": null,
          "cds_length": 4020,
          "cdna_start": 1986,
          "cdna_end": null,
          "cdna_length": 5408,
          "mane_select": "NM_001379500.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.2460T>G",
          "hgvs_p": "p.Leu820Leu",
          "transcript": "ENST00000355480.10",
          "protein_id": "ENSP00000347665.5",
          "transcript_support_level": 1,
          "aa_start": 820,
          "aa_end": null,
          "aa_length": 1519,
          "cds_start": 2460,
          "cds_end": null,
          "cds_length": 4560,
          "cdna_start": 2469,
          "cdna_end": null,
          "cdna_length": 5891,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.3165T>G",
          "hgvs_p": "p.Leu1055Leu",
          "transcript": "NM_130444.3",
          "protein_id": "NP_569711.2",
          "transcript_support_level": null,
          "aa_start": 1055,
          "aa_end": null,
          "aa_length": 1754,
          "cds_start": 3165,
          "cds_end": null,
          "cds_length": 5265,
          "cdna_start": 3174,
          "cdna_end": null,
          "cdna_length": 6596,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.3165T>G",
          "hgvs_p": "p.Leu1055Leu",
          "transcript": "ENST00000359759.8",
          "protein_id": "ENSP00000352798.4",
          "transcript_support_level": 5,
          "aa_start": 1055,
          "aa_end": null,
          "aa_length": 1754,
          "cds_start": 3165,
          "cds_end": null,
          "cds_length": 5265,
          "cdna_start": 3165,
          "cdna_end": null,
          "cdna_length": 6586,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL18A1",
          "gene_hgnc_id": 2195,
          "hgvs_c": "c.2460T>G",
          "hgvs_p": "p.Leu820Leu",
          "transcript": "NM_030582.4",
          "protein_id": "NP_085059.2",
          "transcript_support_level": null,
          "aa_start": 820,
          "aa_end": null,
          "aa_length": 1519,
          "cds_start": 2460,
          "cds_end": null,
          "cds_length": 4560,
          "cdna_start": 2469,
          "cdna_end": null,
          "cdna_length": 5891,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL18A1",
      "gene_hgnc_id": 2195,
      "dbsnp": "rs11702425",
      "frequency_reference_population": 0.0000041051635,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 6,
      "gnomad_exomes_af": 0.00000410516,
      "gnomad_genomes_af": 0,
      "gnomad_exomes_ac": 6,
      "gnomad_genomes_ac": 0,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.800000011920929,
      "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.8,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.012,
      "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": -7,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -7,
          "benign_score": 7,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000651438.1",
          "gene_symbol": "COL18A1",
          "hgnc_id": 2195,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1920T>G",
          "hgvs_p": "p.Leu640Leu"
        }
      ],
      "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
}