/v1/snapshot
All indicators for one country
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/oecd-api/v1/snapshot" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/oecd-api/v1/snapshot", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/oecd-api/v1/snapshot");
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/snapshot",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"source": "OECD",
"country": "USA",
"indicators": [
{
"unit": "% of labour force",
"label": "Harmonised unemployment rate (monthly)",
"value": 4.3,
"period": "2026-05",
"indicator": "unemployment_rate"
},
{
"unit": "index",
"label": "Consumer Price Index (all items, monthly)",
"value": 141.392,
"period": "2026-05",
"indicator": "cpi_index"
},
{
"unit": "% per annum",
"label": "Long-term interest rate (10-year government bonds, monthly)",
"value": 4.48,
"period": "2026-05",
"indicator": "long_term_interest_rate"
}
],
"country_name": "United States"
},
"meta": {
"timestamp": "2026-06-15T11:15:07.836Z",
"request_id": "2776d3c8-0a55-4c56-b2b4-8be8bfbd3490"
},
"status": "ok",
"message": "Snapshot retrieved successfully",
"success": true
}