← 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: 12-7067743-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 7067743,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "ENST00000360817.10",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro",
          "transcript": "NM_001734.5",
          "protein_id": "NP_001725.1",
          "transcript_support_level": null,
          "aa_start": 389,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 1167,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": 1401,
          "cdna_end": null,
          "cdna_length": 2682,
          "mane_select": "ENST00000360817.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro",
          "transcript": "ENST00000360817.10",
          "protein_id": "ENSP00000354057.5",
          "transcript_support_level": 1,
          "aa_start": 389,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 1167,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": 1401,
          "cdna_end": null,
          "cdna_length": 2682,
          "mane_select": "NM_001734.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro",
          "transcript": "ENST00000328916.7",
          "protein_id": "ENSP00000328173.3",
          "transcript_support_level": 1,
          "aa_start": 389,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 1167,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": 1691,
          "cdna_end": null,
          "cdna_length": 2972,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.666A>G",
          "hgvs_p": "p.Pro222Pro",
          "transcript": "ENST00000402681.7",
          "protein_id": "ENSP00000384171.3",
          "transcript_support_level": 1,
          "aa_start": 222,
          "aa_end": null,
          "aa_length": 521,
          "cds_start": 666,
          "cds_end": null,
          "cds_length": 1566,
          "cdna_start": 1313,
          "cdna_end": null,
          "cdna_length": 2522,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro",
          "transcript": "NM_201442.4",
          "protein_id": "NP_958850.1",
          "transcript_support_level": null,
          "aa_start": 389,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 1167,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": 1488,
          "cdna_end": null,
          "cdna_length": 2769,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro",
          "transcript": "ENST00000406697.5",
          "protein_id": "ENSP00000385035.1",
          "transcript_support_level": 2,
          "aa_start": 389,
          "aa_end": null,
          "aa_length": 688,
          "cds_start": 1167,
          "cds_end": null,
          "cds_length": 2067,
          "cdna_start": 1795,
          "cdna_end": null,
          "cdna_length": 3076,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "c.666A>G",
          "hgvs_p": "p.Pro222Pro",
          "transcript": "NM_001346850.2",
          "protein_id": "NP_001333779.1",
          "transcript_support_level": null,
          "aa_start": 222,
          "aa_end": null,
          "aa_length": 521,
          "cds_start": 666,
          "cds_end": null,
          "cds_length": 1566,
          "cdna_start": 1280,
          "cdna_end": null,
          "cdna_length": 2561,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.*204A>G",
          "hgvs_p": null,
          "transcript": "ENST00000443875.5",
          "protein_id": "ENSP00000397921.1",
          "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": 2550,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.588A>G",
          "hgvs_p": null,
          "transcript": "ENST00000461983.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": 950,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.3903A>G",
          "hgvs_p": null,
          "transcript": "ENST00000473545.2",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 5170,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.1684A>G",
          "hgvs_p": null,
          "transcript": "ENST00000488701.2",
          "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": 2951,
          "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": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.3243A>G",
          "hgvs_p": null,
          "transcript": "ENST00000495053.2",
          "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": 4510,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.128A>G",
          "hgvs_p": null,
          "transcript": "ENST00000495061.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 832,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.349A>G",
          "hgvs_p": null,
          "transcript": "ENST00000497061.1",
          "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": 452,
          "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": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.4546A>G",
          "hgvs_p": null,
          "transcript": "ENST00000698563.1",
          "protein_id": null,
          "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": 5813,
          "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": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.2993A>G",
          "hgvs_p": null,
          "transcript": "ENST00000698564.1",
          "protein_id": null,
          "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": 4260,
          "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": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.3102A>G",
          "hgvs_p": null,
          "transcript": "ENST00000698565.1",
          "protein_id": null,
          "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": 4369,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.*204A>G",
          "hgvs_p": null,
          "transcript": "ENST00000443875.5",
          "protein_id": "ENSP00000397921.1",
          "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": 2550,
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "C1S",
          "gene_hgnc_id": 1247,
          "hgvs_c": "n.*81A>G",
          "hgvs_p": null,
          "transcript": "ENST00000470326.1",
          "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": 541,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "C1S",
      "gene_hgnc_id": 1247,
      "dbsnp": "rs1143664",
      "frequency_reference_population": 0.07805709,
      "hom_count_reference_population": 5698,
      "allele_count_reference_population": 125932,
      "gnomad_exomes_af": 0.0758218,
      "gnomad_genomes_af": 0.0995087,
      "gnomad_exomes_ac": 110782,
      "gnomad_genomes_ac": 15150,
      "gnomad_exomes_homalt": 4792,
      "gnomad_genomes_homalt": 906,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.9599999785423279,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.17000000178813934,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.96,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.172,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.17,
      "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": -21,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BP7,BA1",
      "acmg_by_gene": [
        {
          "score": -21,
          "benign_score": 21,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000360817.10",
          "gene_symbol": "C1S",
          "hgnc_id": 1247,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1167A>G",
          "hgvs_p": "p.Pro389Pro"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}