← 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: 7-55174014-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 55174014,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_005228.5",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2155G>T",
          "hgvs_p": "p.Gly719Cys",
          "transcript": "NM_005228.5",
          "protein_id": "NP_005219.2",
          "transcript_support_level": null,
          "aa_start": 719,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2155,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2416,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "ENST00000275493.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_005228.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2155G>T",
          "hgvs_p": "p.Gly719Cys",
          "transcript": "ENST00000275493.7",
          "protein_id": "ENSP00000275493.2",
          "transcript_support_level": 1,
          "aa_start": 719,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2155,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2416,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "NM_005228.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000275493.7"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2020G>T",
          "hgvs_p": "p.Gly674Cys",
          "transcript": "ENST00000455089.5",
          "protein_id": "ENSP00000415559.1",
          "transcript_support_level": 1,
          "aa_start": 674,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 2020,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2277,
          "cdna_end": null,
          "cdna_length": 3844,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000455089.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2146G>T",
          "hgvs_p": "p.Gly716Cys",
          "transcript": "ENST00000898199.1",
          "protein_id": "ENSP00000568258.1",
          "transcript_support_level": null,
          "aa_start": 716,
          "aa_end": null,
          "aa_length": 1207,
          "cds_start": 2146,
          "cds_end": null,
          "cds_length": 3624,
          "cdna_start": 2604,
          "cdna_end": null,
          "cdna_length": 4363,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000898199.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2116G>T",
          "hgvs_p": "p.Gly706Cys",
          "transcript": "ENST00000898202.1",
          "protein_id": "ENSP00000568261.1",
          "transcript_support_level": null,
          "aa_start": 706,
          "aa_end": null,
          "aa_length": 1197,
          "cds_start": 2116,
          "cds_end": null,
          "cds_length": 3594,
          "cdna_start": 2290,
          "cdna_end": null,
          "cdna_length": 4062,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000898202.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2020G>T",
          "hgvs_p": "p.Gly674Cys",
          "transcript": "NM_001346899.2",
          "protein_id": "NP_001333828.1",
          "transcript_support_level": null,
          "aa_start": 674,
          "aa_end": null,
          "aa_length": 1165,
          "cds_start": 2020,
          "cds_end": null,
          "cds_length": 3498,
          "cdna_start": 2281,
          "cdna_end": null,
          "cdna_length": 9770,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001346899.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1996G>T",
          "hgvs_p": "p.Gly666Cys",
          "transcript": "NM_001346900.2",
          "protein_id": "NP_001333829.1",
          "transcript_support_level": null,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1996,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2187,
          "cdna_end": null,
          "cdna_length": 9676,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001346900.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1996G>T",
          "hgvs_p": "p.Gly666Cys",
          "transcript": "ENST00000450046.2",
          "protein_id": "ENSP00000413354.2",
          "transcript_support_level": 4,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1996,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2303,
          "cdna_end": null,
          "cdna_length": 9700,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000450046.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2155G>T",
          "hgvs_p": "p.Gly719Cys",
          "transcript": "NM_001346898.2",
          "protein_id": "NP_001333827.1",
          "transcript_support_level": null,
          "aa_start": 719,
          "aa_end": null,
          "aa_length": 1136,
          "cds_start": 2155,
          "cds_end": null,
          "cds_length": 3411,
          "cdna_start": 2416,
          "cdna_end": null,
          "cdna_length": 3983,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001346898.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1822G>T",
          "hgvs_p": "p.Gly608Cys",
          "transcript": "ENST00000898200.1",
          "protein_id": "ENSP00000568259.1",
          "transcript_support_level": null,
          "aa_start": 608,
          "aa_end": null,
          "aa_length": 1099,
          "cds_start": 1822,
          "cds_end": null,
          "cds_length": 3300,
          "cdna_start": 2083,
          "cdna_end": null,
          "cdna_length": 3855,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000898200.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2020G>T",
          "hgvs_p": "p.Gly674Cys",
          "transcript": "NM_001346897.2",
          "protein_id": "NP_001333826.1",
          "transcript_support_level": null,
          "aa_start": 674,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 2020,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2281,
          "cdna_end": null,
          "cdna_length": 3848,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001346897.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1573G>T",
          "hgvs_p": "p.Gly525Cys",
          "transcript": "ENST00000898201.1",
          "protein_id": "ENSP00000568260.1",
          "transcript_support_level": null,
          "aa_start": 525,
          "aa_end": null,
          "aa_length": 1016,
          "cds_start": 1573,
          "cds_end": null,
          "cds_length": 3051,
          "cdna_start": 1834,
          "cdna_end": null,
          "cdna_length": 3606,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000898201.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1354G>T",
          "hgvs_p": "p.Gly452Cys",
          "transcript": "NM_001346941.2",
          "protein_id": "NP_001333870.1",
          "transcript_support_level": null,
          "aa_start": 452,
          "aa_end": null,
          "aa_length": 943,
          "cds_start": 1354,
          "cds_end": null,
          "cds_length": 2832,
          "cdna_start": 1615,
          "cdna_end": null,
          "cdna_length": 9104,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001346941.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.502G>T",
          "hgvs_p": "p.Gly168Cys",
          "transcript": "ENST00000700145.1",
          "protein_id": "ENSP00000514824.1",
          "transcript_support_level": null,
          "aa_start": 168,
          "aa_end": null,
          "aa_length": 343,
          "cds_start": 502,
          "cds_end": null,
          "cds_length": 1032,
          "cdna_start": 504,
          "cdna_end": null,
          "cdna_length": 1418,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000700145.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1996G>T",
          "hgvs_p": "p.Gly666Cys",
          "transcript": "XM_047419952.1",
          "protein_id": "XP_047275908.1",
          "transcript_support_level": null,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1996,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 40965,
          "cdna_end": null,
          "cdna_length": 48454,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047419952.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1996G>T",
          "hgvs_p": "p.Gly666Cys",
          "transcript": "XM_047419953.1",
          "protein_id": "XP_047275909.1",
          "transcript_support_level": null,
          "aa_start": 666,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1996,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 3142,
          "cdna_end": null,
          "cdna_length": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047419953.1"
        }
      ],
      "gene_symbol": "EGFR",
      "gene_hgnc_id": 3236,
      "dbsnp": "rs28929495",
      "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.994436502456665,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.879,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9994,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.37,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.905,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.02,
      "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": "Likely_pathogenic",
      "acmg_criteria": "PM2,PM5,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 9,
          "benign_score": 0,
          "pathogenic_score": 9,
          "criteria": [
            "PM2",
            "PM5",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_005228.5",
          "gene_symbol": "EGFR",
          "hgnc_id": 3236,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2155G>T",
          "hgvs_p": "p.Gly719Cys"
        }
      ],
      "clinvar_disease": " response to tyrosine kinase inhibitor in, somatic,Non-small cell lung carcinoma,Nonsmall cell lung cancer",
      "clinvar_classification": " drug response,Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Nonsmall cell lung cancer, response to tyrosine kinase inhibitor in, somatic|Non-small cell lung carcinoma",
      "pathogenicity_classification_combined": "Pathogenic; drug response",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.