Search places by name
Type a place name and get back every area it could mean. Place names are slippery: "Newport" is thirteen different areas across Wales, the Isle of Wight and Shropshire. Rather than guessing, this lists them all so you can choose.
/placesGood to know
- Matching ignores case, accents, punctuation and ampersands, so
Brighton & HoveandYnys Monfind what was published. - Official titles are set aside too: "Bristol" finds the council published as "Bristol, City of".
- Each result has a
placereference, likelocalAuthority/E06000023, that you can pass straight to Get a value for a place.
qstringrequiredA place name, an area code, a unit postcode, or a place reference such as
localAuthority/E08000003orpostcode/SW1A1AA.limitinteger 1–500optionalHow many candidate places to return, 1 to 500.
Default10asOfstringoptionalSelect the member codes effective on this date for curated named locations. Omit it to return the complete dated definition.
geographystringoptionalRestrict an exact area lookup to one geography type.
releasestringoptionalRestrict an exact area lookup to one boundary release.
datestringoptionalCalendar date (
YYYY-MM-DD) or month (YYYY-MM) that selects a release. Requiresgeographyand cannot be combined withrelease.countrystringoptionalRestrict a date-selected release to one country.
One ofGB-ENGGB-NIRGB-SCTGB-WLS
Returns
EnvelopeThe candidate places, best match first. Empty when nothing matches.
apiVersionv1requiredatlasReleasestringrequiredThe immutable
/atlas-releasereleaseIdfor the artifacts that produced this response.metaobjectrequiredShowHide1 child field
nextCursorstring | nullrequiredOpaque cursor for the next page, or null at the end.
- 400A query parameter is malformed or its cursor is not valid for this result set.
- 503The referenced build artifact has not been built yet.
Every error has the same shape. See Errors for how to handle them.
Show the precise behaviourHide the precise behaviour
Turns a name into candidate places, each saying what kind of place it is. A name is rarely one area: "Manchester" is a local authority, a county and unitary authority, a major town, a travel to work area and a ward, and "Newport" is thirteen codes across Wales, the Isle of Wight and Shropshire. This never chooses among them.
Names match with case, accents, punctuation and the ampersand set aside, so "Brighton & Hove" and "Ynys Mon" find what was published, and an alias matches as well as a name. An administrative title is set aside too, so "Bristol" finds the authority published as "Bristol, City of", reported as exact-without-title. Names that merely begin with the query follow, as prefix, once equal names leave room: "Richmond" lists its wards and parish first, then Richmond upon Thames. A bare area code, or a place reference, is looked up directly.
A place held in several releases is returned once, with its releases newest first. Equal matches are listed headline geographies first, then wards and smaller areas; that is a presentation order and asserts nothing about which was meant. Curated named locations appear with their member codes, or the codes active on asOf.
A unit postcode, typed in any case and with or without its space, leads the candidates as a place of its own: kind postcode, a place reference such as postcode/SW1A1AA, its centroid as point, and an href to /postcodes/{postcode}, which places it in areas. Nothing is placed here, so a search stays as fast as a name lookup. Pass the reference as place to /data/{measure-id}/value to answer a measure for the postcode. A query that reads as a postcode district or sector, or a unit postcode the directory does not hold or this API may not serve, carries a postcodeHint saying so.
Add geography or release to resolve only exact area identities in that scope. date, with a geography, selects the latest published release on or before that date; country can narrow that selection.