# ONS dataset catalogue

List the UK Office for National Statistics datasets. Takes limit and offset, all optional.

List the UK Office for National Statistics datasets served by its customisable dataset API (CPIH inflation, labour market, wellbeing, population, trade, regional GDP...): id, title, description, keywords, release frequency, licence, next release and the latest edition and version to use with ons/dataset-version and ons/observations.

- Tool ID: `ons/datasets`
- Provider: [ONS](/providers/ons.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "Datasets per page, e.g. 10"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000,
      "default": 0,
      "description": "Offset for paging (about 340 datasets), e.g. 0"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "ons/datasets",
  "input": {
    "limit": 5
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Open Government Licence v3.0.

Attribution: Source: Office for National Statistics licensed under the Open Government Licence v3.0.

[Provider documentation](https://developer.ons.gov.uk/dataset/datasets/)

[REST inspection](https://api.agentik.cc/v1/tools/ons/datasets) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/ons/datasets) · [Agent index](/llms.txt)
