Naar de inhoud
GET /v1/indicator

Latest value of one indicator for a country

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/oecd-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/oecd-api/v1/indicator" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oecd-api/v1/indicator", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oecd-api/v1/indicator");
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/oecd-api/v1/indicator",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "unit": "% of labour force",
        "label": "Harmonised unemployment rate (monthly)",
        "value": 4.3,
        "period": "2026-05",
        "source": "OECD",
        "country": "USA",
        "indicator": "unemployment_rate",
        "country_name": "United States"
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:05.101Z",
        "request_id": "4d71e190-39a0-40a2-ad1d-9ace8256a1d3"
    },
    "status": "ok",
    "message": "Indicator retrieved successfully",
    "success": true
}