lookup_uk_postcode
Pay-per-call UK (Great Britain) postcode lookup for AI agents. Send a postcode such as SW1A 2AA and get latitude/longitude, council (local authority), county, region, country, ward, parish, parliamentary constituency and LSOA/MSOA statistical area codes, as clean JSON. Built on official ONS / Ordnance Survey open data, with the required licence attribution included. Invalid or unknown postcodes return an error and are never charged. Great Britain only (no Northern Ireland). Price: $0.005 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": "lookup_uk_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | UK (Great Britain) postcode, e.g. SW1A 2AA. Example: SW1A 2AA |