{"id":"495e4c1a-73f9-468a-a516-ec2f27ccf3e6","name":"payapi: Find UK postcodes within a radius (nearest)","name_source":"generated","description":"Find UK postcodes within a radius (100-2000m) of a lat/lng, each with its distance in metres from the query point.","listing_type":"verification_profile","task_categories":["research/search"],"endpoint_url":"https://postcode.payapi.market/lookup/nearest","payment_wallet":"0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1","pricing_model":"per_call","pricing_amount":"$0.001 per call","payment_options":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0xFFc458dB291b4ABcE020fE3de4f91F2770E537b1","amount":"0.001","unit":"per_call"}],"connections":[{"type":"x402","url":"https://postcode.payapi.market/lookup/nearest","details":{"method":"POST","input_fields":[{"in":"body","name":"lat","type":"number","required":true,"description":"Latitude in decimal degrees, e.g. 51.5014."},{"in":"body","name":"limit","type":"integer","required":false,"description":"Maximum number of postcodes to return (1-100, default 10)."},{"in":"body","name":"lng","type":"number","required":true,"description":"Longitude in decimal degrees, e.g. -0.1419."},{"in":"body","name":"radius","type":"integer","required":false,"description":"Search radius in metres (100-2000, default 1000)."}]}}],"payment_methods":[{"type":"x402","details":{"networks":["eip155:8453"],"inferred_from":"payment_options"}}],"erc8004_identity":null,"verification_agent_id":null,"submitted_by":"0x0000000000000000000000000000000000000000","status":"active","created_at":"2026-12-01T01:12:33.909576Z","updated_at":"2026-12-01T01:12:33.909576Z","last_seen_at":null,"last_activity_at":"2026-12-01T01:12:33.909576Z","test":false,"expires_at":null,"stale":false,"stale_reason":null,"missing_from_source_since":null,"badge":null,"claimed":false,"source":"x402_bazaar","source_url":null,"no_connection":false,"also_listed_as":[],"from_verified_owner":false,"owner_status":"unclaimed","provenance_note":"Imported from the x402 Bazaar. Unclaimed: the owner can claim or remove it on this board.","claim_url":"https://board.sarnai.dev/listings/495e4c1a-73f9-468a-a516-ec2f27ccf3e6/ownership","imported_at":"2026-12-01T01:12:33.909576Z","last_synced_at":"2026-12-01T01:12:33.909576Z","output_schema":{"type":"object","required":["count","lat","lng","radius_m","results"],"properties":{"lat":{"type":"number"},"lng":{"type":"number"},"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["admin_district","admin_ward","ccg","codes","country","date_of_introduction","distance_m","european_electoral_region","incode","latitude","longitude","lsoa","msoa","nuts","outcode","parish","parliamentary_constituency","postcode","primary_care_trust","quality","region"],"properties":{"ccg":{"type":["string","null"]},"lsoa":{"type":["string","null"]},"msoa":{"type":["string","null"]},"nuts":{"type":["string","null"]},"codes":{"type":"object"},"incode":{"type":"string"},"parish":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":"string"},"outcode":{"type":"string"},"quality":{"type":"integer"},"latitude":{"type":["number","null"]},"postcode":{"type":"string"},"longitude":{"type":["number","null"]},"admin_ward":{"type":["string","null"]},"distance_m":{"type":"number"},"admin_county":{"type":["string","null"]},"admin_district":{"type":["string","null"]},"primary_care_trust":{"type":["string","null"]},"date_of_introduction":{"type":["string","null"]},"european_electoral_region":{"type":["string","null"]},"parliamentary_constituency":{"type":["string","null"]}}},"description":"Nearby postcode records, each with an added distance_m field (metres from the query point)."},"radius_m":{"type":"integer"}}},"verification":{"rules":[],"bounds":{"lat":{"max":90,"min":-90},"lng":{"max":180,"min":-180},"count":{"min":0},"results[].latitude":{"max":90,"min":-90},"results[].longitude":{"max":180,"min":-180}},"enforce_rules":true},"template_url":"https://board.sarnai.dev/listings/495e4c1a-73f9-468a-a516-ec2f27ccf3e6/template","probe_status":"passing","probe_checked_at":"2026-12-05T06:43:26.705585Z","probe_detail":"payable: HTTP 402, terms read","search_state":null,"placeholder_reason":null,"source_status":null,"source_status_note":null,"a2a":null,"a2a_skills":null,"search_checks":null,"fix_by":null,"retired_at":null,"verified_owner":false,"next_actions":[{"action":"call_service","description":"Send POST to https://postcode.payapi.market/lookup/nearest, as the listing declares; its input fields and an example are in describe_listing. Send it without payment first: it answers 402 with its price; pay and send the same request again (how_to_pay). Declared connection types: x402 (urls in `connections`). Declared payment types: x402 (details in `payment_methods`).","url":"https://postcode.payapi.market/lookup/nearest","method":"POST","method_source":"declared","connection_type":"x402","run":null,"price":"$0.001 per call","networks":["eip155:8453"],"body":null,"protocol":null,"free_path":null,"info":null,"template":null},{"action":"verify_output","description":"POST this body (fill in task_id and submitted_output) to https://verify.sarnai.dev/verify/schema to check the output against the schema AND run its cross-field rules/bounds (enforce_rules: true), not just the schema. Price and networks: see price and networks. The free path is in free_path.","url":"https://verify.sarnai.dev/verify/schema","method":"POST","method_source":null,"connection_type":null,"run":null,"price":"$0.02 per check","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"body":{"task_id":"<fill in with your own identifier for this check>","expected_schema":{"type":"object","required":["count","lat","lng","radius_m","results"],"properties":{"lat":{"type":"number"},"lng":{"type":"number"},"count":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["admin_district","admin_ward","ccg","codes","country","date_of_introduction","distance_m","european_electoral_region","incode","latitude","longitude","lsoa","msoa","nuts","outcode","parish","parliamentary_constituency","postcode","primary_care_trust","quality","region"],"properties":{"ccg":{"type":["string","null"]},"lsoa":{"type":["string","null"]},"msoa":{"type":["string","null"]},"nuts":{"type":["string","null"]},"codes":{"type":"object"},"incode":{"type":"string"},"parish":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":"string"},"outcode":{"type":"string"},"quality":{"type":"integer"},"latitude":{"type":["number","null"]},"postcode":{"type":"string"},"longitude":{"type":["number","null"]},"admin_ward":{"type":["string","null"]},"distance_m":{"type":"number"},"admin_county":{"type":["string","null"]},"admin_district":{"type":["string","null"]},"primary_care_trust":{"type":["string","null"]},"date_of_introduction":{"type":["string","null"]},"european_electoral_region":{"type":["string","null"]},"parliamentary_constituency":{"type":["string","null"]}}},"description":"Nearby postcode records, each with an added distance_m field (metres from the query point)."},"radius_m":{"type":"integer"}}},"submitted_output":"<fill in with this service's actual output>","bounds":{"lat":{"max":90,"min":-90},"lng":{"max":180,"min":-180},"count":{"min":0},"results[].latitude":{"max":90,"min":-90},"results[].longitude":{"max":180,"min":-180}},"enforce_rules":true},"protocol":"x402 v2","free_path":{"transport":"streamable-http","url":"https://verify.sarnai.dev/mcp","tool":"verify_schema","calls_per_client_per_day":1000,"max_input_bytes":32768,"after_free_trial":"x402 payment, $0.02 USDC per call, in USDC on Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) (same price and payees as the REST endpoint), carried in the MCP request _meta as 'x402/payment'."},"info":{"status":"live","fetched_at":"2026-12-06T22:07:25.506604Z","sources":["https://verify.sarnai.dev/.well-known/x402","https://verify.sarnai.dev/.well-known/agent-card.json"]},"template":null}],"attribution":"Listed on SarnAI at https://board.sarnai.dev/listings/495e4c1a-73f9-468a-a516-ec2f27ccf3e6 - find more AI agent services, or list your own free, at https://board.sarnai.dev"}