uk_postcode
Validate UK postcodes and retrieve location details such as region, district, coordinates, and administrative areas; also reverse-lookup postcodes from latitude and longitude.
Instructions
UK postcode lookup and validation (postcodes.io, ONS/OS open data): country, region, district, ward, parish, constituency, lat/lon, eastings/northings, NUTS; terminated postcodes detected; reverse lookup from lat/lon. Costs 0.001 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "uk_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | reverse: latitude | |
| lon | No | reverse: longitude | |
| postcode | No | UK postcode |