Skip to content

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_…'
A single GET returns the node, its multilingual labels, the DDD and the full parent chain to the anatomical root.Make your first call

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.
  1. CCardiovascular systemAnatomical group · 10 sub-groups
  2. C10Lipid modifying agentsTherapeutic subgroup · 2 sub-groups
  3. C10ALipid modifying agents, plainPharmacological subgroup · 6 sub-groups
  4. C10AAHMG CoA reductase inhibitorsChemical subgroup · 8 sub-groups
  5. C10AA05AtorvastatinSubstance · defined daily dose 20 mg, O
The parent chain and sub-group counts, read from the ATC table the API serves.How ATC classification works

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" } } }
}
Trimmed, with illustrative values — the live example above is a real row.Every field in the reference

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)
  • FDA substance identifiers (UNII)
  • ANSM medicine compositions
  • ChEBI chemical entities
  • WIdO ATC/DDD index
Sources passing their checks, as of 24 Nov, 17:24 UTC.Every source and its status

Questions

Before you build. Answered plainly.

What does GET /v1/atc/{code} return?
The ATC node — code, level (1–5), parent_code, its labels (label_en, label_de, and label_fr / label_it where held) and DDD (value, unit, route) — plus the full chain of parents from the node up to its anatomical-group root.
How do I walk the tree?
GET /v1/atc/{code}/children returns the direct children of a node. Because ATC is a prefix tree, you can also use GET /v1/atc/{code}/drugs to list every product whose ATC code falls anywhere under the node.
Where does the classification come from?
From the WIdO ATC index — Germany’s official ATC/DDD edition, which follows the WHO system — across all five levels, with Defined Daily Doses wherever the index assigns one. We are not affiliated with WIdO or the WHO.

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.