ZIP Codes for a City
View all Redfin Property Data endpoints →Enumerate the ZIP codes belonging to a US city. Pass a city name and receive its ZIP list, so coverage jobs can fan a city target out into per-ZIP queries with no gaps. Useful for territory planning, direct-mail targeting and city-level analytics that need ZIP granularity.
API Features
Complete enumeration Every ZIP in the city, so crawls never silently skip neighborhoods.
Fan-out ready Each returned ZIP feeds the location-search endpoints directly.
Territory planning Agent teams can carve cities into ZIP-level patches.
Granular analytics City metrics decompose into per-ZIP measurements.
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
GET
/api/project/redfin/get-zip-code-by-city API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/redfin/get-zip-code-by-city?key=<API_KEY>&city=<city>'
curl -X GET 'https://api.opendata-api.com/api/project/redfin/get-zip-code-by-city?key=<API_KEY>&city=<city>'
Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Expand a target city into its full ZIP list to guarantee complete coverage in listing crawls.
- Drive territory planning for agent teams by enumerating ZIPs per city.
- Power a city-level search UI that fans out into per-ZIP queries for granular analytics.
- Generate per-ZIP rent and price tables for a city market report.
Frequently asked questions
What city-name format is expected?
Pass the English city name (e.g. Holtsville); where same-name cities exist, confirm state and scope via the autocomplete endpoint first.
Does the return order carry meaning?
The list is for coverage enumeration, not priority; sort it yourself as needed.