← 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: 18-48948376-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 11,
          "criteria": [
            "BP4_Moderate",
            "BP6",
            "BA1"
          ],
          "effects": [
            "splice_region_variant",
            "intron_variant"
          ],
          "gene_symbol": "SMAD7",
          "hgnc_id": 6773,
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "inheritance_mode": "AD",
          "pathogenic_score": 0,
          "score": -11,
          "transcript": "NM_005904.4",
          "verdict": "Benign"
        }
      ],
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6,BA1",
      "acmg_score": -11,
      "allele_count_reference_population": 359283,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "T",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.35,
      "chr": "18",
      "clinvar_classification": "Likely benign",
      "clinvar_disease": "SMAD7-related disorder",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": -0.3499999940395355,
      "computational_source_selected": "BayesDel_noAF",
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 426,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3341,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1281,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_005904.4",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000262158.8",
          "protein_coding": true,
          "protein_id": "NP_005895.1",
          "strand": false,
          "transcript": "NM_005904.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 426,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 3341,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1281,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000262158.8",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_005904.4",
          "protein_coding": true,
          "protein_id": "ENSP00000262158.2",
          "strand": false,
          "transcript": "ENST00000262158.8",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 425,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 3338,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1278,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_001190821.2",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001177750.1",
          "strand": false,
          "transcript": "NM_001190821.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 425,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1278,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1278,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000589634.1",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000467621.1",
          "strand": false,
          "transcript": "ENST00000589634.1",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 401,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4318,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1206,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000911789.1",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.667+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000581848.1",
          "strand": false,
          "transcript": "ENST00000911789.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 383,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4259,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1152,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 2,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000951831.1",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.613+1436G>A",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000621890.1",
          "strand": false,
          "transcript": "ENST00000951831.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 211,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2292,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 636,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_001190822.2",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.22+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001177751.1",
          "strand": false,
          "transcript": "NM_001190822.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 211,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1152,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 636,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000591805.5",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.22+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000466902.1",
          "strand": false,
          "transcript": "ENST00000591805.5",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 157,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 574,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 474,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000586093.1",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.22+8G>A",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000465590.1",
          "strand": false,
          "transcript": "ENST00000586093.1",
          "transcript_support_level": 2
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 210,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2289,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 633,
          "cds_start": null,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_047437509.1",
          "gene_hgnc_id": 6773,
          "gene_symbol": "SMAD7",
          "hgvs_c": "c.22+8G>A",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_047293465.1",
          "strand": false,
          "transcript": "XM_047437509.1",
          "transcript_support_level": null
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": "Benign",
      "dbscsnv_ada_score": 0.0166789967094713,
      "dbsnp": "rs3736242",
      "effect": "splice_region_variant,intron_variant",
      "frequency_reference_population": 0.2289357,
      "gene_hgnc_id": 6773,
      "gene_symbol": "SMAD7",
      "gnomad_exomes_ac": 326880,
      "gnomad_exomes_af": 0.230644,
      "gnomad_exomes_homalt": 38709,
      "gnomad_genomes_ac": 32403,
      "gnomad_genomes_af": 0.213023,
      "gnomad_genomes_homalt": 3542,
      "gnomad_mito_heteroplasmic": null,
      "gnomad_mito_homoplasmic": null,
      "hom_count_reference_population": 42251,
      "mitotip_prediction": null,
      "mitotip_score": null,
      "pathogenicity_classification_combined": "Likely benign",
      "phenotype_combined": "SMAD7-related disorder",
      "phylop100way_prediction": "Benign",
      "phylop100way_score": 1.121,
      "pos": 48948376,
      "ref": "C",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0.052000001072883606,
      "splice_source_selected": "dbscSNV1_RF",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0.02,
      "transcript": "NM_005904.4"
    }
  ]
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.