GETNo Auth·CORS Ready·Verified 2026-12-02
Postcodes.io (UK)
Free MIT-licensed UK postcode validation, nearest postcodes, parliamentary constituency, and lat/lng lookup.
Live JSON Playground & Client Code
GETPostcodes.io (UK)
https://api.postcodes.io/postcodes/SW1A1AA// Click "Send Live Request" to call this endpoint live from your browser:
// GET https://api.postcodes.io/postcodes/SW1A1AA
// Auth: No Auth | CORS: CORS Ready
// Rate limit: Unlimited open-source UK lookupLimit: Unlimited open-source UK lookupCommercial: Yes (MIT)
Production Integration Checklist
- Zero-auth endpoint: call directly with no signup, API key, or secrets management.
- Browser CORS is enabled. Avoid unnecessary custom headers to skip extra OPTIONS preflight latency.
- Documented rate limit: "Unlimited open-source UK lookup". Always pair requests with an 8s timeout and shared HTTP caching to avoid 429 errors.
- Commercial license note: Yes (MIT). Verify attribution wording in official docs before production launch.