For the complete documentation index, see llms.txt. This page is also available as Markdown.
Technical specification
Product has reached its End of Life (withdrawal) date
The OS Match & Cleanse API reached its End of Life on 31 March 2026 and was withdrawn. As a result, the API has been removed from existing API projects and is no longer be accessible. Historic usage of this API can still be tracked in the API Transaction History tab of the OS Data Hub.
Documentation on this site for the API will remain in place for a short time to support customers migrating to a new solution. Future requests made to the OS Match & Cleanse API will fail. For further information, please visit End of Life Information.
This technical specification explains the content of the OS Match & Cleanse API, and the methods that you can use to call it.
If you are not familiar with the OS Match & Cleanse 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:
Match for granular matching and cleansing of existing address records.
API test authentication
The Open API block allows you to test OS APIs directly from the page with example data and parameters. To use this feature, you will need to add your API Key or OAuth2 token to the authentication field.
The format the response will be returned in. Default: JSON.
Default: JSONPossible values:
maxresultsinteger · min: 1 · max: 100Optional
The maximum number of results to return. Default: 100.
Default: 100
offsetintegerOptional
Offset the list of returned results by this amount.
Default: 0
datasetstring · enumOptional
The dataset to return. Multiple values can be sent, separated by a comma. Default: DPA.
Default: DPAPossible values:
lrstring · enumOptional
Which language of addresses to return. Default: EN, CY.
Possible values:
minmatchnumber · min: 0.1 · max: 1Optional
The minimum match score a result has to have to be returned.
matchprecisionnumber · min: 1 · max: 10Optional
The decimal point position at which the match score value is to be truncated.
output_srsstring · enumOptional
The intended output spatial reference system. Default: EPSG:27700
Default: EPSG:27700Possible values:
fqstring[]Optional
Filter for classification code, logical status code, LPI logical status code and/or country code. Filtering for classification code will accept wildcard ( * ) searches. Multiple searches can be done by separating the codes with a space. Multiple filters can be used together by including the parameter multiple times