Ordnance Survey OS Data Hub API
May 15,2026

GISBox is a one-stop 3D GIS data editing, conversion and publishing platform that supports editing in multiple GIS formats such as OSGB/GEOTIFF/RVT, converting to 3DTiles/Terrain and publishing.

Introduction

Ordnance Survey OS Data Hub API is a cloud-based geospatial data delivery service provided by Ordnance Survey (OS), the national mapping agency of Great Britain. It offers OS's high-precision geographic data (mapping, addresses, road networks, administrative areas, topography, etc.) as a RESTful API that can be directly integrated into web and mobile applications for real-time use. In an authenticated environment, developers can access various GIS datasets and efficiently incorporate functions such as map display, spatial analysis, route calculation, and statistical aggregation.

1_1778829906952.jpg

File Structure

The OS Data Hub API consists of multiple service endpoints and data formats, allowing developers to use them according to their needs. The main components are as follows:

  • Vector Tile API: Retrieves vector data such as OS MasterMap in tile format, enabling dynamic map drawing and customised display.
  • Feature API: Obtains attribute information for addresses, buildings, roads, administrative areas, etc., supporting filtering and query-based searches.
  • Route API: Provides route finding and optimisation using road network data.
  • Search API: Performs address and place searches, returning coordinate information and related attributes.
  • Lookup API: Retrieves detailed data corresponding to a specific object ID or code.
  • Authentication: Provides API key and OAuth 2.0 authentication for access rights management.

Pros

  1. High-Precision Data Use: Access to official data across Great Britain enables the construction of applications based on accurate geographic information.
  2. Real-Time Updates: The latest geographic data can be obtained online, maintaining information freshness.
  3. Flexible Format Support: Data can be retrieved in multiple formats, including vector tiles, GeoJSON, and GML.
  4. Cloud-Based Integration Ease: The REST API facilitates integration with web, mobile, and GIS systems.
  5. Versatile Use Cases: Allows embedding of diverse GIS functions into applications, such as map drawing, spatial analysis, route calculation, and search functionality.

Cons

  1. Online Dependency: Data retrieval requires an internet connection, with limitations for offline use.
  2. Usage Restrictions: Request limits based on API keys and licensing conditions for commercial use exist; constraints must be checked according to the intended use.
  3. UK-Only Data: The data provided is primarily geographic information within Great Britain, excluding overseas data.
  4. Learning Curve: Supporting multiple API endpoints and data formats requires initial learning and implementation resources.

Application Scenario

The OS Data Hub API is used across a wide range of fields, including web mapping applications, urban planning tools, logistics and delivery management systems, and public service applications. It is ideal for developing advanced geospatial applications targeted at Great Britain, such as mobile apps incorporating address search and route calculation, dashboards visualising statistical information by administrative area, and GIS projects using detailed vector data for buildings and roads.

Example

1. API Overview.

3_1778830376297.jpg

File Opening Mode

1. API address display interface.

2_1778829916985.jpg

Related GIS Services

LocationIQ API

Geoapify Maps & Location API

Stadia Maps API

Thunderforest Maps API

References

  1. https://osdatahub.os.uk/
  2. https://www.ordnancesurvey.co.uk/developers/os-data-hub
  3. https://github.com/OrdnanceSurvey/osdatahub