Open Data NHS Scotland
Get the list of dataset names published on the Public Health Scotland open data portal, such as cancer waiting times, care home census and births in Scottish hospitals. Useful for researchers, journalists and developers who need the exact dataset identifier to look up the data.
The pre-filled example returns the complete list of dataset names.
What it's useful for
- Find the exact identifier of a Scottish health statistics dataset.
- Check whether a topic such as delayed discharges or vaccinations is published.
- Build a catalogue or search tool on top of the portal's dataset list.
- Scan the topics covered before requesting data from Public Health Scotland.
Frequently asked questions
What does this return?
A list of dataset names, each a short identifier such as cancer-waiting-times. It is the portal's package list, not the data inside each dataset.
Where does the data come from?
From Open Data NHS Scotland, run by Public Health Scotland, through its CKAN API. We pass the request through our server and show the result.
How do I get the statistics themselves?
Use the identifier on the opendata.nhs.scot site, where each dataset has its own page and files. This tool only lists the names.
How many datasets are there?
The sample response lists 105 names. The count can change as new datasets are added or removed.
Can I use this data for medical decisions?
No. The datasets are population statistics and reference data for information, not medical advice. The site states the content is available under the Open Government Licence.
About this data
- Data comes from a free third-party service (www.opendata.nhs.scot). We pass your request through our server so your browser never contacts it directly.
- Terms: No key. Site states all content is available under the Open Government Licence (attribution required). CKAN API.
- The service can change or go offline without notice, and we can't vouch for the accuracy of what it returns.
- Official documentation