Technical specification

This technical specification explains the content of the OS Features API and the methods you can use to call it.

The OS Features API lets users call and interact with OS data, including the highly detailed OS MasterMap Topography Layer. It does this by exposing the data through an Open Geospatial Consortium Web Feature Service (OGC WFS).

If you are not familiar with the OS Features API please read the overview documentation before proceeding.

Core concepts

This specification does not cover core concepts that apply to all Ordnance Survey APIs.

Please read the following pages to learn more about OS API core concepts:

API reference

The OS Features API exposes data through an Open Geospatial Consortium Web Feature Service (OGC WFS).

The OGC WFS accepts three types of requests:

getCapabilities

Returns a metadata document describing the WFS service provided by the server as well as valid WFS operations and parameters.

GET https://api.os.uk/features/v1/wfs?service=wfs&request=getCapabilities&key=

Required parameters: service

describleFeatureType

Returns a description of the attributes for each feature type supported by the WFS service.

GET https://api.os.uk/features/v1/wfs?service=wfs&version=2.0.0&request=DescribeFeatureType&key=

Required parameters: request, service, version, typeNames

getFeature

Returns a selection of a specific feature from the WFS including its attribute values and geometry. The maximum number of features you can call at any given time is 100.

GET https://api.os.uk/features/v1/wfs?service=wfs&version=2.0.0&request=GetFeature&typeNames=Topography_TopographicPoint&count=20&key=

Required parameters: request, service, version, typeNames

Last updated