Skip to main content

Autocomplete a Postcode

Convenient method to return an list of matching postcodes.

Endpoint

GET https://api.postcodes.io/postcodes/:postcode/autocomplete

Example Request

https://api.postcodes.io/postcodes/BR87R/autocomplete

Example Response

{
"status": 200,
"result": [
"BR8 7RA",
"BR8 7RB",
"BR8 7RD",
"BR8 7RE",
"BR8 7RF",
"BR8 7RG",
"BR8 7RH",
"BR8 7RJ",
"BR8 7RL",
"BR8 7RP"
]
}

Optional Query Parameters

limit= (not required) Limits number of postcodes matches to return. Defaults to 10. Needs to be less than 100.