Postcode API errors
Every error is an RFC 9457 problem: type, title, status, detail, instance and request_id. Errors are never billed.
That is not a UK postcode 400 · invalid_postcode
The input isn't in the format of a UK postcode. Free. Show your customer the format: two to four characters, a space, a digit and two letters.
Postcode not found 404 · postcode_not_found
The format is right but the postcode isn't in this edition. Free. New-build postcodes can take up to three months to appear: never block a customer on this alone.
Outside our coverage 404 · not_covered
A Northern Ireland (BT) postcode: valid format, outside our open-data coverage until full address lookup.
Invalid API key 401 · invalid_key
The key is malformed, revoked or unknown. Check it in your dashboard.
API key required 401 · key_required
This endpoint needs a key. Get one free in under a minute.
Secret key used in a browser 403 · secret_key_in_browser
A secret key arrived from a web page. Keep secret keys on your server; use a publishable key in browsers.
Publishable key not allowed here 403 · publishable_key_not_allowed
Publishable keys work on lookups, validation and autocomplete only. Call this endpoint from your server with a secret key.
Origin not allowed for this key 403 · origin_not_allowed
The page's domain isn't on this publishable key's list. Add it in your dashboard.
Monthly lookups used up 402 · quota_exceeded
This month's lookups (and any prepaid packs) are used up. Upgrade or add a pack; the allowance resets on your period date.
Too many requests 429 · rate_limited
Too many requests in a short time. Wait for Retry-After seconds and try again.
Bad request 400 · bad_request
A parameter is missing or out of range; the detail says which.
Not found 404 · not_found
No such endpoint or resource.
Method not allowed 405 · method_not_allowed
The endpoint exists but takes another method; see the Allow header.
Address lookup is in early access 403 · address_lookup_not_enabled
Full address lookup is in early access. Join the list and we'll switch it on for your key.
Something went wrong on our side 500 · server_error
Our fault. Retry with backoff and quote the request_id if it persists.