How it works · Try it live
Type three letters.
Get a canonical address.
Watch the engine in real time. Suggestions surface in ~40 ms, the final match in under 100 ms. Limited to 50 lookups per session — no signup needed.
Three stages, one request.
Every key your users press hits the same SERP-certified engine. The widget on the right is the real API, not a mock.
A
Autocomplete
Suggestions ranked by deliverability, weighted to the user's province. Keyboard-navigable, accessible.
B
Validate
Suite, unit, building — every component is checked against PCAD and Canada Post delivery reference data.
C
Canonicalize
Output is uppercase, postal-formatted, with two-space gap before the postal code. Same shape every time.
SDKs · sample integrations
One endpoint, six languages.
Drop-in examples, ready.
JavaScript
// validate.js const res = await nCode.validate({ address: "123 Queen St W", country: "CA" });
Python
# validate.py res = ncode.validate( address="123 Queen St W", country="CA" )
cURL
# shell curl https://api.ncodecloud.ca/v1/validate \ -H "X-NCode-Key: $KEY" \ -d '{"address":"123 Queen St W"}'
Also available · C# / .NET · Java · Ruby · PHP · Postman collection · OpenAPI spec
Advanced search
Browse every Canadian address.
Filter by street, type, direction, municipality and postal code.
Address types
Additional conditions