Canada postal code lookup API
Look up any Canadian postal code or 3-character Forward Sortation Area (FSA) to get the city, province, coordinates and IANA timezone. Pass a full 6-character code or just the FSA — Ziptastic normalizes it automatically.
Try a live CA lookup
Try a Canadian FSA (e.g. M5V) or full 6-character code (M5V 2T6).
[
{
"country": "CA",
"postal_code": "M5V",
"city": "Toronto",
"county": "Toronto",
"state": "Ontario",
"state_short": "ON",
"latitude": 43.6435,
"longitude": -79.3974,
"timezone": "America/Toronto",
"geohash": "dpz83b6p4x1w"
}
]
Call it from your code or agent
Pass your API key in the x-key header:
curl -H "x-key: YOUR_KEY" https://zip.getziptastic.com/v3/CA/M5V
v3 Response
[
{
"country": "CA",
"postal_code": "M5V",
"city": "Toronto",
"county": "Toronto",
"state": "Ontario",
"state_short": "ON",
"latitude": 43.6435,
"longitude": -79.3974,
"timezone": "America/Toronto",
"geohash": "dpz83b6p4x1w"
}
]
Canadian lookups are indexed by 3-character Forward Sortation Area (FSA). If a user types a full 6-character code like M5V 2T6 or m5v2t6, Ziptastic automatically trims and uppercases it to M5V. See the field reference for details.
Built for US & Canada cross-border apps
- Automatic FSA normalization: Customers enter M5V 2T6, M5V-2T6, or M5V. The API normalizes every format to its 3-character Forward Sortation Area so you don't have to pre-parse input.
- Province names & 2-letter codes: Every Canadian lookup returns both the full province or territory name (Ontario) and its two-letter postal abbreviation (ON).
- Accurate Canadian timezones: From America/St_Johns and America/Halifax to America/Toronto, America/Edmonton and America/Vancouver, get the IANA timezone in the same call.
- One integration for North America & beyond: Use the exact same /v3/<country>/<postal_code> schema for CA, US, MX, GB and 120+ countries.
No enterprise licensing headaches
Integrating separate US and Canadian postal datasets usually means juggling two schemas and restrictive postal redistribution rules. Ziptastic gives you a single REST and MCP interface for US 5-digit ZIP codes, Canadian FSAs, and 123 countries and territories.
Start with 100 requests a day for free — no credit card required — and scale up to 1,000,000 requests a day as your traffic grows.
Free plan included
The free Developer plan gives you an API key with 100 requests a day on the full v3 API across all 123 countries and territories, and no card is required. When you outgrow it, paid plans scale up to 1,000,000 requests a day.
Explore other postal code APIs
Start in minutes
Create a free key, then copy a working example in cURL, Python, Node.js, PHP or Ruby.