入门
在 Duaer 里检索作用机制
在 Duaer 里用 Duaer Data 按分子检索 ChEMBL 作用机制。一次成功查询 1 额度。本页含完整英文调用技能。
能拿到什么
Duaer 数据里的「作用机制」返回 ChEMBL 作用机制(类型、靶点、最高阶段)。一次成功查询 1 额度。
从节点创建器的 Duaer 数据分类 选「作用机制」。化合物见 化合物和药物;适应症见 适应症。
在画布里检索
- 打开节点创建器,点「Duaer 数据」,再选「作用机制」。
- Molecule 必填(新节点默认 aspirin)。可填名称或 CHEMBL id。
- Limit 默认 10,最大 20;结果优先较高 max phase。点执行此步骤。
成功扣 1 额度。正式运行的交付进 数据池。
用 API 调用
- GET https://api.duaer.com/v1/data/mechanisms?...
- Authorization: Bearer <Duaer key>
- 必须提供 molecule。
密钥见 Duaer 公开 API 的身份验证。下方是英文技能。
调用技能(英文)
调用这项数据的技能。正文保持英文。
---
name: duaer-mechanisms
description: >-
Duaer mechanisms. Search ChEMBL mechanisms of action by molecule.
One successful search uses 1 Duaer credit.
---
# Duaer mechanisms
Search ChEMBL mechanisms of action by molecule. Data comes from ChEMBL.
## When to use
- Get the mechanism of action and target of a drug.
- Check the action type, such as inhibitor or agonist.
## When not to use
- Measured bioactivities. Use https://skills.duaer.com/activities.md.
## Call
`GET https://api.duaer.com/v1/data/mechanisms?molecule=aspirin&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
`molecule` is required.
- `molecule` — molecule name or ChEMBL id (`CHEMBL25`). Names resolve via ChEMBL search. Look up PubChem names with https://skills.duaer.com/compounds.md.
- `limit` — Optional. From 1 to 20. Default 10. Results prefer higher max phase.
## Examples
- `GET https://api.duaer.com/v1/data/mechanisms?molecule=aspirin&limit=10` — mechanisms of aspirin.
## Result
The response is `{ "items": [...] }`. Each item has `source` (`ChEMBL`), `title`, `url`, and `summary`, plus:
- `mechanismId`, `moleculeChemblId`, `mechanismOfAction`, `actionType`, `targetChemblId` — text.
- `maxPhase` — number.
- `directInteraction` — true or false.
Reuse `moleculeChemblId` / names when searching compounds, activities, or indications. Reuse `targetChemblId` when searching activities or targets.
Fields without a value are empty strings.
## Credits
A successful search uses 1 credit, even when it finds nothing.
If you send a `molecule` that ChEMBL does not know, Duaer returns no items and uses 0.
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/compounds.md — Duaer compounds
- https://skills.duaer.com/activities.md — Duaer activities
- https://skills.duaer.com/indications.md — Duaer indications
常见问题
结果按什么排序?
按机制最高研发阶段(max phase)从高到低。
同组
入门
在 Duaer 里检索化合物和药物
在 Duaer 里用 Duaer Data 检索化合物和药物。一次成功查询 1 额度;匹配不到的名称不扣。本页含完整英文调用技能。
入门在 Duaer 里检索生物活性
在 Duaer 里用 Duaer Data 按分子或靶点检索 ChEMBL 生物活性。一次成功查询 1 额度。本页含完整英文调用技能。
入门在 Duaer 里检索适应症
在 Duaer 里用 Duaer Data 按分子检索 ChEMBL 药物适应症。一次成功查询 1 额度。本页含完整英文调用技能。
入门Duaer 数据目录
Duaer 能取到的外部数据、能拿到什么、以及价格。在节点创建器的 Duaer 数据分类里加节点,或把技能交给智能体调用。