Skip to content
GET /v1/meta

Totals & level breakdown

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/atc-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/atc-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atc-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atc-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/atc-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "5 levels by code length (1/3/4/5/7 chars). DDD = WHO Defined Daily Dose (uom unit, route O=oral/P=parenteral/…).",
        "total": 6440,
        "fields": [
            "code",
            "name",
            "level",
            "level_num",
            "parent",
            "ddds",
            "ancestors",
            "children"
        ],
        "levels": [
            {
                "count": 14,
                "level": "anatomical_main_group",
                "level_num": 1
            },
            {
                "count": 94,
                "level": "therapeutic_subgroup",
                "level_num": 2
            },
            {
                "count": 269,
                "level": "pharmacological_subgroup",
                "level_num": 3
            },
            {
                "count": 909,
                "level": "chemical_subgroup",
                "level_num": 4
            },
            {
                "count": 5154,
                "level": "chemical_substance",
                "level_num": 5
            }
        ],
        "source": "WHO ATC/DDD classification (2021)"
    },
    "meta": {
        "timestamp": "2026-05-31T06:28:01.313Z",
        "request_id": "1d0d75f3-f2c7-416f-93a5-103edc38fc27"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}