UK Postcodes

Average: 2.3 (47 votes)

Developed by: 
Stuart Harrison

An API for Codepoint Open. Shows the Latitude, Longitude, Easting, Northing and Local Authority details (county, district, ward) for a given point. Also shows nearest postcodes to a postcode and allows reverse geocoding (lat/lng to postcode)

Data available in XML, JSON, CSV and RDF.

Dataset Name: Codepoint Open
Dataset URL: http://www.ordnancesurvey.co.uk/oswebsite/opendata
Dataset Provider: Ordnance Survey

Apps submitted to data.gov.uk are currently approved for publication on the general level of their context and appropriateness. Whilst we review these on a periodical basis, we do not own responsibility for the regular update and maintenance of these apps. Any queries about individual apps or tools published need to be directed to the originator.

Comments

Coverage of UK Postcodes

Does not seem to include Northern Ireland so should be called GB Postcodes, NOT UK Postcodes

 Flag as offensive 

Re: Coverage of UK Postcodes

I wasn't aware that it didn't contain NI data when I bought the domain. However, I have found this source of data, which I'm happy to add, but not sure of licensing constraints:

http://www.nisra.gov.uk/geography/default.asp6.htm

 Flag as offensive 

Northern Ireland Postcodes

The NISRA postcode data for Northern Ireland is freely re-usable under the Click Use PSI Licence. I've made the data available as a single CSV here

 Flag as offensive 

another source for NI

you can find a download of all UK postcodes including northern ireland at http://www.freemaptools.com/download-uk-postcode-lat-lng.htm

However:
a) there is no statement of licensing conditions and
b) the data is only to postcode district i.e. "outward code" level

 Flag as offensive 

Confused

I recently opted to use the Geocoder from Googlemaps based on the fact that I couldnt' find any real documentation on the allowed uses of the UK Postcode Data. All online references seem to suggest the same - that the data may not be queried as part of any application carrying out postcode to longitude and latitude conversion. Has something changed with this and have OS now given up the copyright to this data or they simply allowing people to build apps based on the data with the intention of taking legal action against them in the future?

 Flag as offensive 

Doesn't seem to work anymore

Is this app still active, doesn't find any of the postcodes I try, just returns not found.

 Flag as offensive 

App works fine

I've just updated the code, and taken on the project with Stuart Harrison. The service is working.

 Flag as offensive 

Doesn't work

It doens't work for me anymore either.

 Flag as offensive 

Get empty JSONs frequently

Hi there,

I use this service for my registration page.

Its not a high volume usage, perhaps 100 queries a day. Very regularly though I get empty JSON returns.

It also happens if I make the same request twice, even manually via my browser.

If this is by design for throttling purposes its seems a little severe! No error is returned either which doesnt help, just an empty reponse.

Can you shed any light on this..?

Thanks

Rolf

 Flag as offensive