Skip to main content
Table of contents

Statistics.gov.scot

Overview

statistics.gov.scot provides public access to the data behind Scotland's official statistics in linked open data format.

The SPARQL endpoint allows flexible querying of the datastore using the SPARQL 1.1 language.

This API can be used to extract data, automate report-writing, publish data visualisations, or make interactive tools for exploring the data.

The site is managed by the Scottish Government on behalf of all producers of Scottish official statistics including Scottish Government, National Records of Scotland, NHS Information Services Division, Visit Scotland and others.

The API is provided under the Open Government Licence with no requirement for registration.

For queries or comments, please contact statistics.opendata@gov.scot.

Documentation

Statistics.gov.scot documentation

Endpoint

https://statistics.gov.scot/sparql

Contact

statistics.opendata@gov.scot

Geographic area

Scotland