I'm using Google API to find locations with their zips. When I look up by zip code I get the location with no problem. Also, when I look up a location with one zip code it works perfectly. However, I'm running into an issue where, when I enter a location with multiple zip codes I don't get any of them. What I would like is to be able to get back a list of ALL zip codes in that area.
Does anyone know of an API, resource, or a forge component that will be able to return a list of zip codes for a city like Pittsburgh for example that has multiple zips??
Please see if this works for you : https://www.zip-codes.com/zip-code-api.asp
To get a list of all ZIP codes for a city like Pittsburgh using Google API or any other service, you may face limitations with the Google API as it typically returns a single ZIP code for a given location.
Option 1: Using Google Places API
Google Places API can be used to get detailed place information, but it might not directly provide all ZIP codes for a city. However, you can try querying multiple places within the city and aggregate the ZIP codes. This approach might not be efficient.
Option 2: Using GeoNames API
GeoNames is a geographical database that covers all countries and contains over 11 million place names. You can use the GeoNames postal code search service to get all ZIP codes for a city.