{"uid":"cap_tLe3A9csvRoG12iIRyfQj","slug":"saylor-innovations-data-desk-uk-ons-economic-indicators-b4bd7a15","name":"Saylor Innovations Data Desk: UK ONS Economic Indicators","description":"UK Office for National Statistics series - CPI, CPIH and RPI inflation, unemployment, employment rate, earnings and GDP growth, or any series by ID, with release dates","url":"https://saylorinnovations.com/api/economy/uk-ons?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"count":{"type":"string","description":"optional latest observations 1-120, default 12"},"topic":{"type":"string","description":"or an ONS topic path such as economy/inflationandpriceindices"},"preset":{"type":"string","description":"optional cpi_annual, cpih_annual, rpi_annual, unemployment_rate, employment_rate, weekly_earnings or gdp_growth_quarterly"},"series":{"type":"string","description":"with a 4-character series id such as d7g7"},"dataset":{"type":"string","description":"and dataset id such as mm23"},"frequency":{"type":"string","description":"optional auto (default), months, quarters or years"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["series","latest","observations"],"properties":{"url":{"type":"string","description":"Canonical URL"},"unit":{"type":["string","null"],"description":"Unit of measure"},"count":{"type":"number","description":"Number of items returned"},"title":{"type":"string","description":"Title"},"latest":{"type":"object","properties":{"value":{"type":["number"]},"period":{"type":["string"]}},"description":"Most recent value or version","additionalProperties":true},"preset":{"type":["string","null"],"description":"Preset used, or null for a custom series"},"series":{"type":"string","description":"Time series of values"},"source":{"type":"string","description":"Data source the values come from"},"dataset":{"type":"string","description":"ONS dataset the series belongs to"},"frequency":{"type":"string","description":"Frequency of the series"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"},"next_release":{"type":["string","null"],"description":"Next release"},"observations":{"type":"array","items":{"type":"object","properties":{"value":{"type":["number"]},"period":{"type":["string"]}},"additionalProperties":true},"description":"Observations in time order"},"release_date":{"type":["string","null"],"description":"Release date"},"change_from_previous":{"type":["number","null"],"description":"Change from previous"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hDmh2dHhEVcQWvU9-pnWi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches UK Office for National Statistics time series data including CPI, CPIH, RPI inflation, unemployment, employment rate, earnings, and GDP growth, with release dates","exampleAgentPrompt":"What's the latest UK CPI annual inflation rate from the ONS — can you pull the last 12 observations including the release date and how it changed from the previous period?","exampleUseCases":[{"title":"UK inflation dashboard update","prompt":"Pull the latest 24 observations for UK CPI annual inflation from the ONS and tell me the current rate, when it was last released, and what the next release date is."},{"title":"Labour market briefing for investors","prompt":"Can you get me the current UK unemployment rate and employment rate from the ONS, including the most recent value and how each changed from the previous period?"},{"title":"GDP growth trend analysis","prompt":"Fetch the last 20 quarters of UK GDP quarterly growth data from the ONS so I can see the trend — include the frequency and unit of measure."}],"resultDescription":"Returns a JSON object containing the series title, source, dataset, frequency, unit, latest value, change from previous period, release date, next release date, and an array of time-ordered observations (up to 120). Each observation includes its period label and value.","failureModes":["Invalid or unknown preset name returns an error","Requesting more than 120 observations is rejected","Unknown custom series ID returns no data or error","ONS upstream data unavailable may return empty observations","Missing required query parameters may return a bad request error"],"whenToPreferThis":"Choose this endpoint when you need official UK macroeconomic statistics directly sourced from the ONS, including CPI/CPIH/RPI inflation, unemployment, employment rate, weekly earnings, or GDP growth. It is ideal when you need historical time series with release dates and next-release scheduling, rather than just a single current figure. Prefer this over generic web search when you need structured, machine-readable ONS data with provenance metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T06:41:38.755Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-uk-ons-economic-indicators-b4bd7a15"}