{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x3a6db4e5dfdb7b4657448cc02c3726efd5cc2074","scheme":"exact"}],"description":"Pay-per-call distance between two UK (Great Britain) postcodes for AI agents. Send from and to postcodes (e.g. SW1A 2AA and M1 1AE) and get the straight-line distance in miles and kilometres, the compass direction and bearing, plus the council, region and coordinates of both ends, as clean JSON. Saves two lookups and the maths. Built on official ONS / Ordnance Survey open data. Invalid or unknown postcodes return an error and are never charged. Great Britain only.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"from":"SW1A 2AA","to":"M1 1AE"},"type":"http"},"output":{"example":{"attribution":"Contains OS data © Crown copyright and database right; Office for National Statistics data licensed under the Open Government Licence v3.0.","bearing_degrees":334,"direction":"NNW","distance_km":262.7,"distance_miles":163.2,"from":{"council":"Westminster","country":"England","latitude":51.503541,"longitude":-0.12767,"postcode":"SW1A 2AA","region":"London"},"method":"Straight-line (great-circle) distance between postcode centres, not road distance.","to":{"council":"Manchester","country":"England","latitude":53.480759,"longitude":-2.242631,"postcode":"M1 1AE","region":"North West"}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"from":{"description":"Starting UK postcode, e.g. SW1A 2AA","type":"string"},"to":{"description":"Destination UK postcode, e.g. M1 1AE","type":"string"}},"required":["from","to"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"attribution":{"description":"Required data licence attribution","type":"string"},"bearing_degrees":{"description":"Initial compass bearing from start to destination, 0-359","type":"number"},"direction":{"description":"16-point compass direction, e.g. NNW","type":"string"},"distance_km":{"description":"Straight-line distance in kilometres","type":"number"},"distance_miles":{"description":"Straight-line distance in miles","type":"number"},"from":{"properties":{"council":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"postcode":{"type":"string"},"region":{"type":["string","null"]}},"type":"object"},"method":{"description":"How the distance was measured","type":"string"},"to":{"properties":{"council":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"postcode":{"type":"string"},"region":{"type":["string","null"]}},"type":"object"}},"required":["from","to","distance_km","distance_miles"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1795563298/bazaar-icons/0ea4611177c8cce2.png","lastUpdated":"2026-11-26T22:00:41.093Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-26T22:00:40.652Z"},"resource":"https://uk-postcode-x402.onrender.com/uk-postcode-distance","serviceName":"UK Postcode Distance (GB)","tags":["uk","postcode","distance","gb","location"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"c3ypbkibajgxeaa"}}
