4 ms·
According to the USPS website, API usage is free here: https://www.usps.com/business/web-tools-apis/list-of-apis.htm https://www.usps.com/business/web-tools-api
by biturd 13y ago
According to the USPS website, API usage is free here: https://www.usps.com/business/web-tools-apis/list-of-apis.htm https://www.usps.com/business/web-tools-apis/list-of-apis.ht...
One of the API's relates to zip codes.
- biturd 13y agoLooks like USPS API data is free and usable only for package shipping. Not that I bet they would notice. At any rate, this seems to be a great start with a great API recommendation: http://stackoverflow.com/questions/7129313/zip-code-lookup-api http://stackoverflow.com/questions/7129313/zip-code-lookup-a...
- biturd 13y agoSorry to keep replying, I don't have an edit button for some reason. This one is cool too: http://api.zippopotam.us/us/ma/belmont http://api.zippopotam.us/us/ma/belmont I found a town called Bakersfield that has more than one zip fro the town, it does JSON back with more data than I thought would be part of free plan. For some reason I could not get "san_francisco","san-francisco", "sanfrancisco", or "sf" to work.
- abromberg 13y agohttp://api.zippopotam.us/us/ca/san%20francisco http://api.zippopotam.us/us/ca/san%20francisco
- jfortunato25 13y agoif you take a closer look you'll notice that the usps api takes a USERID as an xml parameter so it is not free.
- dogweather 13y agoAuthor of the blog post here. Access to the API isn't automatic. You have to apply, which I did, and then was turned down. They only grant access if you're using the info to ship packages via the USPS. I was completely honest that I wanted the data to build open-government apps of different kinds, and they declined me.