# data.gov.uk API

> data.gov.uk API on Apizie: 1 endpoint (Search datasets) returned as clean JSON through one API key. 1 endpoint is live now. Call it over REST at https://zieapi.vercel.app/v1/open-data:data-gov-uk/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:data-gov-uk`
- Category: Open Data
- Status: live
- Source: https://data.gov.uk
- Page: https://zieapi.vercel.app/api/open-data/data-gov-uk
- OpenAPI: https://zieapi.vercel.app/api/open-data/data-gov-uk/openapi.json

Search UK government datasets.

## Endpoints

### Search datasets
`GET https://zieapi.vercel.app/v1/open-data:data-gov-uk/datasets`

| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes |  |
| rows | integer | no | Number of results |

## Example
```
curl "https://zieapi.vercel.app/v1/open-data:data-gov-uk/datasets" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the data.gov.uk API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/open-data:data-gov-uk/datasets with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the data.gov.uk API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the data.gov.uk API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:data-gov-uk.

### What is the status of the data.gov.uk API?
Live: works with just an Apizie key
