/drugbank/drugs/search

POST /api/drugbank/drugs/search

Price: 20 credits

Browse the DrugBank drug index. Filter by development-status group (approved, investigational, experimental, withdrawn, illicit, nutraceutical), by approval region (US, Canada, EU) and by modality (small molecule or biologic); order by name or molecular weight. Each row carries the DrugBank accession number, name, description, molecular formula and weight and the therapeutic categories, as names and as the matching category accession numbers.

How to use it

`categories` and `category_ids` are the index's own class list for the drug, positionally paired, and the ids go straight to drugbank/categories; it is a different list from the chip row drugbank/drugs returns for the same drug, so neither one subsumes the other. This browses an index, it does not search text: there is no keyword, name or indication parameter anywhere, and DrugBank's own text search is unavailable to us, so a drug name cannot be resolved to an id by any endpoint here. Use it to enumerate a segment — every withdrawn drug, every biologic approved in the EU — and feed the ids to drugbank/drugs. `groups` is inclusive: listing two groups returns drugs in either, and leaving it unset returns the whole index rather than nothing, which is roughly five times the approved-only set. `modality` picks between two disjoint indexes, so a biologic never appears in the small-molecule listing and a request must be repeated for each. Rows carry only the summary fields; mechanism, indication, brand names and the external identifiers need drugbank/drugs per id.

Parameters

Request body

Response

Errors

Response headers