Find
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.
For help generating an API Key or OAuth2 token, please see the Getting started with an API project or OAuth2 documentation.
Free text search parameter.
The format the response will be returned in.
The maximum number of results to return. Minimum = 1. Maximum = 100. Default = 100.
Offset the list of returned results by this amount.
Biases the results to a certain area. The is a British National Grid bounding box in the form: XMIN,YMIN,XMAX,YMAX
[414000,114000,414100,114100]
Filters the results by bounding box or local_type.
["&fq=BBOX:414000,114000,414100,114100","&fq=LOCAL_TYPE:City","&fq=LOCAL_TYPE:City LOCAL_TYPE:Bay"]
Possible values: Retrieves addresses based on a free text search.
GET /search/names/v1/find HTTP/1.1
Host: api.os.uk
Accept: */*
Retrieves addresses based on a free text search.
{
"header": {
"uri": "text",
"query": "text",
"format": "text",
"maxresults": 1,
"offset": 1,
"totalresults": 1
},
"results": [
{
"ID": 1,
"NAMES_URI": "text",
"NAME1": "text",
"TYPE": "text",
"LOCAL_TYPE": "text",
"GEOMETRY_X": 1,
"GEOMETRY_Y": 1,
"MOST_DETAIL_VIEW_RES": 1,
"LEAST_DETAIL_VIEW_RES": 1,
"MBR_XMIN": 1,
"MBR_YMIN": 1,
"MBR_XMAX": 1,
"MBR_YMAX": 1,
"POSTCODE_DISTRICT": "text",
"POSTCODE_DISTRICT_URI": "text",
"POPULATED_PLACE": "text",
"POPULATED_PLACE_URI": "text",
"POPULATED_PLACE_TYPE": "text",
"COUNTY_UNITARY": "text",
"COUNTY_UNITARY_URI": "text",
"COUNTY_UNITARY_TYPE": "text",
"REGION": "text",
"REGION_URI": "text",
"COUNTRY": "text",
"COUNTRY_URI": "text"
}
]
}
Last updated
Was this helpful?