← 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: 2-48687928-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 48687928,
      "ref": "A",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "ENST00000294954.12",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1869T>A",
          "hgvs_p": "p.Tyr623*",
          "transcript": "NM_000233.4",
          "protein_id": "NP_000224.2",
          "transcript_support_level": null,
          "aa_start": 623,
          "aa_end": null,
          "aa_length": 699,
          "cds_start": 1869,
          "cds_end": null,
          "cds_length": 2100,
          "cdna_start": 1922,
          "cdna_end": null,
          "cdna_length": 3076,
          "mane_select": "ENST00000294954.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1869T>A",
          "hgvs_p": "p.Tyr623*",
          "transcript": "ENST00000294954.12",
          "protein_id": "ENSP00000294954.6",
          "transcript_support_level": 1,
          "aa_start": 623,
          "aa_end": null,
          "aa_length": 699,
          "cds_start": 1869,
          "cds_end": null,
          "cds_length": 2100,
          "cdna_start": 1922,
          "cdna_end": null,
          "cdna_length": 3076,
          "mane_select": "NM_000233.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": 9,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000279956",
          "gene_hgnc_id": null,
          "hgvs_c": "n.*220+6296T>A",
          "hgvs_p": null,
          "transcript": "ENST00000602369.3",
          "protein_id": "ENSP00000473498.1",
          "transcript_support_level": 5,
          "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": 2103,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1788T>A",
          "hgvs_p": "p.Tyr596*",
          "transcript": "ENST00000405626.5",
          "protein_id": "ENSP00000386033.1",
          "transcript_support_level": 5,
          "aa_start": 596,
          "aa_end": null,
          "aa_length": 672,
          "cds_start": 1788,
          "cds_end": null,
          "cds_length": 2019,
          "cdna_start": 1788,
          "cdna_end": null,
          "cdna_length": 2073,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1794T>A",
          "hgvs_p": "p.Tyr598*",
          "transcript": "XM_047444291.1",
          "protein_id": "XP_047300247.1",
          "transcript_support_level": null,
          "aa_start": 598,
          "aa_end": null,
          "aa_length": 674,
          "cds_start": 1794,
          "cds_end": null,
          "cds_length": 2025,
          "cdna_start": 1847,
          "cdna_end": null,
          "cdna_length": 3001,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1683T>A",
          "hgvs_p": "p.Tyr561*",
          "transcript": "XM_047444292.1",
          "protein_id": "XP_047300248.1",
          "transcript_support_level": null,
          "aa_start": 561,
          "aa_end": null,
          "aa_length": 637,
          "cds_start": 1683,
          "cds_end": null,
          "cds_length": 1914,
          "cdna_start": 1736,
          "cdna_end": null,
          "cdna_length": 2890,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1608T>A",
          "hgvs_p": "p.Tyr536*",
          "transcript": "XM_047444293.1",
          "protein_id": "XP_047300249.1",
          "transcript_support_level": null,
          "aa_start": 536,
          "aa_end": null,
          "aa_length": 612,
          "cds_start": 1608,
          "cds_end": null,
          "cds_length": 1839,
          "cdna_start": 1661,
          "cdna_end": null,
          "cdna_length": 2815,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.1233T>A",
          "hgvs_p": "p.Tyr411*",
          "transcript": "XM_017004090.1",
          "protein_id": "XP_016859579.1",
          "transcript_support_level": null,
          "aa_start": 411,
          "aa_end": null,
          "aa_length": 487,
          "cds_start": 1233,
          "cds_end": null,
          "cds_length": 1464,
          "cdna_start": 1714,
          "cdna_end": null,
          "cdna_length": 2868,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.939T>A",
          "hgvs_p": "p.Tyr313*",
          "transcript": "XM_006712015.4",
          "protein_id": "XP_006712078.1",
          "transcript_support_level": null,
          "aa_start": 313,
          "aa_end": null,
          "aa_length": 389,
          "cds_start": 939,
          "cds_end": null,
          "cds_length": 1170,
          "cdna_start": 5610,
          "cdna_end": null,
          "cdna_length": 6764,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.912T>A",
          "hgvs_p": "p.Tyr304*",
          "transcript": "XM_005264309.4",
          "protein_id": "XP_005264366.1",
          "transcript_support_level": null,
          "aa_start": 304,
          "aa_end": null,
          "aa_length": 380,
          "cds_start": 912,
          "cds_end": null,
          "cds_length": 1143,
          "cdna_start": 1653,
          "cdna_end": null,
          "cdna_length": 2807,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.912T>A",
          "hgvs_p": "p.Tyr304*",
          "transcript": "XM_011532834.3",
          "protein_id": "XP_011531136.1",
          "transcript_support_level": null,
          "aa_start": 304,
          "aa_end": null,
          "aa_length": 380,
          "cds_start": 912,
          "cds_end": null,
          "cds_length": 1143,
          "cdna_start": 4952,
          "cdna_end": null,
          "cdna_length": 6106,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.*613T>A",
          "hgvs_p": null,
          "transcript": "ENST00000403273.5",
          "protein_id": "ENSP00000385847.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 329,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 990,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1921,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHCGR",
          "gene_hgnc_id": 6585,
          "hgvs_c": "c.*181T>A",
          "hgvs_p": null,
          "transcript": "ENST00000401907.5",
          "protein_id": "ENSP00000385406.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 325,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 978,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1477,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "STON1-GTF2A1L",
          "gene_hgnc_id": 30651,
          "hgvs_c": "c.3441+16248A>T",
          "hgvs_p": null,
          "transcript": "NM_001198593.2",
          "protein_id": "NP_001185522.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1158,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3477,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3792,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "STON1-GTF2A1L",
          "gene_hgnc_id": 30651,
          "hgvs_c": "c.3441+16248A>T",
          "hgvs_p": null,
          "transcript": "ENST00000402114.6",
          "protein_id": "ENSP00000385701.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1158,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3477,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3790,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "GTF2A1L",
          "gene_hgnc_id": 30727,
          "hgvs_c": "c.276+16248A>T",
          "hgvs_p": null,
          "transcript": "ENST00000508440.1",
          "protein_id": "ENSP00000421474.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 102,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 309,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 532,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "LHCGR",
      "gene_hgnc_id": 6585,
      "dbsnp": "rs144859947",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.5799999833106995,
      "computational_prediction_selected": "Pathogenic",
      "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.58,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": -0.704,
      "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": 6,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PVS1_Strong,PM2",
      "acmg_by_gene": [
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PVS1_Strong",
            "PM2"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000294954.12",
          "gene_symbol": "LHCGR",
          "hgnc_id": 6585,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.1869T>A",
          "hgvs_p": "p.Tyr623*"
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000602369.3",
          "gene_symbol": "ENSG00000279956",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.*220+6296T>A",
          "hgvs_p": null
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_001198593.2",
          "gene_symbol": "STON1-GTF2A1L",
          "hgnc_id": 30651,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.3441+16248A>T",
          "hgvs_p": null
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000508440.1",
          "gene_symbol": "GTF2A1L",
          "hgnc_id": 30727,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.276+16248A>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}