US Postal: Getting a List of ZIP Codes in US

  • Thread starter Thread starter dduardo
  • Start date Start date
  • Tags Tags
    State
Click For Summary

Discussion Overview

The discussion revolves around the challenges of obtaining a comprehensive list of ZIP codes in the United States from the United States Postal Service (USPS). Participants explore various methods to access this information, including free resources and potential workarounds for programming solutions.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Exploratory

Main Points Raised

  • Some participants express frustration over the difficulty in obtaining a complete list of ZIP codes, suggesting that USPS guards this information closely.
  • One participant provides a link to a website that offers ZIP code data, but others note that it requires additional processing to extract useful information.
  • There are suggestions that the USPS provides free ZIP code lookups by address or city, but not a comprehensive list, which some participants argue is necessary for various applications.
  • One participant mentions the need for ZIP code data to validate addresses for a website, indicating a potential backup system using a local database.
  • Another participant suggests purchasing a dataset from a third-party source, detailing the contents of the database and its cost.
  • Some participants discuss the tedious nature of manually extracting or processing ZIP code data from available resources.

Areas of Agreement / Disagreement

Participants generally agree that obtaining a comprehensive list of ZIP codes is challenging and that USPS does not provide it for free. However, there are multiple competing views on the best methods to access this information, and the discussion remains unresolved regarding the most efficient approach.

Contextual Notes

Limitations include the dependence on third-party sources for comprehensive ZIP code data, the need for programming skills to manipulate available information, and the lack of clarity on how various websites obtain their data.

dduardo
Staff Emeritus
Science Advisor
Insights Author
Messages
1,902
Reaction score
3
Why does the United States Postal Service guard ZIP Codes so closely? I'm trying to get an up to date list of all the zip codes in the country, but they are making it very difficult to obtain the information. Does anyone have a recent list or know where to get the list for free?
 
Physics news on Phys.org
Last edited by a moderator:
85201-mesa, arizona
 
The Professional, I saw that site, but now I have to write a program to strip all the information. They don't want to just give you a comma delimited file because they want to sell it to you. The government should make it easy for its citizens to obtain this information. Where did this website get the information?
 
dduardo said:
The Professional, I saw that site, but now I have to write a program to strip all the information. They don't want to just give you a comma delimited file because they want to sell it to you. The government should make it easy for its citizens to obtain this information. Where did this website get the information?
dduardo, the US postal service provides free zipcode look up by address or city which are the only ways a normal citizen would ever need to find a zip code. If you have the zipcode and want to see what city it's in, they provide free lookups that way. Anyone wanting a comprehensive list of all zipcodes is more than likely doing it for marketing reasons, which is a business service provided by the postal service for a small fee.
 
One could write an Excel macro to read the ZipCode data into a spreadsheet, or one could copy data manually and use a text editor like TextPad, which enables one to manually manipulate large text files or one can write macros with TextPad.
 
The reason I need this information is to validate address information for a website. I could use USPS' xml web service, but if their site is down, I would like to have a backup system that can check the addresses from a local database.

Ok, well I guess I'll just have to write a zipcode/city scrapper then.
 
Evo said:
dduardo, the US postal service provides free zipcode look up by address or city which are the only ways a normal citizen would ever need to find a zip code. If you have the zipcode and want to see what city it's in, they provide free lookups that way.

I believe what he's looking for is a comprehensive list of all the zip codes in the country. The USPS website does not provide it, but rather a search feature where you have to enter a state and search it one by one.

dduardo said:
The Professional, I saw that site, but now I have to write a program to strip all the information. They don't want to just give you a comma delimited file because they want to sell it to you. The government should make it easy for its citizens to obtain this information. Where did this website get the information?

That sounds very, very tedious! :smile: Frankly, I don't know how they got all the information
 
Last edited:
USPS has a large database, i.e they have exactly the file that you want, but they will not give it away for free.

dduardo - you might consider simply buying the dataset for month ($59.95) - http://www.areacodeworld.com/zipcodegold.htm

I am sure that is would save a lot of time.

Product Summary: ZIPCodeWorld™ United States Gold Edition - The database includes ZIP code, city name, alias city name, state code, phone area code, city type, county name, country FIPS, time zone, day light saving flag, latitude, longitude, county elevation, Metropolitan Statistical Area (MSA), Primary Metropolitan Statistical Area (PMSA), Core Based Statistical Area (CBSA) and Census 2000 data in United States. The complete database contains over 76,000 precise records.

Probably more than you want.
 
Last edited by a moderator:

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K