API Documentation
There is one link or URI, http://unlock.edina.ac.uk/ws/search, which features in every request for a place search.
The tables below outline the various parameters that can be appended to this URI to filter the search results.
General Search Parameters
Parameter |
Description |
|---|---|
|
One or more names (comma separated). Wildcards [ |
|
One of |
|
The place-name source to take locations from.
The options are |
|
The feature type, or class of thing, that the place is.
For example,
To help determine which feature types are supported the Unlock Places API can return a list of supported feature types which can be filtered by |
Bounding Box Search Parameters
Parameter |
Description |
|---|---|
|
the minimum longitude point of a bounding box. |
|
the maximum longitude point of a bounding box. |
|
the minimum latitude point of a bounding box. |
|
the maximum latitude point of a bounding box. |
|
The options are |
Spatial Search Parameters
Parameter |
Description |
|---|---|
|
search within distance from bounding box or feature ID. In metres. |
|
search within this "mask" - a shape identified by its ID. |
|
|
|
A UK postcode. |
|
given an |
Number of Results Parameters
Parameter |
Description |
|---|---|
|
The maximum number of results to return. Defaults to 20. Cannot exceed 1000. [Optional]. |
|
The row to start results display from. Defaults to 1. [Optional]. |

