I have 5 digit zip codes, these are retrieved from Google Maps Api.
Active4 years, 6 months ago
My dilemma is that I have to connect to a remote database which also contains addresses. If the address does not exist in that database, I have to write it, if it does exist then I do nothing except store the ID that database has assigned to the address. The problem arises since the api to check this database does not take wildcards, the addresses in that database have 9 digit zip codes (5+4) and will not return that the rest of the address matches my address with 5 digit zip codes.
The remote system will tell me that the address does not exist with the ones I send it.
So to prevent duplicate addresses from being written to the database I would need to find the 9 digit version of the zip code I have before sending it.
Our Zip Code Data is Available For Immediate Download With ZipCodeDownload there is no need to wait For the mail and pay shipping costs for your zip code database. The second you purchase a zip code database or postal code database, it is ready to be downloaded and used.
Cities by ZIP Code™ For more rapid delivery, please use the recommended or recognized city names whenever possible for this ZIP Code ™. Immediate Download with GEO data, Latitude, Longitude and more.709 - 759 Edgewood AVE, Akron - OH. St 33166 zip code oakdale ny south whitley indiana zip code chelsea ma 9 digit zip code calallen zip code zip code 4.Look up ZIP Codes for corporate and residential addresses.
How would this be done? Is there a formula for determining what the last 4 digits of a 5 digit address are? Does the USPS have an API? Does the Census have a giant table?
Insight appreciated
Matt
13.7k1010 gold badges5555 silver badges9797 bronze badges
CQMCQM
15.9k6363 gold badges203203 silver badges341341 bronze badges
2 Answers
You are only allowed to use the USPS API for information if you are using the USPS to send out mail..
But you could check out SmartyStreets (I used to work there) or another CASS-Certified vendor. They are licensed for address verification, and you can also perform city-state and ZIP code lookups without an address (depending on who you choose).
I think you'll find them much easier and more comprehensive than the default USPS web service. Kuroshitsuji season 1 episode 1.
It brings with it the cross-device or cross-platform feature that you can edit your office documents across the Windows and Apple. Ms office 2019 free download. What’s New Here. You can also see the person that you’re colluding with using the Skype integration feature. It allows you to use instant messaging to cause both video or voice calls. Activates your MS products.
Here's some sample code.. take your pick: https://github.com/smartystreets/LiveAddressSamples
MattMatt
13.7k1010 gold badges5555 silver badges9797 bronze badges
The US Postal Service have a number of APIs. Their 'Address Information APIs' include:
Address Standardization
Eliminate addressing errors and help ensure accurate and timely delivery. This tool corrects errors in street addresses, including abbreviations and missing information. It also supplies a ZIP+4® Code.
ZIP Code™ Lookup
Find matching ZIP Codes or ZIP+4 Codes for any given address, city, and state in the U.S.
City/State Lookup
Use a ZIP Code to get accurate city and state information.
The Address Information APIs require permission to use.
MarteyMartey
9 Digit Zip Code Download Free
1,61611 gold badge1212 silver badges2323 bronze badges
9 Digit Zip Code Download UspsNot the answer you're looking for? Browse other questions tagged apigeocodegoogle-geocoderstreet-addressusps or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |