Free ZIP code API and widgets
Use ZipCodeMap.org data on your own site or app. Free, no key needed. Please credit ZipCodeMap.org with a link.
Embed the ZIP radius map
Paste this where you want the widget. Change zip and r (miles) for the starting search.
<iframe src="https://zipcodemap.org/embed/radius?zip=32137&r=10" width="100%" height="480" style="border:1px solid #ddd;border-radius:8px" title="ZIP code radius map" loading="lazy"></iframe> <p style="font-size:12px">ZIP radius map by <a href="https://zipcodemap.org/zip-code-radius">ZipCodeMap.org</a></p>
JSON API
ZIP code details
GET https://zipcodemap.org/api/zip/32137.json
Returns city, state, county and FIPS, metro area (CBSA), coordinates, time zone, land area, population, median income, home value, rent and the 8 nearest ZIP codes.
ZIP codes within a radius
GET https://zipcodemap.org/api/radius.json?zip=32137&miles=10 GET https://zipcodemap.org/api/radius.json?lat=29.57&lon=-81.22&miles=5&pobox=0
Returns each ZIP code with city, state, distance in miles, population and type, closest first. miles can be up to 100; pobox=0 leaves out PO Box ZIP codes.
Responses are cached for a day and allow cross-origin requests. Please keep traffic reasonable (under about 10 requests a second); for bulk work, download the database instead.
Database download
The full dataset is a free CSV: ZIP code database (CC BY 4.0).
Terms
Data is provided as is; see terms and methodology. Questions or higher limits: hello@zipcodemap.org.