Skill Tracer
Skills › Scientific Agent Skills › database-lookup › drugbank.md

drugbank.md

30 lines · skills/database-lookup/references/drugbank.md at 5f2bc03

Open on GitHub
1# DrugBank APIs
2
3DrugBank requires licensed API access; a website account does not imply an API
4subscription. Use the product and quota authorized for your key.
5
6For drug/target research, the [Discovery API](https://docs.drugbank.com/discovery/v1/)
7base is `https://api.drugbank.com/discovery/v1`. Server-side authentication is
8`Authorization: <DRUGBANK_API_KEY>` without a Bearer prefix. Responses are JSON.
9
10| GET path | Purpose |
11|---|---|
12| `/drugs/DB00316` | Drug details |
13| `/drugs?q=acetaminophen` | Search drugs |
14| `/drugs/DB00316/bonds` | Target, enzyme, carrier and transporter bonds |
15| `/bonds/targets` | Target bonds |
16| `/polypeptides/P49189/bonds` | Bonds involving a UniProt protein |
18Illustrative authenticated request (not executed):
19```bash
20curl --fail-with-body 'https://api.drugbank.com/discovery/v1/drugs/DB00316/bonds' \
21 -H "Authorization: $DRUGBANK_API_KEY"
22```
24Bond responses are arrays with type, bio-entity, actions and references. Preserve
25organism, action direction and evidence; a listed bond need not prove efficacy.
27[Clinical API](https://docs.drugbank.com/v1/) calls use `https://api.drugbank.com/v1`
28and a different endpoint catalogue (including `/ddi`). Do not move Discovery
29routes under that base. Browser applications require short-lived tokens issued
30by a trusted backend; never embed the secret API key in a browser.

DrugBank APIs

DrugBank requires licensed API access; a website account does not imply an API subscription. Use the product and quota authorized for your key.

For drug/target research, the Discovery API base is https://api.drugbank.com/discovery/v1. Server-side authentication is Authorization: <DRUGBANK_API_KEY> without a Bearer prefix. Responses are JSON.

GET pathPurpose
/drugs/DB00316Drug details
/drugs?q=acetaminophenSearch drugs
/drugs/DB00316/bondsTarget, enzyme, carrier and transporter bonds
/bonds/targetsTarget bonds
/polypeptides/P49189/bondsBonds involving a UniProt protein

Illustrative authenticated request (not executed):

curl --fail-with-body 'https://api.drugbank.com/discovery/v1/drugs/DB00316/bonds' \
  -H "Authorization: $DRUGBANK_API_KEY"

Bond responses are arrays with type, bio-entity, actions and references. Preserve organism, action direction and evidence; a listed bond need not prove efficacy.

Clinical API calls use https://api.drugbank.com/v1 and a different endpoint catalogue (including /ddi). Do not move Discovery routes under that base. Browser applications require short-lived tokens issued by a trusted backend; never embed the secret API key in a browser.

Raw lines 1 to 30