UKRealEstateData
Postcode data API
A profile of what is around a postcode, with the distance to each place in metres. Choose which kinds of place, how many of each and how far to look.
Free plan: 1,000 requests a month.
What it returns
The postcode's latitude and longitude.
By kind: GPs, dentists, pharmacies, hospitals, schools, nurseries, colleges, universities, train and tube stations, bus stops, supermarkets, pubs, restaurants, playgrounds, places of worship and more.
Name, coordinates and distance in metres.
kinds, max_per_kind and radius_m narrow the answer to what you need.
Try it
GET /v1/postcodes/:postcode. Subscribe on RapidAPI, then send your key. A real response, shortened:
curl -s "https://uk-property-search.p.rapidapi.com/v1/postcodes/LE1%205XH" \ -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \ -H "X-RapidAPI-Host: uk-property-search.p.rapidapi.com"
{
"data": {
"location": {
"lat": 52.632638,
"lon": -1.13521
},
"postcode": "LE1 5XH",
"amenities": {
"gp": [
{
"lat": 52.6328179,
"lon": -1.1328605,
"ref": "n11734440459",
"name": "Bowling Green Street Surgery",
"source": "osm",
"distance_m": 160
}
],
"pub": [
{
"lat": 52.6326775,
"lon": -1.135874,
"ref": "n26942018",
"name": "Rutland and Derby",
"source": "osm",
"distance_m": 45
}
],
"school": [
{
"lat": 52.63477106669895,
"lon": -1.1452056689226342,
"ref": "w415342148",
"name": "Castle Mead Academy",
"source": "osm",
"distance_m": 715
}
],
"college": [
{
"lat": 52.6349223,
"lon": -1.1292319,
"ref": "n14155046612",
"name": "Leicester College City Skills Centre",
"source": "osm",
"distance_m": 477
}
],
"dentist": [
{
"lat": 52.6335428,
"lon": -1.1296624,
"ref": "n10187287329",
"name": "The Dental Suite - Leicester",
"source": "osm",
"distance_m": 388
}
],
"nursery": [
{
"lat": 52.6331382,
"lon": -1.1275997,
"ref": "n3925419727",
"name": "City Nursery",
"source": "osm",
"distance_m": 517
}
],
"parking": [
{
"lat": 52.63161855551139,
"lon": -1.1351450566649215,
"ref": "w469552323",
"name": "Upper Brown Street Car Park",
"source": "osm",
"distance_m": 113
}
],
"bus_stop": [
{
"lat": 52.6317041,
"lon": -1.1336217,
"ref": "n10813986308",
"name": "Welford Place (Stand EM)",
"source": "osm",
"distance_m": 149
}
],
"hospital": [
{
"lat": 52.62664465043458,
"lon": -1.1353230569947954,
"ref": "w314688908",
"name": "Leicester Royal Infirmary",
"source": "osm",
"distance_m": 666
}
],
"pharmacy": [
{
"lat": 52.63514012565979,
"lon": -1.1315461728339733,
"ref": "r6971178",
"name": "Boots",
"source": "osm",
"distance_m": 372
}
],
"care_home": [
{
"lat": 52.626172,
"lon": -1.137347,
"ref": "cqc:1-27083843257",
"name": "Havelock Two Home",
"source": "cqc",
"distance_m": 733
}
],
"playground": [
{
"lat": 52.620729711784364,
"lon": -1.1380145618414979,
"ref": "w1285724991",
"name": "Go Kids Go",
"source": "osm",
"distance_m": 1338
}
],
"restaurant": [
{
"lat": 52.6332668,
"lon": -1.1347691,
"ref": "n3131283529",
"name": "Le Bistrot Pierre",
"source": "osm",
"distance_m": 76
}
],
"university": [
{
"lat": 52.63147604760604,
"lon": -1.1361513143938686,
"ref": "w206836710",
"name": null,
"source": "osm",
"distance_m": 144
}
],
"int_airport": [
{
"lat": 52.82843695915762,
"lon": -1.3310595378704975,
"ref": "r11359528",
"name": "East Midlands Airport",
"source": "osm",
"distance_m": 25454
}
],
"supermarket": [
{
"lat": 52.6347721,
"lon": -1.1340209,
"ref": "n13620785263",
"name": "Fresh Village",
"source": "osm",
"distance_m": 251
}
],
"nursing_home": [
{
"lat": 52.63095084843457,
"lon": -1.1566931946466947,
"ref": "w178755850",
"name": null,
"source": "osm",
"distance_m": 1462
}
],
"tube_station": [
{
"lat": 51.705012,
"lon": -0.6110784,
"ref": "n4844666610",
"name": "Chesham",
"source": "osm",
"distance_m": 109165
}
],
"train_station": [
{
"lat": 52.6321088,
"lon": -1.1236065,
"ref": "n4292139459",
"name": "Leicester",
"source": "osm",
"distance_m": 785
}
],
"community_centre": [
{
"lat": 52.6323941,
"lon": -1.132839,
"ref": "n13645426143",
"name": "Gresham Works",
"source": "osm",
"distance_m": 162
}
],
"place_of_worship": [
{
"lat": 52.63102385065958,
"lon": -1.1364642665711433,
"ref": "w459257947",
"name": "Jain Samaj",
"source": "osm",
"distance_m": 198
}
],
"place_of_worship_islam": [
{
"lat": 52.6305131,
"lon": -1.1405991,
"ref": "n7055596034",
"name": "DMU Prayer room",
"source": "osm",
"distance_m": 434
}
],
"place_of_worship_judaism": [
{
"lat": 52.6286473922793,
"lon": -1.1180510998785833,
"ref": "w461774039",
"name": "Leicester Hebrew Congregation",
"source": "osm",
"distance_m": 1240
}
],
"place_of_worship_sikhism": [
{
"lat": 52.63562747539247,
"lon": -1.1415481085748165,
"ref": "w320674414",
"name": "Guru Nanak Gurdwara",
"source": "osm",
"distance_m": 542
}
],
"place_of_worship_buddhism": [
{
"lat": 52.6350111,
"lon": -1.136991,
"ref": "n13634281826",
"name": "Nagarjuna Kadampa Buddhist Centre",
"source": "osm",
"distance_m": 290
}
],
"place_of_worship_hinduism": [
{
"lat": 52.633835440179936,
"lon": -1.1313391856622483,
"ref": "w465218980",
"name": "ISKCON",
"source": "osm",
"distance_m": 293
}
],
"place_of_worship_multifaith": [
{
"lat": 52.4111418,
"lon": -1.2510473,
"ref": "n9096863451",
"name": "Prayer room",
"source": "osm",
"distance_m": 25846
}
],
"place_of_worship_christianity": [
{
"lat": 52.633117,
"lon": -1.1319067,
"ref": "n30251401",
"name": "Bishop Street Methodist Church",
"source": "osm",
"distance_m": 229
}
]
},
"attribution": "© OpenStreetMap contributors (ODbL). Contains public sector information licensed under the Open Government Licence v3.0."
}
}Endpoints
GET /v1/postcodes/:postcodePostcode By Code
Questions
Is this a separate subscription?
No. It is part of the UK property listings API, so one key covers both.
How far does it look?
Set radius_m for the search distance and max_per_kind for how many places of each kind come back.
Is there a free plan?
Yes. The free plan on RapidAPI includes 1,000 requests a month, shared with property search.
Related APIs
- UK property listings API
Search current UK homes for sale or to rent by postcode or outcode. Each result has the price, bedrooms, tenure, floor area, UPRN and listing dates.
- UPRN API
Send a UK address with its postcode and get the closest UPRN back as JSON, with a confidence score and ranked alternatives.