ONS dimension codes
Codes and labels of one dimension of an ONS dataset version (geography codes, time periods, CPIH aggregates such as CP00 'Overall Index', industries...). Needs dataset, version and dimension.
Inputs
- 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
- Dimension
- Dimension name from ons/dataset-version, e.g. 'aggregate' or 'geography'Required · dimension
- Edition
- Dataset edition, e.g. 'time-series' (most datasets) or '2021'Optional · edition
- Limit
- Codes per page, e.g. 50Optional · limit
- Offset
- Offset for paging, e.g. 0Optional · offset
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
- ABS data queryABSFree
- ABS dataflow structureABSFree
- Banque de France Webstat dataset seriesBanque de FranceFree
- Banque de France Webstat series valuesBanque de FranceFree
- BEA dataset parameter valuesBEAFree
- BEA GDP by industryBEAFree
- BEA international transactionsBEAFree
- BEA national accounts NIPA tablesBEAFree
- Compare all 277
Connect your agent to 3,250+ tools for free
Sign in with Google or GitHub. No card required.