KEGG Pathways, Genes & Compounds Scraper avatar

KEGG Pathways, Genes & Compounds Scraper

Pricing

from $0.50 / 1,000 results

Go to Apify Store
KEGG Pathways, Genes & Compounds Scraper

KEGG Pathways, Genes & Compounds Scraper

$0.5/1K πŸ”₯ KEGG Explorer! Fetch pathways, genes & compounds across organisms. No key. JSON, CSV, Excel or API in seconds. Enrich metabolic and disease-pathway analysis ⚑

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Turn the KEGG database (Kyoto Encyclopedia of Genes and Genomes) into clean, structured JSON. This Apify Actor talks to the free KEGG REST API and parses its plain-text and flat-file responses into ready-to-use records for metabolic modelling, pathway analysis, drug research and bioinformatics pipelines.

Roughly ~$0.50 per 1,000 records on the Apify platform β€” no KEGG API key required.


⚠️ Licensing β€” please read (this matters)

KEGG is free for academic and non-commercial use only. The KEGG REST API (https://rest.kegg.jp) may be used by academic users for non-commercial purposes. Commercial use, redistribution of KEGG data, and bulk downloads for commercial products require a paid license from Pathway Solutions / the KEGG FTP subscription. This Actor is a thin, rate-limited client over the public REST endpoint β€” it does not grant you any rights to KEGG data. You are responsible for using it within KEGG's terms:

  • Non-commercial / academic research: generally fine via the REST API.
  • Commercial use or redistribution: obtain a KEGG license first.
  • Always cite KEGG (Kanehisa et al.) in academic work.

See https://www.kegg.jp/kegg/legal.html and https://www.pathway.jp/ for the authoritative terms. When in doubt, contact KEGG. We keep request rates modest and honest to respect their servers.


What makes this different from our other biology scrapers

This Actor covers KEGG specifically β€” its pathway maps, KEGG gene ids, KEGG compound (C…) / drug (D…) / disease (H…) / module (M…) ids, and KEGG's own cross-links. If you need a different database, use the matching Actor from the same account instead:

NeedUse
Reactome pathways & reactionsreactome-pathways-scraper
UniProt protein recordsuniprot-scraper
ChEMBL bioactivity & compoundschembl-scraper
STRING protein–protein interactionsstring-interactions-scraper
KEGG pathways / genes / compoundsthis Actor

KEGG vs Reactome specifically: both are pathway databases, but they are not interchangeable. KEGG is manually drawn "KEGG PATHWAY maps" with its own gene and compound identifiers and a strong metabolic-pathway focus; it is licensed non-commercially. Reactome is an open-source (CC-BY) reaction-level pathway knowledgebase using Reactome stable ids and UniProt/ChEBI references. If you need reaction-level detail with an open licence, use the Reactome Actor; if you need KEGG pathway maps, KO/EC annotations and KEGG compound ids, use this one.


Modes

ModeWhat it doesKey inputs
listList every entry in a KEGG databasedatabase, organism (for pathways)
getFetch full flat-file records by idids
findKeyword search inside a databasedatabase, queries
linkCross-references between databaseslinkTarget, linkSource

Databases

pathway, disease, drug, compound, module, enzyme, organism.

Note: KEGG's /list/organism endpoint currently returns HTTP 400 upstream; the Actor automatically falls back to /list/genome, which carries the same organism table (T-number code description).


Input

{
"mode": "list",
"database": "pathway",
"organism": "hsa",
"ids": ["hsa00010"],
"queries": ["glucose"],
"linkTarget": "pathway",
"linkSource": "hsa:10458",
"maxItems": 300
}
FieldTypeDefaultDescription
modeselectlistlist / get / find / link
databaseselectpathwayTarget DB for list / find
organismstringhsaKEGG organism code for listing pathways (e.g. hsa, mmu, eco)
idsarray–Entry ids for get, e.g. ["hsa00010","C00031"]
queriesarray–Keywords for find, e.g. ["glucose"]
linkTargetstring–Target DB for link, e.g. pathway
linkSourcestring–Source id/db for link, e.g. hsa:10458
maxItemsinteger300Cap on output records (max 5000)

Output

list β†’ list_entry

{ "type": "list_entry", "entry_id": "hsa00010", "database": "pathway",
"name": "Glycolysis / Gluconeogenesis - Homo sapiens (human)",
"organism": "hsa", "source": "kegg", "scraped_at": "..." }

get β†’ record (flat-file parsed, continuation-line aware)

{ "type": "record", "entry_id": "hsa00010", "database": "pathway",
"name": "Glycolysis / Gluconeogenesis - Homo sapiens (human)",
"description": "Glycolysis is the process of ...",
"classes": ["Metabolism", "Carbohydrate metabolism"],
"pathway_map": "hsa00010 Glycolysis / Gluconeogenesis",
"gene_count": 67,
"genes": [{ "id": "10327", "symbol": "AKR1A1" }],
"compound_count": 31, "compounds": ["C00022", "C00024"],
"module_ids": ["hsa_M00001"], "disease_ids": [],
"reference_count": 0,
"url": "https://www.kegg.jp/entry/hsa00010",
"source": "kegg", "scraped_at": "..." }

find β†’ search_hit Β· link β†’ link β€” see the dataset overview view (entry_id, name, database, gene_count).

All fields are nullable; the dataset schema is permissive.


Use cases

  • Metabolic modelling β€” pull pathway gene/compound membership for FBA/COBRA models.
  • Pathway analysis β€” enrichment against KEGG pathway gene sets.
  • Drug research β€” map KEGG DRUG ids, targets and pathway context.
  • Bioinformatics pipelines β€” reproducible KEGG id/annotation extraction.

How it works

KEGG REST returns tab-separated text (list/find/link) or flat-file records (get) β€” never JSON. The Actor ships a robust flat-file parser that respects the 12-character field column and reassembles continuation lines, so multi-line GENE / COMPOUND / DESCRIPTION fields are never lost. Requests are rate-limited to respect KEGG's servers.

Disclaimer

Not affiliated with or endorsed by KEGG, Kanehisa Laboratories or Pathway Solutions. Data Β© Kanehisa Laboratories. Use responsibly and within KEGG's licence terms.