Free tool ยท map

ZIP codes in a drawn area

Click on the map to draw a delivery zone, sales territory or any other area and get all postal codes inside it.

Click the map to draw an area (at least 3 points).

Polygon search by API

Send the corners of your area as [longitude, latitude] pairs:

curl -X POST "https://api.zipcodestack.com/v1/polygon?country=us" \
  -H "apikey: YOUR-API-KEY" -H "Content-Type: application/json" \
  -d '{"coordinates": [[-74.02,40.70],[-73.97,40.70],[-73.97,40.76],[-74.02,40.76]]}'

Frequently asked questions

How do I find all ZIP codes in an area?

Choose the country, click on the map to add the corners of your area (at least three points) and click 'Find codes in area'. Every ZIP code whose centre lies inside the shape is listed and can be downloaded as CSV.

Why use a polygon instead of a radius?

Real service areas follow rivers, highways and city limits, not circles. A polygon lets you draw the exact shape.

Postal code API

Get this data in your app

zipcodestack looks up, validates and searches postal codes in 149 countries: city, state, coordinates, distances and radius search, as JSON.

/v1/polygon documentation ZIP code API All documentation

300 free requests every month. No credit card required.

GET https://api.zipcodestack.com/v1/polygon?country=us

{
  "results": {
    "10001": [{
      "postal_code": "10001",
      "country_code": "US",
      "latitude": 40.7484,
      "longitude": -73.9967,
      "city": "New York",
      "state": "New York",
      "state_code": "NY",
      "province": "New York"
    }]
  }
}

Free postal code tools

Start using our ZIP Code API for free today!

Get 300 requests / month for free