/v1/cpi/divisions
Latest CPIH across all 12 COICOP divisions
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/uk-stats-api/v1/cpi/divisions" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/uk-stats-api/v1/cpi/divisions", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/uk-stats-api/v1/cpi/divisions");
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/cpi/divisions",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"base": "Index: 2015=100",
"count": 12,
"period": "Jan-26",
"source": "ONS cpih01",
"country": "United Kingdom",
"divisions": [
{
"index": 144.3,
"label": "01 Food and non-alcoholic beverages",
"coicop": "CP01"
},
{
"index": 159.7,
"label": "02 Alcoholic beverages and tobacco",
"coicop": "CP02"
},
{
"index": 118,
"label": "03 Clothing and footwear",
"coicop": "CP03"
},
{
"index": 142.8,
"label": "04 Housing, water, electricity, gas and other fuels",
"coicop": "CP04"
},
{
"index": 124.5,
"label": "05 Furniture, household equipment and maintenance",
"coicop": "CP05"
},
{
"index": 142.3,
"label": "06 Health",
"coicop": "CP06"
},
{
"index": 136.7,
"label": "07 Transport",
"coicop": "CP07"
},
{
"index": 142.1,
"label": "08 Communication",
"coicop": "CP08"
},
{
"index": 135.5,
"label": "09 Recreation and culture",
"coicop": "CP09"
},
{
"index": 152.7,
"label": "10 Education",
"coicop": "CP10"
},
{
"index": 150.7,
"label": "11 Restaurants and hotels",
"coicop": "CP11"
},
{
"index": 124.3,
"label": "12 Miscellaneous goods and services",
"coicop": "CP12"
}
],
"indicator": "CPIH by COICOP division",
"period_iso": "2026-01"
},
"meta": {
"timestamp": "2026-06-15T20:40:38.171Z",
"request_id": "65078bc9-b993-43b4-86df-abc0ed22a5d3"
},
"status": "ok",
"message": "UK CPIH by division retrieved",
"success": true
}