← 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-21570326-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 21570326,
      "ref": "C",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000374840.8",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "NM_000478.6",
          "protein_id": "NP_000469.3",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1013,
          "cdna_end": null,
          "cdna_length": 2536,
          "mane_select": "ENST00000374840.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "ENST00000374840.8",
          "protein_id": "ENSP00000363973.3",
          "transcript_support_level": 1,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1013,
          "cdna_end": null,
          "cdna_length": 2536,
          "mane_select": "NM_000478.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "NM_001369803.2",
          "protein_id": "NP_001356732.1",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1077,
          "cdna_end": null,
          "cdna_length": 2600,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "NM_001369804.2",
          "protein_id": "NP_001356733.1",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1011,
          "cdna_end": null,
          "cdna_length": 2534,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "NM_001369805.2",
          "protein_id": "NP_001356734.1",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1046,
          "cdna_end": null,
          "cdna_length": 2569,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser",
          "transcript": "ENST00000374832.5",
          "protein_id": "ENSP00000363965.1",
          "transcript_support_level": 2,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1068,
          "cdna_end": null,
          "cdna_length": 2193,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.649C>A",
          "hgvs_p": "p.Arg217Ser",
          "transcript": "NM_001127501.4",
          "protein_id": "NP_001120973.2",
          "transcript_support_level": null,
          "aa_start": 217,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 649,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": 848,
          "cdna_end": null,
          "cdna_length": 2371,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.649C>A",
          "hgvs_p": "p.Arg217Ser",
          "transcript": "ENST00000540617.5",
          "protein_id": "ENSP00000442672.1",
          "transcript_support_level": 2,
          "aa_start": 217,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 649,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": 843,
          "cdna_end": null,
          "cdna_length": 2131,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.583C>A",
          "hgvs_p": "p.Arg195Ser",
          "transcript": "NM_001177520.3",
          "protein_id": "NP_001170991.1",
          "transcript_support_level": null,
          "aa_start": 195,
          "aa_end": null,
          "aa_length": 447,
          "cds_start": 583,
          "cds_end": null,
          "cds_length": 1344,
          "cdna_start": 732,
          "cdna_end": null,
          "cdna_length": 2255,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.583C>A",
          "hgvs_p": "p.Arg195Ser",
          "transcript": "ENST00000539907.5",
          "protein_id": "ENSP00000437674.1",
          "transcript_support_level": 2,
          "aa_start": 195,
          "aa_end": null,
          "aa_length": 447,
          "cds_start": 583,
          "cds_end": null,
          "cds_length": 1344,
          "cdna_start": 729,
          "cdna_end": null,
          "cdna_length": 2241,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.22C>A",
          "hgvs_p": "p.Arg8Ser",
          "transcript": "ENST00000374830.2",
          "protein_id": "ENSP00000363963.2",
          "transcript_support_level": 4,
          "aa_start": 8,
          "aa_end": null,
          "aa_length": 215,
          "cds_start": 22,
          "cds_end": null,
          "cds_length": 648,
          "cdna_start": 24,
          "cdna_end": null,
          "cdna_length": 733,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ALPL",
          "gene_hgnc_id": 438,
          "hgvs_c": "c.658C>A",
          "hgvs_p": "p.Arg220Ser",
          "transcript": "XM_017000903.2",
          "protein_id": "XP_016856392.1",
          "transcript_support_level": null,
          "aa_start": 220,
          "aa_end": null,
          "aa_length": 472,
          "cds_start": 658,
          "cds_end": null,
          "cds_length": 1419,
          "cdna_start": 658,
          "cdna_end": null,
          "cdna_length": 2181,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ALPL",
      "gene_hgnc_id": 438,
      "dbsnp": "rs121918020",
      "frequency_reference_population": 6.840572e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84057e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9621366262435913,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.813,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9014,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.24,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 4.754,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.02,
      "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": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PM5,PP2,PP3_Strong",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PM1",
            "PM2",
            "PM5",
            "PP2",
            "PP3_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000374840.8",
          "gene_symbol": "ALPL",
          "hgnc_id": 438,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.814C>A",
          "hgvs_p": "p.Arg272Ser"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}