Zipcode and County Information
# US ZIP Code & County API Complete REST API for US ZIP code data sourced from the US Census Bureau, HUD, and NANPA. ## Endpoints - **ZIP Lookup** - Get county, state, coordinates, time zone, area codes, population, housing units, metro area, and more for any ZIP code - **Search** - Search by city name, county, or ZIP prefix with full-text search - **Distance Calculator** - Calculate distance…
Zipcode and County Information endpoints
| Method | Endpoint | Description |
|---|---|---|
| zip | ||
| GET |
getZipCode /zip/{code} |
Complete location record for any US ZIP: city, state, county with 5-digit FIPS code, coordinates, IANA time zone + UTC offset + DST flag, area codes, congressional district, CBSA… |
| search | ||
| GET |
searchZipCodes /search |
Search ZIP codes by city name, county name, or ZIP prefix. Full-text matching with trigram fallback. |
| county | ||
| GET |
getCounty /county/{fips} |
Full summary for a US county by its 5-digit FIPS code: aggregate stats (population, housing units, ZIP count, city count), every IANA time zone and area code touched by the… |
| state | ||
| GET |
getState /state/{abbr} |
State-level rollup for any US state or territory: ZIP count, county count, city count, total population and housing, every IANA time zone and area code in the state, and a list… |
| distance | ||
| GET |
getDistance /distance |
Distance between two ZIP codes: straight-line miles (great-circle), driving estimate, compass direction, timezone difference, plus travel time estimates for 6 modes… |
| radius | ||
| GET |
radiusSearch /radius |
Every ZIP within N miles of a center ZIP, sorted by distance. Bounding-box pre-filter, haversine refinement. |
| compare | ||
| GET |
compareZipCodes /compare |
Side-by-side comparison: core location data, ACS demographics (25+ fields), cost-of-living index, NCES school districts, plus straight-line + driving distance between them.… |
| area-code | ||
| GET |
getAreaCode /area-code/{npa} |
NANPA telephone area code data: state, major cities, time zone, overlay-complex flag, in-service flag. |
| weather | ||
| GET |
getWeather /weather/{zip} |
Current conditions + 7-day forecast for any US ZIP. Upstream data from Open-Meteo, cached server-side for 15 minutes so concurrent users share a single upstream call. Response… |
| batch | ||
| POST |
batchLookup /batch |
Look up many ZIPs in one request. Requires an API key with Pro (100), Business (500), or Enterprise (1,000) tier. Each ZIP in the batch counts as one request toward your… |
| ping | ||
| GET |
ping /ping |
Lightweight service health check for uptime monitors and RapidAPI. No auth. Not rate-limited. Returns 200 if database probe succeeds, 503 if it fails. |
Zipcode and County Information pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $19 / month | — |
|
| ULTRA | $79 / month | — |
|
| MEGA | $149 / month | — |
|