pharmacopeia

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

Examples

Download every drug recordbash
curl -L "https://pharmacopeia.dev/api/v1/export?dataset=drugs" \
  -o pharmacopeia-drugs.ndjson
List 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.

Search pharmacopeia

Search drugs, classes, and ingredients