{"uid":"cap_GKbUEdiDl867yc0roZmtp","slug":"uk-cpi-inflation-history-api-a72a859a","name":"UK CPI Inflation History API","description":"Production API for UK sold prices, rental yields, and stamp duty. Paid via x402 protocol. Designed for AI agent consumption.","url":"https://property.payapi.market/inflation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"months":{"type":"integer","maximum":120,"minimum":1,"description":"Months of CPI history to return. Defaults to 24."}}},"responseSchema":{"type":"json","example":{"source":"ONS","history":[{"date":"2025-03","cpi_pct":2.6},{"date":"2025-02","cpi_pct":2.8},{"date":"2025-01","cpi_pct":3}],"current_cpi":2.6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DnzUD6VYvoC_cPfiiKkh7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns UK Consumer Price Index (CPI) inflation history from the ONS for a specified number of months","exampleAgentPrompt":"Can you pull the last 36 months of UK CPI inflation history from the ONS so I can see how the rate has changed over the past three years?","exampleUseCases":[{"title":"Inflation trend analysis for property report","prompt":"I'm writing a UK property investment report — can you fetch the last 24 months of ONS CPI inflation data so I can show how inflation has tracked against house price growth?"},{"title":"Current UK inflation rate lookup","prompt":"What's the current UK CPI inflation rate? Just give me the latest figure from the ONS."},{"title":"12-month inflation backdrop for mortgage comparison","prompt":"I'm comparing fixed-rate mortgages and want context — can you get me 12 months of UK CPI history so I can see whether inflation has been rising or falling recently?"}],"resultDescription":"A JSON object containing the current CPI percentage, the data source (ONS), and an array of monthly CPI history records each with a date (YYYY-MM format) and a CPI percentage value, covering the requested number of months.","failureModes":["Invalid months value (outside 1–120 range) returns a validation error","ONS data source unavailable or delayed causes stale or missing history","Requesting more months than available historical records may return fewer entries than requested","Payment failure via x402 protocol returns a 402 status before data is served"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable UK CPI inflation time-series data sourced from the ONS, especially within a UK property or financial analysis workflow where sibling endpoints (sold prices, rental yields, stamp duty) are also in use. Prefer this over generic web scraping when you need clean, paginated monthly CPI data with a predictable schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:39.377Z","isFirstParty":false,"canonicalSlug":"uk-cpi-inflation-history-api-a72a859a"}