Open Data NHS Scotland
Public Health Scotland's open health data over CKAN
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.
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"
]
}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
/action/package_list?limit=3PROBEDPublic Health Scotland's open health data over CKAN
/actionAction — documented GET route.
/action/1Action details by ID (example: 1).
/action?limit=10Action — documented GET route.
/action/search?q=testSearch by query parameters.
/action/package_list?limit=5Package List — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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 new. We re-probe it every sweep — the status badge and uptime chart above always show the latest.