Plain JSON API
No API key. Send a postcode to a versioned endpoint and receive the source fields as typed JSON.
UK grounding service · built for AI agents
Validate a UK postcode and return its retained ONS geography fields through a straightforward JSON API or, in supporting browsers, a WebMCP tool.
This form and the agent tool use the same public lookup service.
No API key. Send a postcode to a versioned endpoint and receive the source fields as typed JSON.
A read-only browser tool is registered where WebMCP is available. The API works independently of browser support.
Based on ONSPD February 2025. BT postcodes are withheld pending confirmation of Northern Ireland licensing.