Statistical Agencies

UK consumer price inflation (CPIH, CPI, RPI)

Changed on

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. The window is limit (default 24): the most recent observations per series, and at most as many of each quarterly or annual rollup a series carries. Pass a smaller limit for less, e.g. limit=1 for the latest value of each series.

get/api/v1/ons/cpi

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/ons/cpi
  • Auth: API key in header x-api-key

Query parameters

limitinteger

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",
    "data_age_days": 8.532,
    "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"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes