ATC code API
The ATC classification, as a tree. One GET per node.
The ATC classification as a clean REST tree — node, parent chain, labels, defined daily dose, plus /children and /drugs to walk it.
GET /v1/atc/{code}
curl 'https://drug-database.com/v1/atc/M01AE01' \
-H 'Authorization: Bearer dd_live_…'Live data
One code. Its whole parent chain.
The Anatomical Therapeutic Chemical classification as a clean REST tree. GET /v1/atc/{code} returns the node with its level, its labels (English and German, French and Italian where held) and the Defined Daily Dose, plus the full chain of parents from the code up to its level-1 anatomical group.
- Full parent chain. Every lookup returns the node plus its ancestors to the level-1 root — no repeated calls to reconstruct the path.
- Tree traversal. /children for direct descendants, /drugs for the whole subtree by ATC prefix.
- Labels + DDD. English and German labels (French and Italian where held) and the Defined Daily Dose (value, unit, route) on each node.
- CCardiovascular systemAnatomical group · 10 sub-groups
- C10Lipid modifying agentsTherapeutic subgroup · 2 sub-groups
- C10ALipid modifying agents, plainPharmacological subgroup · 6 sub-groups
- C10AAHMG CoA reductase inhibitorsChemical subgroup · 8 sub-groups
- C10AA05AtorvastatinSubstance · defined daily dose 20 mg, O
The response
The shape you get back. Every row with its source.
Traverse the hierarchy with /children for the direct descendants of a node, or /drugs to list every product in the subtree — ATC is a prefix tree, so a query on M01 covers everything under it.
- 694,197 products from 19 countries’ registers
- Every row carries its source and last-checked date
{
"node": {
"code": "M01AE01",
"level": 5,
"parent_code": "M01AE",
"label_en": "ibuprofen",
"label_de": "Ibuprofen",
"label_fr": "ibuprofène",
"label_it": "ibuprofene",
"ddd_value": 1.2,
"ddd_unit": "g",
"ddd_route": "O"
},
"parents": [
{ "code": "M01AE", "level": 4, "label_en": "Propionic acid derivatives" },
{ "code": "M01A", "level": 3, "label_en": "Antiinflammatory and antirheumatic products, non-steroids" },
{ "code": "M01", "level": 2, "label_en": "Antiinflammatory and antirheumatic products" },
{ "code": "M", "level": 1, "label_en": "Musculo-skeletal system" }
],
"_meta": { "sources": { "wido_atc": { "last_synced_at": "…", "schema_state": "ok" } } }
}Where it comes from
Coverage & sourcing. Each with its last sync.
- The ATC classification across all five levels, with English and German labels.
- Defined Daily Doses (value, unit, route) wherever the index assigns one.
- GET /v1/atc/{code}/drugs joins the tree to the whole drug catalogue by prefix.
- Classification and DDDs from the WIdO ATC index, Germany’s official edition of the WHO system; we are not affiliated with WIdO or the WHO.
- ATC reads need the atc:read scope and are ETag-cached (the tree updates yearly).
- See the docs for /children and /drugs.
- RxNav drug links (NLM)Reference
- FDA substance identifiers (UNII)Reference
- ANSM medicine compositionsReference
- ChEBI chemical entitiesReference
- WIdO ATC/DDD indexReference
Questions
Before you build. Answered plainly.
What does GET /v1/atc/{code} return?
How do I walk the tree?
Where does the classification come from?
Start building with the ATC code API.
A free key includes 10 lookups in total — enough to judge the data. Pro is $29/month when you build on it.
No card required.