Places
Retrieve a Random Place
Returns a randomly selected place from the database along with all its associated geographical and administrative data. Useful for testing or displaying sample location data.
get/random/places
Response
Successfully retrieved a random place
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"
}
}