ZIP/Postal Code Lookup avatar

ZIP/Postal Code Lookup

Pricing

from $10.00 / 1,000 results

Go to Apify Store
ZIP/Postal Code Lookup

ZIP/Postal Code Lookup

Bulk ZIP/postal code lookups and city-to-postal reverse lookups across 60+ countries using the Zippopotam.us API. No API key required.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

๐Ÿ“ฎ Zippopotam โ€” ZIP/Postal Code Lookup โ€” Apify Actor

Bulk ZIP/postal code lookups and city-to-postal reverse lookups across 60+ countries using the Zippopotam.us API. No API key required.

Features

  • 60+ countries โ€” US, UK, Germany, France, India, Pakistan, Canada, Japan, and many more.
  • Two lookup modes:
    • Postal Code โ†’ Places โ€” find city, state, and coordinates for postal codes.
    • City โ†’ Postal Codes โ€” find all postal codes for a given city and state.
  • Batch input โ€” comma-separated codes, numeric range expansion (90210-90220), or mixed.
  • Multi-country mode โ€” look up the same postal codes across multiple countries in one run.
  • 4 output formats โ€” flat, one-per-place, nested, geocode-only.
  • Configurable rate limiting โ€” adjustable delay between requests.
  • Not-found handling โ€” skip silently or output placeholder records.

Input Examples

Bulk Postal Code Lookup

{
"lookupMode": "postal_code",
"country": "US",
"postalCodes": "90210,10001-10010,60601,30301",
"outputFormat": "flat",
"requestDelay": 100
}

City Reverse Lookup

{
"lookupMode": "city",
"country": "US",
"state": "CA",
"cities": "Los Angeles,San Francisco,San Diego",
"outputFormat": "one_per_place"
}

Multi-Country Lookup

{
"lookupMode": "postal_code",
"country": "US",
"postalCodes": "10001,20001,30001",
"multiCountry": "US,CA,GB",
"outputFormat": "flat"
}

Pakistani Postal Codes

{
"lookupMode": "postal_code",
"country": "PK",
"postalCodes": "44000,54000,75500,46000,50700",
"outputFormat": "one_per_place"
}

Input Parameters

ParameterTypeDefaultDescription
lookupModestringpostal_codepostal_code or city
countrystringUSISO 2-letter country code
postalCodesstringโ€”Codes to look up: 90210,10001-10005,60601
statestringโ€”State/province for city lookup
citiesstringโ€”Comma-separated cities for reverse lookup
multiCountrystringโ€”Comma-separated ISO codes to query multiple countries
requestDelayinteger100Milliseconds between API requests
skipNotFoundbooleantrueSkip codes that return no results
outputFormatstringflatOutput shape (see below)
sortBystringpostal_code_ascSort order
maxResultsinteger0Limit output rows (0 = unlimited)
addSequentialIdbooleantrueAdd sequential ID to each record

Output Formats

Flat (default)

One row per postal code. Multiple places within the same code are joined.

FieldExample
id1
postal_code90210
countryUnited States
country_codeUS
place_nameBeverly Hills
place_count1
stateCalifornia
state_abbreviationCA
latitude34.0901
longitude-118.4065

One Per Place

Most granular โ€” one row for each place within a postal code. A postal code covering 3 neighborhoods produces 3 rows.

Nested

Original API structure with a places array inside each record.

Geocode Only

Minimal: postal_code, country_code, place_name, latitude, longitude.

Range Expansion

Numeric ranges are automatically expanded:

InputExpands To
90210-9021590210, 90211, 90212, 90213, 90214, 90215
10001-10005,9021010001, 10002, 10003, 10004, 10005, 90210
01001-0101001001, 01002, โ€ฆ 01010 (leading zeros preserved)

Ranges are capped at 1,000 codes each to prevent runaway requests.

Supported Countries

AD, AR, AS, AT, AU, BD, BE, BG, BR, CA, CH, CL, CO, CZ, DE, DK, DO, ES, FI, FO, FR, GB, GF, GG, GL, GP, GT, GU, HR, HU, IE, IM, IN, IS, IT, JE, JP, LI, LK, LT, LU, MC, MD, MH, MK, MQ, MT, MX, MY, NL, NO, NZ, PH, PK, PL, PM, PR, PT, RE, RO, RU, SE, SI, SK, SM, TH, TR, UA, US, VA, VI, YT, ZA.

Use Cases

  • Address validation โ€” verify postal codes map to expected cities/states.
  • Geocoding โ€” get latitude/longitude for postal codes without a paid geocoding API.
  • Delivery zone mapping โ€” map postal code ranges to regions for shipping.
  • Market research โ€” identify which postal codes fall within target regions.
  • Data enrichment โ€” add city/state/coordinates to existing postal code data.
  • Form auto-fill โ€” build postal code lookup tables for address forms.