/v1/children
The direct sub-codes of an HS code
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/hscodes-api/v1/children" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hscodes-api/v1/children", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hscodes-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/hscodes-api/v1/children",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 5,
"hscode": "0901",
"children": [
{
"level": "6",
"hscode": "090111",
"parent": "0901",
"section": "II",
"description": "Coffee; not roasted or decaffeinated"
},
{
"level": "6",
"hscode": "090112",
"parent": "0901",
"section": "II",
"description": "Coffee; decaffeinated, not roasted"
},
{
"level": "6",
"hscode": "090121",
"parent": "0901",
"section": "II",
"description": "Coffee; roasted, not decaffeinated"
},
{
"level": "6",
"hscode": "090122",
"parent": "0901",
"section": "II",
"description": "Coffee; roasted, decaffeinated"
},
{
"level": "6",
"hscode": "090190",
"parent": "0901",
"section": "II",
"description": "Coffee; husks and skins, coffee substitutes containing coffee in any proportion"
}
],
"description": "Coffee, whether or not roasted or decaffeinated; husks and skins; coffee substitutes containing coffee in any proportion"
},
"meta": {
"timestamp": "2026-05-31T02:53:35.048Z",
"request_id": "8f2bf873-c4fb-4017-a911-cf6ec1f3287a"
},
"status": "ok",
"message": "Children retrieved",
"success": true
}