Zum Inhalt springen
GET /v1/indicator

Latest value of one indicator for a country

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/oecd-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}