← 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: 18-2960721-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "18",
      "pos": 2960721,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "ENST00000677752.1",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "NM_001375808.2",
          "protein_id": "NP_001362737.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 187,
          "cdna_end": null,
          "cdna_length": 6052,
          "mane_select": "ENST00000677752.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000677752.1",
          "protein_id": "ENSP00000504857.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 187,
          "cdna_end": null,
          "cdna_length": 6052,
          "mane_select": "NM_001375808.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000261596.9",
          "protein_id": "ENSP00000261596.4",
          "transcript_support_level": 1,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 429,
          "cdna_end": null,
          "cdna_length": 6299,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "NM_001375809.1",
          "protein_id": "NP_001362738.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 237,
          "cdna_end": null,
          "cdna_length": 6102,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "NM_014646.2",
          "protein_id": "NP_055461.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 359,
          "cdna_end": null,
          "cdna_length": 6229,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000697040.1",
          "protein_id": "ENSP00000513062.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 235,
          "cdna_end": null,
          "cdna_length": 6092,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000697039.1",
          "protein_id": "ENSP00000513061.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 853,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2562,
          "cdna_start": 187,
          "cdna_end": null,
          "cdna_length": 2752,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000697042.1",
          "protein_id": "ENSP00000513064.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 647,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 1944,
          "cdna_start": 215,
          "cdna_end": null,
          "cdna_length": 2039,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.231T>C",
          "hgvs_p": "p.Asp77Asp",
          "transcript": "ENST00000584915.2",
          "protein_id": "ENSP00000463810.2",
          "transcript_support_level": 3,
          "aa_start": 77,
          "aa_end": null,
          "aa_length": 197,
          "cds_start": 231,
          "cds_end": null,
          "cds_length": 594,
          "cdna_start": 335,
          "cdna_end": null,
          "cdna_length": 698,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "ENST00000697043.1",
          "protein_id": "ENSP00000513065.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 169,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 510,
          "cdna_start": 248,
          "cdna_end": null,
          "cdna_length": 638,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.231T>C",
          "hgvs_p": "p.Asp77Asp",
          "transcript": "XM_005258177.5",
          "protein_id": "XP_005258234.1",
          "transcript_support_level": null,
          "aa_start": 77,
          "aa_end": null,
          "aa_length": 933,
          "cds_start": 231,
          "cds_end": null,
          "cds_length": 2802,
          "cdna_start": 309,
          "cdna_end": null,
          "cdna_length": 6179,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.132T>C",
          "hgvs_p": "p.Asp44Asp",
          "transcript": "XM_047437958.1",
          "protein_id": "XP_047293914.1",
          "transcript_support_level": null,
          "aa_start": 44,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": 132,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": 619,
          "cdna_end": null,
          "cdna_length": 6489,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "XM_017026099.2",
          "protein_id": "XP_016881588.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 223,
          "cdna_end": null,
          "cdna_length": 6093,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp",
          "transcript": "XM_047437959.1",
          "protein_id": "XP_047293915.1",
          "transcript_support_level": null,
          "aa_start": 40,
          "aa_end": null,
          "aa_length": 896,
          "cds_start": 120,
          "cds_end": null,
          "cds_length": 2691,
          "cdna_start": 4077,
          "cdna_end": null,
          "cdna_length": 9947,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000265907",
          "gene_hgnc_id": 58311,
          "hgvs_c": "n.638A>G",
          "hgvs_p": null,
          "transcript": "ENST00000584431.1",
          "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": 673,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LPIN2",
          "gene_hgnc_id": 14450,
          "hgvs_c": "n.237T>C",
          "hgvs_p": null,
          "transcript": "XR_935074.3",
          "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": 1840,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "LPIN2",
      "gene_hgnc_id": 14450,
      "dbsnp": "rs143261167",
      "frequency_reference_population": 0.00040580242,
      "hom_count_reference_population": 6,
      "allele_count_reference_population": 655,
      "gnomad_exomes_af": 0.000214107,
      "gnomad_genomes_af": 0.00224707,
      "gnomad_exomes_ac": 313,
      "gnomad_genomes_ac": 342,
      "gnomad_exomes_homalt": 2,
      "gnomad_genomes_homalt": 4,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.3499999940395355,
      "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.35,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.453,
      "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": -19,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -19,
          "benign_score": 19,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000677752.1",
          "gene_symbol": "LPIN2",
          "hgnc_id": 14450,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.120T>C",
          "hgvs_p": "p.Asp40Asp"
        },
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000584431.1",
          "gene_symbol": "ENSG00000265907",
          "hgnc_id": 58311,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.638A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Autoinflammatory syndrome,Majeed syndrome,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:1 B:2",
      "phenotype_combined": "Majeed syndrome|not specified|Autoinflammatory syndrome",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}