post code lookup

dtdukes86

Member
Local time
Today, 01:53
Joined
Aug 14, 2021
Messages
83
hi everyone its been a while since I wrote anything on here,
today I'm after a bit of help again, I'm trying to add a postcode lookup dialog box to my existing database, at the moment we just type in the full address but I think a postcode lookup would save time and be more accurate. I did find some sample lookups on google that worked but not fully, so I'm wondering if anyone has done this before.
as always I'm happy to pay for the help but I'm reluctant to have to sign up for any kind of monthly subscription if it can be avoided.
 
@Gasman hi yes i did a little looking around and I did stumble across @isladogs post. to be honest, it looks amazing but may be too complex for what I'm trying to do, a lot of my system is also designed to plan routes, etc so his system would probably duplicate a lot of the functions I already have (albeit them fair less advanced). some of the ones I found used 192.com but I'm not sure how to make them work. I did look on the royal mail database site but that was rediculous money from the page I found. :-( I'm after a very simple postcode entry form, that produces a list of addresses that the user can pick one from the list and it sticks it into the form. i just don't know how to code or where to start coding a postcode lookup box :(
 
If you want something simpler than my commercial app, try this free cut-down version:

Enter a UK postcode & it finds all the addresses for the postcode and the last sale price for each (where available)
It also shows a map
The data is also based on 192.com so it won't work for postcodes outside the UK
 
@isladogs hi im still trying to get a api key my browser just spins and spins lol . .ill keep trying id be more than happy to pay for a basic version from the screen shots it seems to be promising , thank you
 
@isladogs finally managed to get it working what a nice bit of kit you have created, thank you I will certainly purchase it. Very clever!!
 
You're welcome. Glad you've finally managed to get a Google API key...
I look forward to receiving your order for the source code.
 
I thought UK post codes were copyright of the post office.
 
I thought UK post codes were copyright of the post office.

No. UK Postcode data is available free from the Office for National Statistics (ONS) though it needs some work to make it usable.
It can also be obtained under license from the Post Office or from various resellers
 
Being in the US, I haven't looked at @isladogs solution. But something similar is probably available in the US. I'm pretty sure I have found websites where you can post an address and get a zip which can be used for free for small numbers of requests per day using an API. I have not seen any where they will provide a file of addresses within a zip but they might be available also.
 
@isladogs hi i purchased and used your simple post code lookup and its now working perfectly thank you very much for this and the advice. top man! very impressived.
 
Hi
Glad you're finding it useful. Hopefully it will save your business a lot of time and therefore more than pay for itself...
 
No. UK Postcode data is available free from the Office for National Statistics (ONS) though it needs some work to make it usable.
It can also be obtained under license from the Post Office or from various resellers
That's interesting. Where exactly may I find this data at the ONS?
 
This site won't allow me to post the ONS link.

They provide an UPRN- Unique property reference numbers. But from my understanding, this doesn't provide property names.
 
ONS provides full postcode data. It’s a huge download.

However it does not provide data for the addresses in each postcode. To obtain that information you must either subscribe to a Post Office database (expensive annual subscription) or obtain address data on demand from a reseller. I use Ideal-Postcodes for this. The latter option is likely to be more cost effective for SMBs.

For more details and links, see the article for my commercial app UK Postal Address Finder
 
Last edited:
ONS provides full postcode data. It’s a huge download.

However it does not provide data for the addresses in each postcode. To obtain that information you must either subscribe to a Post Office database (expensive annual subscription) or obtain address data on demand from a reseller. I use Ideal-Postcodes for this. The latter option is likely to be more cost effective for SMBs.

For more details and links, see the article for my commercial app UK Postal Address Finder (URL to follow shortly when I’m at my computer)
I thought I had posted that in post #2?
 

Users who are viewing this thread

Back
Top Bottom