According to your browser which gave an accuracy of
It's quite possible that your browser couldn't quite work out where you are, especially if you're using a desktop computer.
If you want to add postcode detection to your application, check out the API link. It's free!
It's pretty simple. Code-Point open is a set of CSV files that contain all the UK postcodes, and their location as OSGB co-ordinates. So for a given postcode, you could find out where in the UK that was.
I wanted to do the reverse of that, so that for a given location you can try to work out what your postcode is. That's why I built this API that will allow you to pass a lat/lon co-ordinate and get back the nearest postcode. This web app uses your browser's geo-location abilities to determine where you are and then calls the API to get a postcode.
All of the postcodes have been imported to a MongoDB database, along with their corresponding WGS84 lat/lon co-ordinate. Once in the database, we use Mongo's geo-spatial indexing to locate the nearest postcode to your location
Created by @mattwoberts