Skip to content
GET /v1/cpi

US CPI-U (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.

Custom headers (optional)
api.oanor.com/bls-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/bls-api/v1/cpi" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bls-api/v1/cpi", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bls-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/bls-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": "1982-84 = 100",
        "index": 335.123,
        "period": "2026 May",
        "source": "US Bureau of Labor Statistics (series CUUR0000SA0)",
        "country": "United States",
        "indicator": "Consumer Price Index for All Urban Consumers (CPI-U, all items)",
        "period_iso": "2026-05",
        "change_mom_pct": 0.63,
        "change_yoy_pct": 4.25
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:38.984Z",
        "request_id": "e28020c2-664a-415d-854f-96061a1596f5"
    },
    "status": "ok",
    "message": "US CPI retrieved",
    "success": true
}