Home / Data & Enrichment / US ZIP Code & Postal Distance API
US ZIP Code & Postal Distance API logo

US ZIP Code & Postal Distance API

Published by @mdforge · Verified Publisher
99.98% uptime ~8ms avg AI Score 94/100

Lookup 41,000+ US & Canadian ZIP codes, calculate exact ZIP-to-ZIP distance, and find all ZIPs within a mile radius.

Live Interactive Playground
https://api.indieapis.com/v1/postal-zipcode-intel/lookup
Resolve city, state, country, and GPS coordinates for any US/CA ZIP.
Live JSON Response Click "Run Live Test" to query live data
{
  "ok": true
}

            

Overview & Documentation

Lookup 41,000+ US & Canadian ZIP codes, calculate exact ZIP-to-ZIP distance, and find all ZIPs within a mile radius.

Zero-proxy production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

Complete Endpoint Reference (3 Endpoints)

Base URL: https://api.indieapis.com/v1/postal-zipcode-intel · Scoped MCP: https://indieapis.com/mcp/postal-zipcode-intel

Method Path Parameters Description
GET /lookup zip* Resolve city, state, country, and GPS coordinates for any US/CA ZIP.
GET /distance from*, to* Calculate straight-line miles and kilometers between two ZIP codes.
GET /nearby zip*, miles List nearby ZIP codes within 1-100 miles sorted by closest distance.