Open Government, UK

Query the UK's open-data catalogue over CKAN, no key needed

🏛 GovernmentHEALTHYchecked 1h ago
AUTH NONECORS ✓AGENT ✓HTTPS ✓COMMERCIAL ✓

data.gov.uk runs on CKAN, so you can hit its /api/3/action/ endpoints to search or list tens of thousands of published UK public-sector datasets. Responses are JSON and CORS is wide open. Individual dataset licences vary, though most sit under the Open Government Licence.

58HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 58 · healthy
Uptime history
96.4%90 days
97.9%30 days
1795P50 · ms
4975P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 236 ms, slowest 4271 ms, most recent 1000 ms.
Live response samplecaptured by our last successful check
GET https://data.gov.uk/api/3/action/package_search?rows=1

{
  "success": true,
  "result": {
    "count": 58484,
    "results": [
      {
        "id": "7fcf3cda-ff9d-44ef-b461-c1ef3b1b8c40",
        "name": "rights-of-way8",
        "notes": "Public Rights Of Way",
        "num_resources": 4,
        "organization": {
          "name": "wigan-metropolitan-borough-council",
          "title": "Wigan Metropolitan Borough Council"
        }
      }
    ]
  }
}
Call itcurl · fetch · python
curl "https://data.gov.uk/api/3/action/package_search?rows=1"
const res = await fetch("https://data.gov.uk/api/3/action/package_search?rows=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://data.gov.uk/api/3/action/package_search?rows=1")
print(res.json())
Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /action/package_search?rows=11795 mschecked 1h ago
GET/action/package_search?rows=1PROBED

Query the UK's open-data catalogue over CKAN, no key needed

GET/action

Action — documented GET route.

GET/action/1

Action details by ID (example: 1).

GET/action?limit=10

Action — documented GET route.

GET/action/search?q=test

Search by query parameters.

GET/action/package_search?limit=5

Package Search — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Open Government, UK: common questions

Is Open Government, UK free to use?

Yes — Open Government, UK is a free government API. Free tier: Free — limits not published. Commercial use is allowed on the free tier.

Does Open Government, UK need an API key?

No — Open Government, UK needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Open Government, UK from the browser?

Yes — Open Government, UK returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Open Government, UK up right now?

As of our last scheduled check, Open Government, UK is healthy with 96.4% uptime over 90 days and a 1795 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.