v5

latestOpenAPI 3.1.0Proprietary2026-08-031,5423,1505.5 MB
Statistical Agencies

UK consumer price inflation (CPIH, CPI, RPI)

UK headline consumer prices from Office for National Statistics. Returns CPIH index (L522) and annual rate (L55O), CPI index (D7BT) and annual rate (D7G7), and RPI index (CHAW). All monthly. CPIH is the ONS primary inflation measure and is published mid-month roughly 18-20 days after the reference month.

get/api/v1/ons/cpi

Query parameters

limitinteger

Number of most-recent monthly observations per series.

Number of most-recent monthly observations per series.

Response

CPIH, CPI, and RPI monthly observations with CDID, unit, and frequency metadata.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ]
  }
}