{"uid":"cap_mzh92pkEPBsYtJZXkoMJ4","slug":"agent402-uk-postcode-geocoder-d08ad270","name":"Agent402 UK Postcode Geocoder","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/data/uk/postcode","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["postcode"],"properties":{"postcode":{"type":"string","description":"UK postcode"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"latitude":51.501,"postcode":"SW1A 1AA","longitude":-0.142,"admin_district":"Westminster"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YfWePx0noMpMqoD-b7CAw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a UK postcode to latitude/longitude coordinates and admin district using postcodes.io, with caching and no API key required.","exampleAgentPrompt":"What are the latitude and longitude coordinates for the UK postcode SW1A 1AA, and which admin district does it fall under?","exampleUseCases":[{"title":"Delivery route geo-enrichment","prompt":"I have a list of customer postcodes in the UK — can you start by converting EC2A 4BX to its lat/lon so I can use it for routing the delivery?"},{"title":"Admin district lookup for compliance","prompt":"Which administrative district does the postcode M1 1AE belong to? I need to check if it falls under Manchester City Council for our compliance records."},{"title":"Map pin placement for a UK address","prompt":"I need to drop a pin on a map for our London office at postcode WC2N 5DU — can you get me the exact latitude and longitude?"}],"resultDescription":"A JSON object containing the input postcode, its decimal latitude and longitude, and the name of the admin district (e.g. Westminster) it belongs to.","failureModes":["Invalid or malformed postcode returns an error response","Non-existent postcode not found in postcodes.io database","Missing required 'postcode' query parameter causes a bad request error","Non-UK postcodes (e.g. US ZIP codes) are not supported","Upstream postcodes.io outage may cause temporary failures"],"whenToPreferThis":"Choose this endpoint when you need fast, keyless UK postcode geocoding without setting up a postcodes.io integration yourself — ideal for logistics, routing, or admin-district resolution steps within an agent workflow. Prefer over raw postcodes.io calls when you want a cached, pay-per-use micro-service that avoids rate limit concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T08:28:52.320Z","isFirstParty":false}