Skip to content

ONS dataset version and dimensions

One version of an ONS dataset: release date, dimensions (names to filter in ons/observations, with their code lists), CSV and XLSX download links, alerts. Needs dataset and version.

Inputs

2 required
Dataset
ONS dataset id from ons/datasets, e.g. 'cpih01'Required · dataset
Version
Version number, from links.latest_version.id in ons/datasets, e.g. 67Required · version
Edition
Dataset edition, e.g. 'time-series' (most datasets) or '2021'Optional · edition

Pricing

Price
Free, no charge per call
Billing
No charge per call. A workspace is still needed so your agent can call it.
License
Open Government Licence v3.0
Attribution
Source: Office for National Statistics licensed under the Open Government Licence v3.0

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Knowledge & research

Connect your agent to 3,250+ tools for free

Sign in with Google or GitHub. No card required.