/v1/cpi
Malaysia CPI (latest month): index, MoM and YoY
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/malaysia-stats-api/v1/cpi" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/malaysia-stats-api/v1/cpi", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/malaysia-stats-api/v1/cpi");
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/malaysia-stats-api/v1/cpi",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"base": "2010 = 100",
"index": 136.9,
"period": "2026-04-01",
"source": "Department of Statistics Malaysia (OpenDOSM, cpi_headline)",
"country": "Malaysia",
"indicator": "Consumer Price Index (overall, all items)",
"change_mom_pct": 0.37,
"change_yoy_pct": 1.94
},
"meta": {
"timestamp": "2026-06-15T20:40:36.275Z",
"request_id": "058b7430-1ea1-4624-9d0a-3045a7aa4f68"
},
"status": "ok",
"message": "Malaysia CPI retrieved",
"success": true
}