Skills
Search compounds in Duaer
In Duaer, search compounds and drugs. One successful search uses 1 credit.
What Duaer returns
Each compound has a name, CID, formula, weight, SMILES, InChIKey, and related properties.
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-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.