/v1/meta
API metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/uk-stats-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/uk-stats-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/uk-stats-api/v1/meta");
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/uk-stats-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"api": "UK Statistics (ONS) API",
"notes": "Live data from the ONS beta API; month-on-month and year-on-year computed from the CPIH index series. The datasets endpoint lists the full ONS catalogue.",
"source": "UK Office for National Statistics — beta CMD API (api.beta.ons.gov.uk)",
"country": "United Kingdom",
"endpoints": [
"/v1/cpi",
"/v1/cpi/series",
"/v1/cpi/divisions",
"/v1/datasets",
"/v1/meta"
],
"documentation": "https://api.oanor.com/uk-stats-api",
"primary_indicator": "CPIH — Consumer Prices Index including owner occupiers' housing costs (dataset cpih01, monthly, 2015=100)"
},
"meta": {
"timestamp": "2026-06-15T20:40:38.424Z",
"request_id": "bd2aa8ef-7955-4161-9835-c7daf6ff94cb"
},
"status": "ok",
"message": "Meta",
"success": true
}