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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 77942574,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "ENST00000334785.12",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "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": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1773A>G",
          "hgvs_p": "p.Thr591Thr",
          "transcript": "NM_144573.4",
          "protein_id": "NP_653174.3",
          "transcript_support_level": null,
          "aa_start": 591,
          "aa_end": null,
          "aa_length": 675,
          "cds_start": 1773,
          "cds_end": null,
          "cds_length": 2028,
          "cdna_start": 1961,
          "cdna_end": null,
          "cdna_length": 3282,
          "mane_select": "ENST00000334785.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "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": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1773A>G",
          "hgvs_p": "p.Thr591Thr",
          "transcript": "ENST00000334785.12",
          "protein_id": "ENSP00000333938.7",
          "transcript_support_level": 1,
          "aa_start": 591,
          "aa_end": null,
          "aa_length": 675,
          "cds_start": 1773,
          "cds_end": null,
          "cds_length": 2028,
          "cdna_start": 1961,
          "cdna_end": null,
          "cdna_length": 3282,
          "mane_select": "NM_144573.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1470A>G",
          "hgvs_p": "p.Thr490Thr",
          "transcript": "ENST00000342754.5",
          "protein_id": "ENSP00000343928.5",
          "transcript_support_level": 1,
          "aa_start": 490,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1470,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1472,
          "cdna_end": null,
          "cdna_length": 2712,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "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": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1581A>G",
          "hgvs_p": "p.Thr527Thr",
          "transcript": "NM_001172309.2",
          "protein_id": "NP_001165780.1",
          "transcript_support_level": null,
          "aa_start": 527,
          "aa_end": null,
          "aa_length": 611,
          "cds_start": 1581,
          "cds_end": null,
          "cds_length": 1836,
          "cdna_start": 1769,
          "cdna_end": null,
          "cdna_length": 3090,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "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": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1581A>G",
          "hgvs_p": "p.Thr527Thr",
          "transcript": "ENST00000330010.12",
          "protein_id": "ENSP00000327363.8",
          "transcript_support_level": 2,
          "aa_start": 527,
          "aa_end": null,
          "aa_length": 611,
          "cds_start": 1581,
          "cds_end": null,
          "cds_length": 1836,
          "cdna_start": 1878,
          "cdna_end": null,
          "cdna_length": 3195,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1773A>G",
          "hgvs_p": "p.Thr591Thr",
          "transcript": "XM_005271322.5",
          "protein_id": "XP_005271379.1",
          "transcript_support_level": null,
          "aa_start": 591,
          "aa_end": null,
          "aa_length": 676,
          "cds_start": 1773,
          "cds_end": null,
          "cds_length": 2031,
          "cdna_start": 1961,
          "cdna_end": null,
          "cdna_length": 3201,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1731A>G",
          "hgvs_p": "p.Thr577Thr",
          "transcript": "XM_005271323.5",
          "protein_id": "XP_005271380.1",
          "transcript_support_level": null,
          "aa_start": 577,
          "aa_end": null,
          "aa_length": 662,
          "cds_start": 1731,
          "cds_end": null,
          "cds_length": 1989,
          "cdna_start": 1919,
          "cdna_end": null,
          "cdna_length": 3159,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1581A>G",
          "hgvs_p": "p.Thr527Thr",
          "transcript": "XM_005271324.6",
          "protein_id": "XP_005271381.1",
          "transcript_support_level": null,
          "aa_start": 527,
          "aa_end": null,
          "aa_length": 612,
          "cds_start": 1581,
          "cds_end": null,
          "cds_length": 1839,
          "cdna_start": 1769,
          "cdna_end": null,
          "cdna_length": 3009,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1551A>G",
          "hgvs_p": "p.Thr517Thr",
          "transcript": "XM_005271325.5",
          "protein_id": "XP_005271382.1",
          "transcript_support_level": null,
          "aa_start": 517,
          "aa_end": null,
          "aa_length": 602,
          "cds_start": 1551,
          "cds_end": null,
          "cds_length": 1809,
          "cdna_start": 1739,
          "cdna_end": null,
          "cdna_length": 2979,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "c.1356A>G",
          "hgvs_p": "p.Thr452Thr",
          "transcript": "XM_005271327.5",
          "protein_id": "XP_005271384.1",
          "transcript_support_level": null,
          "aa_start": 452,
          "aa_end": null,
          "aa_length": 537,
          "cds_start": 1356,
          "cds_end": null,
          "cds_length": 1614,
          "cdna_start": 1544,
          "cdna_end": null,
          "cdna_length": 2784,
          "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": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "n.612A>G",
          "hgvs_p": null,
          "transcript": "ENST00000470735.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": 791,
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NEXN",
          "gene_hgnc_id": 29557,
          "hgvs_c": "n.1347A>G",
          "hgvs_p": null,
          "transcript": "ENST00000480732.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": 1972,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NEXN",
      "gene_hgnc_id": 29557,
      "dbsnp": "rs727503345",
      "frequency_reference_population": 0.0000013683709,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.00000136837,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.11599999666213989,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.116,
      "revel_prediction": "Benign",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.86,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.485,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": -9,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM2,BP4_Moderate,BP6_Very_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -9,
          "benign_score": 11,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000334785.12",
          "gene_symbol": "NEXN",
          "hgnc_id": 29557,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1773A>G",
          "hgvs_p": "p.Thr591Thr"
        }
      ],
      "clinvar_disease": "Cardiovascular phenotype,not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2",
      "phenotype_combined": "not specified|Cardiovascular phenotype",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}