Skip to content

Postcode shape

For a form that should reject SW1A 1A before it calls a lookup. Start with Getting started.

GET /v1/check/postcode checks the UK outward and inward shape, including GIR 0AA. BFPO is not covered. This is not a Royal Mail lookup. To resolve a real code, use postcode (GET /v1/postcode).

Try it

https://fetch.li/v1/check/postcode?number=SW1A%201AA

Parameters

Parameter Required Description
number Yes UK postcode, space optional

Demo

GET endpoints work without an API key on the public demo tier (60 calls per hour per IP).

Related: postcode lookup, Pulse, checks overview.

Try it

GET https://fetch.li/v1/check/postcode


    
    
    
  

Answer

Response

response