v1

latestOpenAPI 3.1.0MIT2026-07-13111497.3 KB
Places

Find a Place by ID

Submit a place query and receive a complete list of place matches and associated data.

This API uses the Ordnance Survey Open Names Dataset. Places are not available for Northern Ireland.

get/places/{code}

Path parameters

codestring required

Specifies the place you wish to query

Response

Success

status200 required

Example response

{
  "result": {
    "code": "osgb4000000074559833",
    "name_1": "Y Trallwng",
    "name_1_lang": "cym",
    "name_2": "Welshpool",
    "name_2_lang": "eng",
    "local_type": "Hamlet",
    "outcode": "BH24",
    "county_unitary": "Powys - Powys",
    "county_unitary_type": "UnitaryAuthority",
    "district_borough": "null",
    "district_borough_type": "null",
    "region": "Wales",
    "country": "Wales"
  }
}