← 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: 11-2571339-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 2571339,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000155840.12",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.619G>A",
          "hgvs_p": "p.Val207Met",
          "transcript": "NM_000218.3",
          "protein_id": "NP_000209.2",
          "transcript_support_level": null,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 676,
          "cds_start": 619,
          "cds_end": null,
          "cds_length": 2031,
          "cdna_start": 710,
          "cdna_end": null,
          "cdna_length": 3224,
          "mane_select": "ENST00000155840.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.619G>A",
          "hgvs_p": "p.Val207Met",
          "transcript": "ENST00000155840.12",
          "protein_id": "ENSP00000155840.2",
          "transcript_support_level": 1,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 676,
          "cds_start": 619,
          "cds_end": null,
          "cds_length": 2031,
          "cdna_start": 710,
          "cdna_end": null,
          "cdna_length": 3224,
          "mane_select": "NM_000218.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.238G>A",
          "hgvs_p": "p.Val80Met",
          "transcript": "ENST00000335475.6",
          "protein_id": "ENSP00000334497.5",
          "transcript_support_level": 1,
          "aa_start": 80,
          "aa_end": null,
          "aa_length": 549,
          "cds_start": 238,
          "cds_end": null,
          "cds_length": 1650,
          "cdna_start": 507,
          "cdna_end": null,
          "cdna_length": 2907,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.619G>A",
          "hgvs_p": "p.Val207Met",
          "transcript": "NM_001406836.1",
          "protein_id": "NP_001393765.1",
          "transcript_support_level": null,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 644,
          "cds_start": 619,
          "cds_end": null,
          "cds_length": 1935,
          "cdna_start": 710,
          "cdna_end": null,
          "cdna_length": 3128,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.619G>A",
          "hgvs_p": "p.Val207Met",
          "transcript": "ENST00000713725.1",
          "protein_id": "ENSP00000519029.1",
          "transcript_support_level": null,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 629,
          "cds_start": 619,
          "cds_end": null,
          "cds_length": 1890,
          "cdna_start": 824,
          "cdna_end": null,
          "cdna_length": 3083,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.349G>A",
          "hgvs_p": "p.Val117Met",
          "transcript": "NM_001406837.1",
          "protein_id": "NP_001393766.1",
          "transcript_support_level": null,
          "aa_start": 117,
          "aa_end": null,
          "aa_length": 586,
          "cds_start": 349,
          "cds_end": null,
          "cds_length": 1761,
          "cdna_start": 802,
          "cdna_end": null,
          "cdna_length": 3316,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.358G>A",
          "hgvs_p": "p.Val120Met",
          "transcript": "ENST00000496887.7",
          "protein_id": "ENSP00000434560.2",
          "transcript_support_level": 5,
          "aa_start": 120,
          "aa_end": null,
          "aa_length": 557,
          "cds_start": 358,
          "cds_end": null,
          "cds_length": 1674,
          "cdna_start": 390,
          "cdna_end": null,
          "cdna_length": 2694,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.238G>A",
          "hgvs_p": "p.Val80Met",
          "transcript": "NM_181798.2",
          "protein_id": "NP_861463.1",
          "transcript_support_level": null,
          "aa_start": 80,
          "aa_end": null,
          "aa_length": 549,
          "cds_start": 238,
          "cds_end": null,
          "cds_length": 1650,
          "cdna_start": 507,
          "cdna_end": null,
          "cdna_length": 3021,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "n.*585G>A",
          "hgvs_p": null,
          "transcript": "ENST00000713724.1",
          "protein_id": "ENSP00000519028.1",
          "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": 3499,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "n.*585G>A",
          "hgvs_p": null,
          "transcript": "ENST00000713724.1",
          "protein_id": "ENSP00000519028.1",
          "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": 3499,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.478-12096G>A",
          "hgvs_p": null,
          "transcript": "NM_001406838.1",
          "protein_id": "NP_001393767.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 496,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1491,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2684,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KCNQ1",
          "gene_hgnc_id": 6294,
          "hgvs_c": "c.478-12096G>A",
          "hgvs_p": null,
          "transcript": "ENST00000646564.2",
          "protein_id": "ENSP00000495806.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 428,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1287,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1820,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KCNQ1",
      "gene_hgnc_id": 6294,
      "dbsnp": "rs75813654",
      "frequency_reference_population": 0.00015187582,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 245,
      "gnomad_exomes_af": 0.000082824,
      "gnomad_genomes_af": 0.000814557,
      "gnomad_exomes_ac": 121,
      "gnomad_genomes_ac": 124,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.02012844942510128,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "CardioboostArm",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.733,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.1194,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.03,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 1.358,
      "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": -9,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM1,PP2,BP4_Strong,BP6_Very_Strong",
      "acmg_by_gene": [
        {
          "score": -9,
          "benign_score": 12,
          "pathogenic_score": 3,
          "criteria": [
            "PM1",
            "PP2",
            "BP4_Strong",
            "BP6_Very_Strong"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000155840.12",
          "gene_symbol": "KCNQ1",
          "hgnc_id": 6294,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.619G>A",
          "hgvs_p": "p.Val207Met"
        }
      ],
      "clinvar_disease": "Cardiac arrhythmia,Cardiovascular phenotype,KCNQ1-related disorder,Long QT syndrome,not provided,not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:8 O:1",
      "phenotype_combined": "not specified|not provided|Long QT syndrome|Cardiac arrhythmia|KCNQ1-related disorder|Cardiovascular phenotype",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}