← 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-207475111-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 207475111,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000367057.8",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2611G>T",
          "hgvs_p": "p.Val871Leu",
          "transcript": "NM_001006658.3",
          "protein_id": "NP_001006659.1",
          "transcript_support_level": null,
          "aa_start": 871,
          "aa_end": null,
          "aa_length": 1092,
          "cds_start": 2611,
          "cds_end": null,
          "cds_length": 3279,
          "cdna_start": 2702,
          "cdna_end": null,
          "cdna_length": 4139,
          "mane_select": "ENST00000367057.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2611G>T",
          "hgvs_p": "p.Val871Leu",
          "transcript": "ENST00000367057.8",
          "protein_id": "ENSP00000356024.3",
          "transcript_support_level": 1,
          "aa_start": 871,
          "aa_end": null,
          "aa_length": 1092,
          "cds_start": 2611,
          "cds_end": null,
          "cds_length": 3279,
          "cdna_start": 2702,
          "cdna_end": null,
          "cdna_length": 4139,
          "mane_select": "NM_001006658.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2434G>T",
          "hgvs_p": "p.Val812Leu",
          "transcript": "ENST00000367058.7",
          "protein_id": "ENSP00000356025.3",
          "transcript_support_level": 1,
          "aa_start": 812,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2434,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 2623,
          "cdna_end": null,
          "cdna_length": 4063,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2434G>T",
          "hgvs_p": "p.Val812Leu",
          "transcript": "ENST00000367059.3",
          "protein_id": "ENSP00000356026.3",
          "transcript_support_level": 1,
          "aa_start": 812,
          "aa_end": null,
          "aa_length": 971,
          "cds_start": 2434,
          "cds_end": null,
          "cds_length": 2916,
          "cdna_start": 2623,
          "cdna_end": null,
          "cdna_length": 3877,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2434G>T",
          "hgvs_p": "p.Val812Leu",
          "transcript": "NM_001877.5",
          "protein_id": "NP_001868.2",
          "transcript_support_level": null,
          "aa_start": 812,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2434,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 2525,
          "cdna_end": null,
          "cdna_length": 3962,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2065G>T",
          "hgvs_p": "p.Val689Leu",
          "transcript": "ENST00000699620.1",
          "protein_id": "ENSP00000514480.1",
          "transcript_support_level": null,
          "aa_start": 689,
          "aa_end": null,
          "aa_length": 910,
          "cds_start": 2065,
          "cds_end": null,
          "cds_length": 2733,
          "cdna_start": 2574,
          "cdna_end": null,
          "cdna_length": 4007,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CR2",
          "gene_hgnc_id": 2336,
          "hgvs_c": "c.2053G>T",
          "hgvs_p": "p.Val685Leu",
          "transcript": "ENST00000699621.1",
          "protein_id": "ENSP00000514481.1",
          "transcript_support_level": null,
          "aa_start": 685,
          "aa_end": null,
          "aa_length": 898,
          "cds_start": 2053,
          "cds_end": null,
          "cds_length": 2697,
          "cdna_start": 2054,
          "cdna_end": null,
          "cdna_length": 3411,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CR2",
      "gene_hgnc_id": 2336,
      "dbsnp": "rs144572703",
      "frequency_reference_population": 0.0049293768,
      "hom_count_reference_population": 32,
      "allele_count_reference_population": 7950,
      "gnomad_exomes_af": 0.00509894,
      "gnomad_genomes_af": 0.00330313,
      "gnomad_exomes_ac": 7447,
      "gnomad_genomes_ac": 503,
      "gnomad_exomes_homalt": 30,
      "gnomad_genomes_homalt": 2,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.006873279809951782,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.079,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1619,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.4,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.6,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000367057.8",
          "gene_symbol": "CR2",
          "hgnc_id": 2336,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AR,AD",
          "hgvs_c": "c.2611G>T",
          "hgvs_p": "p.Val871Leu"
        }
      ],
      "clinvar_disease": " 7, common variable,Immunodeficiency,not provided",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:5",
      "phenotype_combined": "not provided|Immunodeficiency, common variable, 7",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}