Bulk data
The whole corpus, downloadable as NDJSON (one JSON record per line). Each dump streams straight from the same repository the live API reads from, so it can never disagree with the per-record endpoints. Each record matches its schema in the OpenAPI document.
v0.2.0-scaleupdated 2026-06-12
drugs
2,577 ×DrugFull drug records, including per-record provenance.
GET /api/v1/export?dataset=drugsclasses
2,208 ×DrugClassFull drug-class records (FDA EPC, WHO ATC, MoA, MeSH).
GET /api/v1/export?dataset=classesingredients
2,577 ×IngredientFull active-ingredient records.
GET /api/v1/export?dataset=ingredients
Examples
Download every drug recordbash
curl -L "https://pharmacopeia.dev/api/v1/export?dataset=drugs" \
-o pharmacopeia-drugs.ndjsonList the available dumpsbash
curl "https://pharmacopeia.dev/api/v1/export"Stream + filter with jq (slug + name only)bash
curl -sL "https://pharmacopeia.dev/api/v1/export?dataset=drugs" \
| jq -c '{slug, name}'Aggregated public-source reference data, educational and informational use only. See the docs for per-source attribution. Every record carries its own provenance block.