UnifyAPI
← Back to catalog

ukpost.nearest

mock data$0.001 / call

Nearest UK Postcodes

Find nearest UK postcodes to a lat/lon coordinate — returns postcodes sorted by distance with district info. Use for reverse geocoding in the UK (Postcodes.io)

Geo & Mapsprovider: Ukpost#ukpost#geo

Input schema

latrequired

Latitude (e.g. 51.5074 for London)

number
lonrequired

Longitude (e.g. -0.1278 for London)

number
limit

Max results (1-10, default 5)

integer

Call via REST

curl -X POST https://unifyapi.pro/api/call/ukpost.nearest \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"lat":0,"lon":0,"limit":5}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.