ZipCodesToGo.com — Developer API

US ZIP Code Lookup API — Fast, Reliable, Free to Start

Access 42,000+ US ZIP codes via a simple REST API. Get city, state, county, latitude/longitude, and timezone in milliseconds. Used by developers since 2007 — powering real-world applications and data pipelines.

Built for developers, SaaS apps, eCommerce platforms, logistics systems, and data teams.

View API Docs →
No credit card for free tier 42,000+ ZIP Codes REST / JSON <1ms avg response 99.9% uptime Test without signup ↓
42,000+US ZIP codes covered
<1msAvg response time
99.9%Uptime SLA (Enterprise)
Since 2007Trusted by developers
REST + JSONEasy to integrate
Common Use Cases
Form & Checkout Validation Validate ZIP codes at input to reduce address errors at checkout.
📍 Geocoding & Mapping Convert ZIP codes to lat/lng coordinates for maps and location services.
🚚 Delivery & Logistics Build delivery radius tools, route planners, and coverage area checks.
📊 CRM & Marketing Enrichment Append city, state, and county to customer records from ZIP codes.
🕐 Timezone Detection Look up IANA timezone from ZIP code for scheduling and notifications.
🔍 Geographic Analysis Segment users by region, county, or city using ZIP code data.
Quick Start
ZIP Lookup
City Search
Radius Search
# Look up a ZIP code
curl https://api.zipcodestogo.com/v1/zip/90210 \
     -H "X-Api-Key: zcg_your_key_here"

# Response
{
  "zip":  "90210",
  "data": {
    "city":      "Beverly Hills",
    "state":     "CA",
    "county":    "Los Angeles",
    "lat":       34.0901,
    "lng":       -118.4065,
    "timezone":  "America/Los_Angeles"
  }
}
# Find ZIP codes by city name
curl https://api.zipcodestogo.com/v1/city?name=Austin&state=TX \
     -H "X-Api-Key: zcg_your_key_here"

# Response
{
  "city": "Austin",
  "state": "TX",
  "zips": [
    { "zip": "78701", "lat": 30.2672, "lng": -97.7431 },
    { "zip": "78702", "lat": 30.2571, "lng": -97.7217 }
  ]
}
# Find all ZIPs within 10 miles of a ZIP code (Basic+ plans)
curl https://api.zipcodestogo.com/v1/radius?zip=10001&miles=10 \
     -H "X-Api-Key: zcg_your_key_here"

# Response
{
  "origin_zip": "10001",
  "radius_miles": 10,
  "results": [
    { "zip": "10002", "city": "New York", "distance_miles": 1.4 },
    { "zip": "10003", "city": "New York", "distance_miles": 1.9 }
  ]
}
Integration Guides
🟨 JavaScript fetch(), Node.js, form auto-fill 🐍 Python requests, Flask, Django, pandas 🐘 PHP curl, Guzzle, WordPress 🆓 Free Tier Guide Limits, options & when to upgrade
Try It Live

Enter any US ZIP code — no API key needed:


    

Live request to the API — same response your app will receive. Get an API key to use in production.

API Plans & Pricing
Free
$0 /mo
100 calls / day
  • ZIP code lookup
  • City & state
  • Lat / lng
  • City search
  • Radius search
  • Timezone data
  • Population data

No credit card required

Basic
$19 /mo
5,000 calls / day
  • ZIP code lookup
  • City, state, county
  • Lat / lng
  • City search
  • Radius search
  • Timezone data
  • Population data

Cancel anytime

Enterprise
$89 /mo
Unlimited calls
  • ZIP code lookup
  • City, state, county
  • Lat / lng
  • City search
  • Radius search
  • Timezone data
  • SLA + bulk export

Cancel anytime

Full feature comparison
Feature Free Basic Pro Enterprise
ZIP code lookup
City, state, county
Latitude / longitude
City search
Radius search
Timezone / DST
Population data
Bulk export
SLA guarantee
Frequently Asked Questions
How do I get my API key? Click any plan above, enter your email, and your key is issued instantly — no waiting or approval process.
Do I need a credit card for the free plan? No — the free tier requires only your email address. A credit card is only required for paid plans.
Can I cancel anytime? Yes. Paid plans are month-to-month with no contracts. Cancel from your billing portal at any time.
When does the daily call limit reset? Call counts reset at midnight UTC every day.
Can I use this API commercially? Yes — all plans, including the free tier, include commercial use rights.
Need the raw database instead? Download ZIP databases in Excel, CSV, or Access format — one-time purchase, no subscription.
About This API

ZIP Code API for US Address Lookups and Geolocation

A ZIP Code API enables developers to programmatically look up and validate United States ZIP codes, returning structured data such as city, state, county, latitude/longitude coordinates, and timezone. It is widely used for address validation at checkout, geolocation features, location-based filtering, and data enrichment in CRM and analytics systems.

What data does the ZipCodesToGo API return?

The ZipCodesToGo ZIP Code API covers all 42,000+ active US ZIP codes and returns the following fields per request: city name, state abbreviation, county name, latitude, longitude, and IANA timezone identifier. Higher-tier plans also include population data, radius search (find all ZIP codes within N miles), and bulk data export.

How to integrate the ZIP Code REST API

The API uses standard REST conventions. All requests are made via HTTPS GET, authenticated with an API key passed in the X-Api-Key header. Responses are returned in JSON format, making it straightforward to integrate with any language or framework — including JavaScript, Python, PHP, Ruby, and Go. A full endpoint reference is available in the API documentation.

Free ZIP Code API tier

The free plan provides 100 API calls per day and includes ZIP code lookup, city/state data, and latitude/longitude — no credit card required. It is suitable for development, testing, and low-volume production use. Upgrade to a paid plan for higher call volumes, radius search, and timezone data. See the free tier guide for a full comparison of what's included.

Why choose this ZIP Code API?

Unlike generic data providers, this API is focused specifically on US ZIP code lookups, resulting in faster response times, simpler endpoints, and predictable pricing. There are no per-field charges or complex query syntax — every lookup returns a consistent JSON object, making integration straightforward.

ZIP Code API vs. ZIP code database download

The API is the right choice for applications that need real-time, on-demand lookups — such as form validation, live delivery calculators, or dynamic location features. If you need the full dataset for offline processing, data pipelines, or bulk analysis, consider the ZIP code database download (available in CSV, Excel, and Access formats as a one-time purchase).

Learn more about ZIP code databases, using the API in JavaScript, Python integration examples, PHP integration examples, or what the free ZIP code API includes.