fourzerotwo
← UK Postcodes
geo by fourzerotwo

Postcode autocomplete

Complete a partial UK postcode.

Postcode autocomplete Free

Complete a partial UK postcode.

cost
Free then $0.001 / call
MCP tool
uk-postcodes__autocomplete
method
GET

Free up to 50 calls a day over MCP (500 with a free key), then $0.001 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/uk-postcodes/autocomplete

ParamTypeDescription
postcode string Partial postcode
# free: send a free key from https://fourzerotwo.si/free
curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-postcodes/autocomplete?postcode=SW1A%201"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/uk-postcodes/autocomplete?postcode=SW1A%201"

by fourzerotwo

Report this endpoint

Use it from an AI agent (MCP)

Add the server once, then ask for this data in plain English. The agent finds the endpoint with search_apis and runs it with call_api.

{
  "mcpServers": {
    "fourzerotwo": { "type": "http", "url": "https://fourzerotwo.si/mcp" }
  }
}
# the call the agent makes
call_api {"tool": "uk-postcodes__autocomplete", "arguments": {"postcode":"SW1A 1"}}

More from UK Postcodes

  • Postcode lookup — Full ONS record for one UK postcode, including latitude/longitude and administrative areas.
  • Nearest postcodes — Postcodes nearest to a given UK postcode.
  • Reverse geocode — Nearest postcodes to a latitude/longitude.
  • Validate postcode — Whether a string is a valid, live UK postcode.
  • Outward code — Centroid and administrative areas for a postcode district (outward code), e.g. "SW1A".
  • Terminated postcode — When a retired UK postcode was terminated, and where it was.
  • Place search — Search UK places (towns, villages, suburbs) by name.

Contains OS data © Crown copyright and database right; Royal Mail data © Royal Mail copyright and database right; ONS data licensed under the Open Government Licence v3.0. Served via postcodes.io.