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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 196228299,
      "ref": "T",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "NM_198503.5",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3333A>C",
          "hgvs_p": "p.Pro1111Pro",
          "transcript": "NM_198503.5",
          "protein_id": "NP_940905.2",
          "transcript_support_level": null,
          "aa_start": 1111,
          "aa_end": null,
          "aa_length": 1135,
          "cds_start": 3333,
          "cds_end": null,
          "cds_length": 3408,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000294725.14",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_198503.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3333A>C",
          "hgvs_p": "p.Pro1111Pro",
          "transcript": "ENST00000294725.14",
          "protein_id": "ENSP00000294725.8",
          "transcript_support_level": 1,
          "aa_start": 1111,
          "aa_end": null,
          "aa_length": 1135,
          "cds_start": 3333,
          "cds_end": null,
          "cds_length": 3408,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_198503.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000294725.14"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3261A>C",
          "hgvs_p": "p.Pro1087Pro",
          "transcript": "ENST00000367433.9",
          "protein_id": "ENSP00000356403.5",
          "transcript_support_level": 1,
          "aa_start": 1087,
          "aa_end": null,
          "aa_length": 1111,
          "cds_start": 3261,
          "cds_end": null,
          "cds_length": 3336,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000367433.9"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3132A>C",
          "hgvs_p": "p.Pro1044Pro",
          "transcript": "ENST00000609185.5",
          "protein_id": "ENSP00000476657.1",
          "transcript_support_level": 1,
          "aa_start": 1044,
          "aa_end": null,
          "aa_length": 1068,
          "cds_start": 3132,
          "cds_end": null,
          "cds_length": 3207,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000609185.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3303A>C",
          "hgvs_p": "p.Pro1101Pro",
          "transcript": "ENST00000882026.1",
          "protein_id": "ENSP00000552085.1",
          "transcript_support_level": null,
          "aa_start": 1101,
          "aa_end": null,
          "aa_length": 1125,
          "cds_start": 3303,
          "cds_end": null,
          "cds_length": 3378,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000882026.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3261A>C",
          "hgvs_p": "p.Pro1087Pro",
          "transcript": "NM_001287819.3",
          "protein_id": "NP_001274748.1",
          "transcript_support_level": null,
          "aa_start": 1087,
          "aa_end": null,
          "aa_length": 1111,
          "cds_start": 3261,
          "cds_end": null,
          "cds_length": 3336,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001287819.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3132A>C",
          "hgvs_p": "p.Pro1044Pro",
          "transcript": "NM_001287820.3",
          "protein_id": "NP_001274749.1",
          "transcript_support_level": null,
          "aa_start": 1044,
          "aa_end": null,
          "aa_length": 1068,
          "cds_start": 3132,
          "cds_end": null,
          "cds_length": 3207,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001287820.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3354A>C",
          "hgvs_p": "p.Pro1118Pro",
          "transcript": "XM_006711294.4",
          "protein_id": "XP_006711357.1",
          "transcript_support_level": null,
          "aa_start": 1118,
          "aa_end": null,
          "aa_length": 1142,
          "cds_start": 3354,
          "cds_end": null,
          "cds_length": 3429,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006711294.4"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.3282A>C",
          "hgvs_p": "p.Pro1094Pro",
          "transcript": "XM_006711295.4",
          "protein_id": "XP_006711358.1",
          "transcript_support_level": null,
          "aa_start": 1094,
          "aa_end": null,
          "aa_length": 1118,
          "cds_start": 3282,
          "cds_end": null,
          "cds_length": 3357,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006711295.4"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.2184A>C",
          "hgvs_p": "p.Pro728Pro",
          "transcript": "XM_017001181.2",
          "protein_id": "XP_016856670.1",
          "transcript_support_level": null,
          "aa_start": 728,
          "aa_end": null,
          "aa_length": 752,
          "cds_start": 2184,
          "cds_end": null,
          "cds_length": 2259,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017001181.2"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "c.1917A>C",
          "hgvs_p": "p.Pro639Pro",
          "transcript": "XM_017001183.2",
          "protein_id": "XP_016856672.1",
          "transcript_support_level": null,
          "aa_start": 639,
          "aa_end": null,
          "aa_length": 663,
          "cds_start": 1917,
          "cds_end": null,
          "cds_length": 1992,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017001183.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "n.2641A>C",
          "hgvs_p": null,
          "transcript": "ENST00000498426.5",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000498426.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "n.*1100A>C",
          "hgvs_p": null,
          "transcript": "ENST00000647658.1",
          "protein_id": "ENSP00000496885.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000647658.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "n.3355A>C",
          "hgvs_p": null,
          "transcript": "NR_146057.2",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_146057.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "n.3547A>C",
          "hgvs_p": null,
          "transcript": "NR_146058.2",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_146058.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNT2",
          "gene_hgnc_id": 18866,
          "hgvs_c": "n.*1100A>C",
          "hgvs_p": null,
          "transcript": "ENST00000647658.1",
          "protein_id": "ENSP00000496885.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000647658.1"
        }
      ],
      "gene_symbol": "KCNT2",
      "gene_hgnc_id": 18866,
      "dbsnp": "rs760206396",
      "frequency_reference_population": 0.000029182615,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 47,
      "gnomad_exomes_af": 0.0000301698,
      "gnomad_genomes_af": 0.0000197195,
      "gnomad_exomes_ac": 44,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5299999713897705,
      "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.53,
      "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": -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_198503.5",
          "gene_symbol": "KCNT2",
          "hgnc_id": 18866,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3333A>C",
          "hgvs_p": "p.Pro1111Pro"
        }
      ],
      "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
}
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.