{"preview":{"free":true,"endpoint":"/uk-postcode-nearest","input":{"q":"SW1A 2AA"},"live":true,"generated_at":"2026-12-01T16:03:57.633Z","note":"Free sample: real, live output for this fixed example input. For your own input, call GET https://uk-postcode-x402.onrender.com/uk-postcode-nearest (0.01 USDC per call via x402). Errors are never charged.","paid_call_example":"https://uk-postcode-x402.onrender.com/uk-postcode-nearest?q=SW1A+2AA","price_usdc":"$0.01"},"result":{"postcode":"SW1A 2AA","radius_m":500,"count":10,"nearest":[{"postcode":"SW1A 2AA","distance_m":0,"latitude":51.503541,"longitude":-0.12767,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AB","distance_m":20,"latitude":51.5034,"longitude":-0.127849,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AD","distance_m":33,"latitude":51.503386,"longitude":-0.12808,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AG","distance_m":74,"latitude":51.50365,"longitude":-0.126614,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AS","distance_m":74,"latitude":51.50365,"longitude":-0.126614,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AL","distance_m":74,"latitude":51.50365,"longitude":-0.126614,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AT","distance_m":74,"latitude":51.50365,"longitude":-0.126614,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AU","distance_m":89,"latitude":51.504204,"longitude":-0.126937,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2AH","distance_m":126,"latitude":51.502432,"longitude":-0.128047,"council":"Westminster","ward":"St James's"},{"postcode":"SW1A 2NP","distance_m":141,"latitude":51.504115,"longitude":-0.12586,"council":"Westminster","ward":"St James's"}],"attribution":"Contains OS data © Crown copyright and database right; Office for National Statistics data licensed under the Open Government Licence v3.0.","data_freshness":{"retrieved_at":"2026-12-01T16:03:57.633Z","sources":"ONS Postcode Directory via postcodes.io, fetched live (answers reused for up to 24 hours); the directory is refreshed with each quarterly ONS release"}}}