Find Postcode from Lat Lon for Google Directions

Hi All

just a quick one. I’m working on a booking system that needs a map with directions to the company that is taking the booking. This is (for now) UK based. I found early on that the Wappler Google Directions inputs for source and destination locations work best with postcodes so I had to find the lat/lon of the page visitor and convert that into a postcode for the directions map.

I was going to use my usual go-to APIs for this but I found another one that gives a massive amount of into from the lat lon - for free - Wowza.! I felt I had to share the good news…

API info is here:
https://findthatpostcode.uk/#api

Example of the quantity of data on offer:
https://findthatpostcode.uk/points/51.501009,-0.141588.html
(replace the .html with .json to see the output).

For those running health related apps, it also includes NHS area and local authority info etc etc.

Hope this helps :slight_smile:

5 Likes

Great resource Tom. I’ve bookmarked it as I’m sure this will come in useful. Thanks for sharing. :slight_smile:

1 Like

Glad you found it handy Jon - I’m quite surprised I’d never found it a long time ago, I’ve done countless searches for APIs like this in the past but somehow that one got overlooked.

1 Like