Last updated 7 months ago
Website
Data
OS API examples
Helping you start building solutions with OS data.
Here you'll find examples of our APIs in use. You can copy and paste the code to start building your own innovative projects.
OS API branding
Branding for users developing solutions using OS data supplied via our APIs.
osdatahub (JavaScript)
JavaScript package that makes it easier to interact with the OS Data Hub APIs.
osdatahub (Python)
Designed to make data from the OS Data Hub APIs readily accessible to Python developers.
osdatahub (R)
R package for easier interaction with the Ordnance Survey Data Hub.
OAuth 2 API usage
Demonstrates basic usage of the Data Hub OAuth 2 API to provide time limited tokens for access to resources.
OS API download scripting
Bash scripts which can be used to request Ordnance Survey datasets from the OS Downloads API.
OS NGD API - Features
These examples will provide you with an introduction to the OS NGD API – Features.
They focus on the /collections resource which lists the feature collections that are offered through the API.
/collections
OS NGD API - Tiles
These examples will provide you with an introduction to the OS NGD API – Tiles.