Open Data NHS Scotland

Public Health Scotland's open health data over CKAN

🩺 Health & FoodHEALTHYchecked 12h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL

Scotland's health open-data portal runs CKAN, so its /api/3/action/ endpoints list and search datasets on hospital activity, prescribing, demographics, and more. Responses are JSON, though this host returned no CORS header on our probe. Most datasets carry the Open Government Licence.

81HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 81 · healthy
Uptime history
100%90 days
100%30 days
1327P50 · ms
2920P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 130 ms, slowest 2376 ms, most recent 184 ms.
Live response samplecaptured by our last successful check
GET https://www.opendata.nhs.scot/api/3/action/package_list?limit=3

{
  "success": true,
  "result": [
    "18-weeks-referral-to-treatment",
    "27-30-month-review-statistics",
    "alcohol-related-hospital-statistics-scotland"
  ]
}
Call itcurl · fetch · python
curl "https://www.opendata.nhs.scot/api/3/action/package_list?limit=3"
const res = await fetch("https://www.opendata.nhs.scot/api/3/action/package_list?limit=3");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://www.opendata.nhs.scot/api/3/action/package_list?limit=3")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 6HealthyFULL DOCS ↗
Monitored path responding — GET /action/package_list?limit=31327 mschecked 12h ago
GET/action/package_list?limit=3PROBED

Public Health Scotland's open health data over CKAN

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_list?limit=5

Package List — 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 Data NHS Scotland: common questions

Is Open Data NHS Scotland free to use?

Yes — Open Data NHS Scotland is a free health & food API. Free tier: Free — limits not published. Commercial use is allowed on the free tier.

Does Open Data NHS Scotland need an API key?

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

Can I call Open Data NHS Scotland from the browser?

Not directly — Open Data NHS Scotland doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is Open Data NHS Scotland up right now?

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