← 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-173733924-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 173733924,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_014458.4",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.235A>G",
          "hgvs_p": "p.Ile79Val",
          "transcript": "NM_014458.4",
          "protein_id": "NP_055273.2",
          "transcript_support_level": null,
          "aa_start": 79,
          "aa_end": null,
          "aa_length": 609,
          "cds_start": 235,
          "cds_end": null,
          "cds_length": 1830,
          "cdna_start": 374,
          "cdna_end": null,
          "cdna_length": 3414,
          "mane_select": "ENST00000209884.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.235A>G",
          "hgvs_p": "p.Ile79Val",
          "transcript": "ENST00000209884.5",
          "protein_id": "ENSP00000209884.4",
          "transcript_support_level": 1,
          "aa_start": 79,
          "aa_end": null,
          "aa_length": 609,
          "cds_start": 235,
          "cds_end": null,
          "cds_length": 1830,
          "cdna_start": 374,
          "cdna_end": null,
          "cdna_length": 3414,
          "mane_select": "NM_014458.4",
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "n.628A>G",
          "hgvs_p": null,
          "transcript": "ENST00000483154.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 921,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "n.364A>G",
          "hgvs_p": null,
          "transcript": "ENST00000493170.1",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 953,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.460A>G",
          "hgvs_p": "p.Ile154Val",
          "transcript": "XM_017001052.2",
          "protein_id": "XP_016856541.1",
          "transcript_support_level": null,
          "aa_start": 154,
          "aa_end": null,
          "aa_length": 684,
          "cds_start": 460,
          "cds_end": null,
          "cds_length": 2055,
          "cdna_start": 950,
          "cdna_end": null,
          "cdna_length": 3990,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.460A>G",
          "hgvs_p": "p.Ile154Val",
          "transcript": "XM_017001053.2",
          "protein_id": "XP_016856542.1",
          "transcript_support_level": null,
          "aa_start": 154,
          "aa_end": null,
          "aa_length": 636,
          "cds_start": 460,
          "cds_end": null,
          "cds_length": 1911,
          "cdna_start": 950,
          "cdna_end": null,
          "cdna_length": 3846,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.235A>G",
          "hgvs_p": "p.Ile79Val",
          "transcript": "XM_005245093.5",
          "protein_id": "XP_005245150.1",
          "transcript_support_level": null,
          "aa_start": 79,
          "aa_end": null,
          "aa_length": 609,
          "cds_start": 235,
          "cds_end": null,
          "cds_length": 1830,
          "cdna_start": 506,
          "cdna_end": null,
          "cdna_length": 3546,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.460A>G",
          "hgvs_p": "p.Ile154Val",
          "transcript": "XM_047418029.1",
          "protein_id": "XP_047273985.1",
          "transcript_support_level": null,
          "aa_start": 154,
          "aa_end": null,
          "aa_length": 544,
          "cds_start": 460,
          "cds_end": null,
          "cds_length": 1635,
          "cdna_start": 950,
          "cdna_end": null,
          "cdna_length": 2297,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.460A>G",
          "hgvs_p": "p.Ile154Val",
          "transcript": "XM_047418030.1",
          "protein_id": "XP_047273986.1",
          "transcript_support_level": null,
          "aa_start": 154,
          "aa_end": null,
          "aa_length": 519,
          "cds_start": 460,
          "cds_end": null,
          "cds_length": 1560,
          "cdna_start": 950,
          "cdna_end": null,
          "cdna_length": 2116,
          "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": 12,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.31-17840A>G",
          "hgvs_p": null,
          "transcript": "XM_024446468.2",
          "protein_id": "XP_024302236.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 420,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1263,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2972,
          "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": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "c.31-17840A>G",
          "hgvs_p": null,
          "transcript": "XM_024446472.2",
          "protein_id": "XP_024302240.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 420,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1263,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2840,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KLHL20",
          "gene_hgnc_id": 25056,
          "hgvs_c": "n.*96A>G",
          "hgvs_p": null,
          "transcript": "ENST00000479505.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 450,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KLHL20",
      "gene_hgnc_id": 25056,
      "dbsnp": "rs372752603",
      "frequency_reference_population": 0.000014364966,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 21,
      "gnomad_exomes_af": 0.000014365,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 21,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.37242093682289124,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.25999999046325684,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.317,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.2058,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.17,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 9.197,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.26,
      "spliceai_max_prediction": "Uncertain_significance",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_014458.4",
          "gene_symbol": "KLHL20",
          "hgnc_id": 25056,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.235A>G",
          "hgvs_p": "p.Ile79Val"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}