> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/getting-started/kegg.md).

# Search KEGG in Duaer

In Duaer, search KEGG pathways, diseases, or compounds with Duaer Data. One successful search uses 1 credit. This page includes the full English call skill.
## What you get

KEGG in the Duaer data market returns pathway, disease, or compound entries. One successful search uses 1 credit.

Add the node from the [Duaer Data category](/getting-started/duaer-data.md) (KEGG), or copy the skill on the [data market](/getting-started/data-market.md). Related: [Pathways](/getting-started/pathways.md) (Reactome).

## Search on the canvas

1. Open the node creator, select Duaer Data, then KEGG.
2. Enter Words (a new node starts with apoptosis), or a KEGG ID. Database defaults to Pathway.
3. Limit defaults to 10, max 20. Select Execute step.

A successful search uses 1 credit. Production deliverables land in the [data pool](/getting-started/data-pool.md).

## Call the API

- GET https://api.duaer.com/v1/data/kegg?...
- Authorization: Bearer <Duaer key>
- words or id is required.

For keys, refer to [Authentication for the Duaer public API](/api/authentication.md). Below is the same English call skill as Copy skill.

## Call skill

Same text as Copy skill on the Duaer data market. Keep it English.

```
---
name: duaer-kegg
description: >-
  Search KEGG pathways, diseases, or compounds through Duaer.
  One successful search uses 1 Duaer credit.
---

# Duaer KEGG

Search KEGG pathways, diseases, or compounds through Duaer with a Duaer key.

## Call

`GET https://api.duaer.com/v1/data/kegg?words=apoptosis&db=pathway&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Provide `words` or `id`.

- `words` — search text, such as apoptosis.
- `id` — optional. KEGG id such as map04210, H00409, or C01405.
- `db` — optional. pathway (default), disease, or compound. Used with words.
- `limit` — optional. From 1 to 20. Default 10.

## Result

Each item has `source`, `title`, `url`, `summary`, `keggId`, `name`, `database`, `description`, and `keggClass`.
Related pathways: https://skills.duaer.com/pathways.md.
Related diseases: https://skills.duaer.com/diseases.md.

## Credits

One successful search uses 1 credit.
An empty search, a failed search, a compound that matches nothing, or no remaining credits uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

```
## Questions

### How do Duaer KEGG and Pathways differ?

Pathways uses Reactome. KEGG is a separate pathway, disease, and compound catalog; set Database to switch.

## Related

- [Search pathways in Duaer](https://doc.duaer.com/getting-started/pathways.md)
- [Search diseases in Duaer](https://doc.duaer.com/getting-started/diseases.md)
- [Search compounds in Duaer](https://doc.duaer.com/getting-started/compounds.md)
- [Use the Duaer data market](https://doc.duaer.com/getting-started/data-market.md)

