Flag of ScotlandScottish Health Location Data

Scottish health location data

An unofficial REST API for Scottish health service location data.

All endpoints are related to health service locations (GPs, Hospitals, and NHS Dentists) in Scotland, enriched with geospatial data. In the future this service may include other Scottish health related data.

Data

The source data for this service has been downloaded from opendata.nhs.scot, which is a service run by Public Health Scotland.

It has been enriched with National Statistics Postcode Lookup (May 2025) for the UK data from the Office for National Statistics and further enhanced by indexing it via H3 to enable performant geospatial queries.

Usage

This service can be used by obtaining an API key and following the guidance in documentation. By using the service you agree to the terms and conditions.