uk_postcode_nearest
Pay-per-call nearest-postcode search for AI agents. Send a UK (Great Britain) postcode and get the postcodes around it, closest first, with distance in metres, coordinates, council and ward, as clean JSON. Optional radius (up to 2000 m, default 500) and limit (up to 100, default 10). Useful for local search, delivery areas and catchments. Built on official ONS / Ordnance Survey open data. Invalid or unknown postcodes return an error and are never charged. Great Britain only. Price: $0.01 USDC per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "uk_postcode_nearest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | UK postcode to search around, e.g. SW1A 2AA. Example: SW1A 2AA | |
| limit | No | Maximum results, 1-100 (default 10). Example: 10 | |
| radius | No | Search radius in metres, 1-2000 (default 500). Example: 500 |