/v1/children
Direct children of a code (or the 14 main groups)
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/atc-api/v1/children" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atc-api/v1/children", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atc-api/v1/children");
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/children",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"code": "A10",
"name": "DRUGS USED IN DIABETES",
"count": 3,
"level": "therapeutic_subgroup",
"children": [
{
"code": "A10A",
"name": "INSULINS AND ANALOGUES",
"level": "pharmacological_subgroup"
},
{
"code": "A10B",
"name": "BLOOD GLUCOSE LOWERING DRUGS, EXCL. INSULINS",
"level": "pharmacological_subgroup"
},
{
"code": "A10X",
"name": "OTHER DRUGS USED IN DIABETES",
"level": "pharmacological_subgroup"
}
]
},
"meta": {
"timestamp": "2026-05-31T06:28:01.079Z",
"request_id": "12220544-7b7c-4370-b668-d452865d5fe8"
},
"status": "ok",
"message": "Children listed",
"success": true
}