For the complete documentation index, see llms.txt. This page is also available as Markdown.

OS Linked Identifiers API

What is OS Linked Identifiers API?

The OS Linked Identifiers API is a free OpenData product that allows you to access the valuable relationships between properties, streets and OS MasterMap identifiers. It's as easy as providing the identifier you are interested in and the API will return the related feature identifiers. This allows you to find what addresses exist on a given street, or the Unique Property Reference Number (UPRN) for a building on a map, or the Unique Street Reference Number (USRN) for a road and more.

An identifier is a unique reference assigned to a specific thing. The ability to link identifiers ensures that you refer to the same single thing, even when if it is referenced by multiple identifiers. Identifiers are used all the time, such as telephone numbers, postcodes and customer reference numbers. OS strives to make its identifiers more accessible and useful for its customers.

The OS Linked Identifiers API takes this further by enabling the linking together of datasets that use different identifiers, for example linking a property address (UPRN) to the street that it is on (USRN).

Some of these relationships need Premium OS data and for others it is possible to create these relationships yourself through analysis of OS OpenData. However, both situations require significant effort and can yield errors. Wherever possible you should use an authoritative source for better data reliability. The OS Linked Identifiers API gives you direct access to an authoritative source for all of the relationships it publishes and removes the need for you to manage and manipulate large datasets.

These relationships can be used in conjunction with other OS APIs to, for example:

  • Create clickable interactive maps for web applications to display road or building features by presenting their USRN or UPRN.

  • Search for a street name and highlight all the properties that are on it.

  • Visualise accident counts, pollution levels or average vehicle speed data using Open Roads.

The API was designed with ease-of-use in mind. It conforms to OpenAPI v3.0.2 specification and returns data in a readable JSON format. These standards integrate well with JavaScript and support the creation of sophisticated interactive map web applications in conjunction with our OS Maps API, OS Vector Tile API and OS Features API.

The following diagram and table show all the feature types that are included (such as address records, building outlines, road surface area, road names, road sections and street records) and the relationships between them that we provide links for.

Get this data

To access the OS Linked Identifiers, you need an API Key. This key will be specific to a dedicated API project linked to your OS Data Hub account.

Click Get started to find out how to get your API Key and access OS Linked Identifiers API data, or Go to the OS Data Hub where you can access the API Projects page to manage all of your OS APIs.

Get startedGo to the OS Data Hub

OS Linked Indentifiers API: diagram showing attribution linkages between different OS products.

Comprehensive data

Take advantage of direct access to the OS Open Linked Identifiers data.

Dataset linking and enrichment

Link different geographic datasets for richer insights.

Integration with other OS APIs

Work alongside and link other OS APIs for comprehensive analysis.

Improves data interoperability

Ensure consistency across datasets by linking to the appropriate identifier.

Visualise third party data

Accurately visualise related data that is published against OS identifiers.

Things to remember for OS Linked Identifiers API

What's next?

How to access the OS Linked Identifiers API

Visit the Getting started with an API project page for details on how to access and use the OS Linked Identifiers API in your projects.

Last updated

Was this helpful?