Duaer

Skills

Search pathways in Duaer

In Duaer, search Reactome pathways. One successful search uses 1 credit.

What Duaer returns

Each pathway returns pathwayId, species, summary, diagram links, compartments, GO, doi, dates, and flags. Use pathwayId with proteins.pathway. Words and name searches are enriched with the same detail as an id lookup.

Key

Before you call, get a Duaer key.

Call skill

Paste this English skill into an agent. It matches Copy skill in the Duaer data market.

---
name: duaer-pathways
description: >-
  Duaer pathways. Search Reactome pathways. Use the pathwayId with proteins.pathway.
  One successful search uses 1 Duaer credit.
---

# Duaer pathways

Search Reactome pathways. Use the pathwayId with proteins.pathway. Data comes from Reactome.

## When to use

- Get a Reactome pathway id before searching proteins.
- Find human pathways for a process or molecule.

## When not to use

- KEGG pathways. Use https://skills.duaer.com/kegg.md.

## Call

`GET https://api.duaer.com/v1/data/pathways?q=insulin&limit=10`

Header: `Authorization: Bearer <Duaer key>`

Use an account key or a model API key.

Get a Duaer key: https://skills.duaer.com/keys.md

## Parameters

Provide `q`, `name`, or `id`. When you send more than one, Duaer uses `id`, else `name`, else `q`. Search with `q` first; use `id` only when you already have it from a result. Word searches default to Homo sapiens pathways.

- `q` — words in the pathway name or summary.
- `id` — Optional. Reactome pathway id from a result (`pathwayId`), such as `R-HSA-264876`.
- `name` — Optional. Pathway name.
- `limit` — Optional. From 1 to 20. Default 10.

## Examples

- `GET https://api.duaer.com/v1/data/pathways?q=insulin&limit=10` — human Reactome pathways matching insulin.

## Result

The response is `{ "items": [...] }`. Each item has `source` (`Reactome`), `title`, `url`, and `summary`, plus:

- `pathwayId`, `dbId`, `stIdVersion`, `species`, `browserUrl`, `diagramUrl`, `figureUrl` — text.
- `hasDiagram`, `hasEHLD`, `isDisease` — true or false.
- `doi`, `releaseDate`, `lastUpdatedDate`, `compartments`, `compartmentAccessions`, `goId`, `goName`, `schemaClass` — text.

Use `pathwayId` as `pathway` when searching proteins. Reuse `pathwayId` in `id` for an exact lookup.
Open `browserUrl` for the interactive Reactome diagram, or `diagramUrl` for a PNG export.
Open `browserUrl` for the interactive Reactome diagram, or `diagramUrl` for a PNG export. Words and name searches are enriched with Reactome detail (doi, GO, figure, dates, diagram flags), same as an id lookup.
Words and name searches are enriched with Reactome detail, same as an id lookup.

Fields without a value are empty strings.

## Credits

A successful search uses 1 credit, even when it finds nothing.
Wrong input or a missing search field returns 400 with a message and uses 0.
A failed upstream search returns 503 and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.

## Related

- https://skills.duaer.com/genes.md — Duaer genes
- https://skills.duaer.com/proteins.md — Duaer proteins
- https://skills.duaer.com/compounds.md — Duaer compounds
- https://skills.duaer.com/reactions.md — Duaer reactions

Related skills