Skills
Search CPIC in Duaer
In Duaer, search CPIC pharmacogenomic genes and drugs. One successful search uses 1 credit.
What Duaer returns
Each row has an id, label, and description when present.
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-cpic
description: >-
Search CPIC pharmacogenomic genes and drugs through Duaer. One successful search uses 1 Duaer credit.
---
# Duaer CPIC
Search CPIC pharmacogenomic genes and drugs through Duaer. One successful search uses 1 Duaer credit.
## Call
`GET https://api.duaer.com/v1/data/cpic?words=CYP2C19&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
- Provide `words` or `id`.
- `words` — search words, such as CYP2C19.
- `id` — optional. Id such as CYP2C19.
- `limit` — optional. From 1 to 20. Default 10.
## 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.