← 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-173907528-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 173907528,
      "ref": "C",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "NM_001386302.1",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1154-14G>A",
          "hgvs_p": null,
          "transcript": "NM_000488.4",
          "protein_id": "NP_000479.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 464,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1395,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000367698.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000488.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1154-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000367698.4",
          "protein_id": "ENSP00000356671.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 464,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1395,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000488.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000367698.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1283-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874328.1",
          "protein_id": "ENSP00000544387.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 507,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1524,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874328.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1277-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001386302.1",
          "protein_id": "NP_001373231.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001386302.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1277-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874324.1",
          "protein_id": "ENSP00000544383.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874324.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1253-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874326.1",
          "protein_id": "ENSP00000544385.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 497,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1494,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874326.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1235-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001386303.1",
          "protein_id": "NP_001373232.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 491,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1476,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001386303.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1235-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874327.1",
          "protein_id": "ENSP00000544386.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 491,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1476,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874327.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1154-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874323.1",
          "protein_id": "ENSP00000544382.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 472,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1419,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874323.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1154-26G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874329.1",
          "protein_id": "ENSP00000544388.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 460,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1383,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874329.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1133-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001386304.1",
          "protein_id": "NP_001373233.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001386304.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1133-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874332.1",
          "protein_id": "ENSP00000544391.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874332.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1127-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874330.1",
          "protein_id": "ENSP00000544389.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 455,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1368,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874330.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1097-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001386305.1",
          "protein_id": "NP_001373234.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 445,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1338,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001386305.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1064-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874325.1",
          "protein_id": "ENSP00000544384.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 434,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1305,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874325.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1016-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874331.1",
          "protein_id": "ENSP00000544390.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 418,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1257,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874331.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.1010-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001365052.2",
          "protein_id": "NP_001351981.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 416,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1251,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001365052.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.938-14G>A",
          "hgvs_p": null,
          "transcript": "NM_001386306.1",
          "protein_id": "NP_001373235.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 392,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1179,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001386306.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "SERPINC1",
          "gene_hgnc_id": 775,
          "hgvs_c": "c.938-14G>A",
          "hgvs_p": null,
          "transcript": "ENST00000874322.1",
          "protein_id": "ENSP00000544381.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 392,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1179,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000874322.1"
        }
      ],
      "gene_symbol": "SERPINC1",
      "gene_hgnc_id": 775,
      "dbsnp": "rs542881762",
      "frequency_reference_population": 6.854667e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.85467e-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.8100000023841858,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.5,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.81,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.221,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.5,
      "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": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM2_Supporting,PP3,PP4,PS4,PP1_Moderate,PM4",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PM2_Supporting",
            "PP3",
            "PP4",
            "PS4",
            "PP1_Moderate",
            "PM4"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001386302.1",
          "gene_symbol": "SERPINC1",
          "hgnc_id": 775,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD,AR,SD",
          "hgvs_c": "c.1277-14G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Hereditary antithrombin deficiency",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "P:3 LP:1",
      "phenotype_combined": "Hereditary antithrombin deficiency",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}