Skills
在 Duaer 里检索化合物和药物
在 Duaer 里检索化合物和药物。一次成功查询用 1 额度。
能拿到什么
每条化合物有名称、CID、分子式、分子量、SMILES、InChIKey 和相关性质。
密钥
调用前先获取 Duaer 密钥.
调用技能
下面这段是给智能体复制的英文技能,和数据市场里的复制内容相同。
---
name: duaer-compounds
description: >-
Search compounds and drugs through Duaer. One successful search uses 1 Duaer credit.
---
# Duaer compounds
Search compounds and drugs through Duaer. One successful search uses 1 Duaer credit.
## Call
`GET https://api.duaer.com/v1/data/compounds?name=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
- Send one identifier: `name`, `cid`, `formula`, `smiles`, or `inchikey`.
- `limit` — optional. From 1 to 20. Default 10. A name can return several compounds up to this limit.
## Result
Each item includes `source`, `title`, `url`, and `summary`, plus the fields named on this skill.
## 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.