/v1/country
One economy's CLI — latest reading, change and phase
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/leadingindicators-api/v1/country" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/leadingindicators-api/v1/country", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/leadingindicators-api/v1/country");
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/leadingindicators-api/v1/country",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"cli": 101.022,
"code": "USA",
"name": "United States",
"note": "One economy's amplitude-adjusted CLI: the latest reading, the month-on-month change and its business-cycle phase. Above 100 = above long-term trend; the phase combines level and direction. The CLI is a leading indicator (~6-9 months ahead of GDP). Cached a few hours.",
"phase": "Expansion",
"change": 0.102,
"period": "2026-05",
"recent": [
{
"cli": 100.92,
"period": "2026-04"
},
{
"cli": 101.022,
"period": "2026-05"
}
],
"source": "OECD Composite Leading Indicators (SDMX)",
"vs_trend": "above",
"direction": "rising",
"phase_note": "above long-term trend and rising — activity accelerating",
"is_aggregate": false,
"previous_cli": 100.92
},
"meta": {
"timestamp": "2026-06-12T19:37:54.132Z",
"request_id": "07d8ab4f-329e-4745-9a52-ee4c1b261802"
},
"status": "ok",
"message": "Country CLI retrieved successfully",
"success": true
}