{"uid":"cap_Blc6ed3dgBu70miK3bzuj","slug":"toll402-uk-postcode-validator-a378fe0c","name":"Toll402 UK Postcode Validator","description":"The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.","url":"https://toll402.dev/v1/t/uk_postcode_validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["postcode"],"properties":{"postcode":{"type":"string","description":"UK postcode to validate, e.g. 'SW1A 1AA'"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jdg7riATb4Q-e_JFePfvc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given UK postcode is correctly formatted and recognized","exampleAgentPrompt":"Can you check whether 'SW1A 1AA' is a valid UK postcode?","exampleUseCases":[{"title":"E-commerce checkout address validation","prompt":"Before we process this order, check if the postcode 'EC1A 1BB' that the customer entered is actually a valid UK postcode."},{"title":"User registration form verification","prompt":"A user just signed up with the postcode 'XY99 9ZZ' — can you validate whether that's a real UK postcode before we save their profile?"},{"title":"Bulk data cleanup for UK addresses","prompt":"I have a UK address record with postcode 'W1A 0AX' — can you confirm it's valid so I know whether to keep or flag this entry?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean field indicating whether the supplied UK postcode is valid (true) or invalid (false).","failureModes":["Malformed or missing postcode field returns an error response","Non-UK postcodes may return ok:false or an error","Payment failure via x402 protocol prevents the call from completing","Postcode with unusual spacing or casing may behave unexpectedly depending on normalization"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call UK postcode validation with no signup or API key required, especially in agent workflows using x402/USDC micropayments on Base. Ideal for one-off validation checks embedded in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:30:04.068Z","isFirstParty":false}