Skip to content

Zippopotam.us API: Search postal codes

Finds postal codes, place names and coordinates for a town and state or region in a country covered by Zippopotam.us.

zippopotam.us (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Zippopotam.us.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Town, requiredtown

Town to search, for example Beverly Hills.

Beverly Hills

State, requiredstate

State or region name or abbreviation, for example California or CA.

California

Country optionalcountry

Country name or two-letter country code, for example United States or US. Defaults to United States.

United States (default)

Output

From a run on Oct 23, 2026, shortened for this page.
{  "postal_codes": [    {      "town": "Beverly Hills",      "state": "California",      "country": "United States",      "latitude": 33.7866,      "longitude": -118.2987,      "page_link": "https://zippopotam.us/us/90209",      "place_name": "Beverly Hills",      "postal_code": "90209"    },    {      "town": "Beverly Hills",      "state": "California",      "country": "United States",      "latitude": 34.0901,      "longitude": -118.4065,      "page_link": "https://zippopotam.us/us/90210",      "place_name": "Beverly Hills",      "postal_code": "90210"    },    {      "town": "Beverly Hills",      "state": "California",      "country": "United States",      "latitude": 34.0652,      "longitude": -118.383,      "page_link": "https://zippopotam.us/us/90211",      "place_name": "Beverly Hills",      "postal_code": "90211"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
zippopotam.us/search_postal_codes
Returns
postal codes, place names, coordinates, detail links

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method zippopotam.us/search_postal_codes with the inputs above.

Ask your agent

  • What postal codes are used in Austin, Texas?
  • Find the zip codes and coordinates for Boulder in CO.
  • I need the postal codes for Kingston in Ontario, Canada.
  • Look up place names and lat/long for Springfield, Illinois, US.
  • Which zip codes cover Santa Fe, New Mexico?
  • Looks up the places, regions and coordinates for a postal code in a supported country on Zippopotam.us.

    zippopotam.us/get_postal_code
  • Matches a US street address and returns its city or place, county, state, ZIP code, census tract, congressional and state legislative districts, coordinates and FIPS codes. Districts follow the Census Geocoder's current geography vintage and may differ from sitting representation.

    census.gov/get_address_details
  • Finds Indian post offices matching a place name, with PIN codes, branch types, delivery statuses, districts and states. Optionally narrows by state or district.

    postalpincode.in/search_pin_codes
  • Looks up a UK postcode on Postcodes.io, including its location, administrative areas and whether it is still in use. Retired postcodes return location and retirement year only.

    postcodes.io/get_postcode
  • Finds the current House representative and both senators for a US ZIP code or street address, with office contacts and photos. A ZIP covering several districts returns every possible representative until an address identifies one.

    house.gov/get_my_representatives
  • Finds named places or kinds of places in a city or area, in search order, using OpenStreetMap Nominatim. Results may be fewer than requested. Data © OpenStreetMap contributors (ODbL).

    openstreetmap.org/search_places
  • Finds map coordinates and address details for an address or place on OpenStreetMap, optionally restricted to a country.

    openstreetmap.org/get_coordinates
  • Finds the AutoZone stores nearest a US ZIP code, city or street address, with contact details, opening hours, whether each is open now, distance and store page links.

    autozone.com/search_stores