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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 34471409,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_001752.4",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1560G>A",
          "hgvs_p": "p.Ala520Ala",
          "transcript": "NM_001752.4",
          "protein_id": "NP_001743.1",
          "transcript_support_level": null,
          "aa_start": 520,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 1560,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000241052.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001752.4"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1560G>A",
          "hgvs_p": "p.Ala520Ala",
          "transcript": "ENST00000241052.5",
          "protein_id": "ENSP00000241052.4",
          "transcript_support_level": 1,
          "aa_start": 520,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 1560,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001752.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000241052.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "n.370G>A",
          "hgvs_p": null,
          "transcript": "ENST00000534710.2",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": "retained_intron",
          "feature": "ENST00000534710.2"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1671G>A",
          "hgvs_p": "p.Ala557Ala",
          "transcript": "ENST00000955133.1",
          "protein_id": "ENSP00000625192.1",
          "transcript_support_level": null,
          "aa_start": 557,
          "aa_end": null,
          "aa_length": 564,
          "cds_start": 1671,
          "cds_end": null,
          "cds_length": 1695,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000955133.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1581G>A",
          "hgvs_p": "p.Ala527Ala",
          "transcript": "ENST00000955131.1",
          "protein_id": "ENSP00000625190.1",
          "transcript_support_level": null,
          "aa_start": 527,
          "aa_end": null,
          "aa_length": 534,
          "cds_start": 1581,
          "cds_end": null,
          "cds_length": 1605,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000955131.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1563G>A",
          "hgvs_p": "p.Ala521Ala",
          "transcript": "ENST00000856105.1",
          "protein_id": "ENSP00000526164.1",
          "transcript_support_level": null,
          "aa_start": 521,
          "aa_end": null,
          "aa_length": 528,
          "cds_start": 1563,
          "cds_end": null,
          "cds_length": 1587,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856105.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1551G>A",
          "hgvs_p": "p.Ala517Ala",
          "transcript": "ENST00000856102.1",
          "protein_id": "ENSP00000526161.1",
          "transcript_support_level": null,
          "aa_start": 517,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 1551,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856102.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1545G>A",
          "hgvs_p": "p.Ala515Ala",
          "transcript": "ENST00000955132.1",
          "protein_id": "ENSP00000625191.1",
          "transcript_support_level": null,
          "aa_start": 515,
          "aa_end": null,
          "aa_length": 522,
          "cds_start": 1545,
          "cds_end": null,
          "cds_length": 1569,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000955132.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1533G>A",
          "hgvs_p": "p.Ala511Ala",
          "transcript": "ENST00000856109.1",
          "protein_id": "ENSP00000526168.1",
          "transcript_support_level": null,
          "aa_start": 511,
          "aa_end": null,
          "aa_length": 518,
          "cds_start": 1533,
          "cds_end": null,
          "cds_length": 1557,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856109.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1434G>A",
          "hgvs_p": "p.Ala478Ala",
          "transcript": "ENST00000856107.1",
          "protein_id": "ENSP00000526166.1",
          "transcript_support_level": null,
          "aa_start": 478,
          "aa_end": null,
          "aa_length": 485,
          "cds_start": 1434,
          "cds_end": null,
          "cds_length": 1458,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856107.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1407G>A",
          "hgvs_p": "p.Ala469Ala",
          "transcript": "ENST00000929641.1",
          "protein_id": "ENSP00000599700.1",
          "transcript_support_level": null,
          "aa_start": 469,
          "aa_end": null,
          "aa_length": 476,
          "cds_start": 1407,
          "cds_end": null,
          "cds_length": 1431,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000929641.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1290G>A",
          "hgvs_p": "p.Ala430Ala",
          "transcript": "ENST00000856104.1",
          "protein_id": "ENSP00000526163.1",
          "transcript_support_level": null,
          "aa_start": 430,
          "aa_end": null,
          "aa_length": 437,
          "cds_start": 1290,
          "cds_end": null,
          "cds_length": 1314,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856104.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1182G>A",
          "hgvs_p": "p.Ala394Ala",
          "transcript": "ENST00000856110.1",
          "protein_id": "ENSP00000526169.1",
          "transcript_support_level": null,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 401,
          "cds_start": 1182,
          "cds_end": null,
          "cds_length": 1206,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856110.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.1098G>A",
          "hgvs_p": "p.Ala366Ala",
          "transcript": "ENST00000856101.1",
          "protein_id": "ENSP00000526160.1",
          "transcript_support_level": null,
          "aa_start": 366,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 1098,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856101.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.570G>A",
          "hgvs_p": "p.Ala190Ala",
          "transcript": "ENST00000856106.1",
          "protein_id": "ENSP00000526165.1",
          "transcript_support_level": null,
          "aa_start": 190,
          "aa_end": null,
          "aa_length": 197,
          "cds_start": 570,
          "cds_end": null,
          "cds_length": 594,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856106.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.300G>A",
          "hgvs_p": "p.Ala100Ala",
          "transcript": "ENST00000856108.1",
          "protein_id": "ENSP00000526167.1",
          "transcript_support_level": null,
          "aa_start": 100,
          "aa_end": null,
          "aa_length": 107,
          "cds_start": 300,
          "cds_end": null,
          "cds_length": 324,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856108.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CAT",
          "gene_hgnc_id": 1516,
          "hgvs_c": "c.192G>A",
          "hgvs_p": "p.Ala64Ala",
          "transcript": "ENST00000856103.1",
          "protein_id": "ENSP00000526162.1",
          "transcript_support_level": null,
          "aa_start": 64,
          "aa_end": null,
          "aa_length": 71,
          "cds_start": 192,
          "cds_end": null,
          "cds_length": 216,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000856103.1"
        }
      ],
      "gene_symbol": "CAT",
      "gene_hgnc_id": 1516,
      "dbsnp": "rs35677492",
      "frequency_reference_population": 0.00025653545,
      "hom_count_reference_population": 2,
      "allele_count_reference_population": 414,
      "gnomad_exomes_af": 0.000253142,
      "gnomad_genomes_af": 0.000289127,
      "gnomad_exomes_ac": 370,
      "gnomad_genomes_ac": 44,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.75,
      "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.75,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.385,
      "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": -7,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -7,
          "benign_score": 7,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "NM_001752.4",
          "gene_symbol": "CAT",
          "hgnc_id": 1516,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1560G>A",
          "hgvs_p": "p.Ala520Ala"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}