back

by privong·6y ago·view on hn ↗
> USPS has a free API that gives you the location of every collection box.

Do you have a link for this? It would be useful for filling out post box information on openstreetmap, I'd think. I found the USPS "Web Tools API"[0] but it seems to focus on pricing, tracking, and address verification. I didn't see anything about querying USPS locations (except for package pickup).

[0] https://www.usps.com/business/web-tools-apis/

1 comments
I may have slightly misremembered. I can't find it in their officially documented APIs either.

However if you inspect your network traffic while doing a search on their "Find locations" page, it's not too hard to find the address of their REST API. However since it's not documented it might be rude to hit it too hard