{"uid":"cap_-68ZRcBpluscQkxdEBVX9","slug":"agent402-bitcoin-address-validator-c93262c7","name":"Agent402 Bitcoin Address Validator","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/validate/btc-address","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","description":"BTC address"}}},"responseSchema":{"type":"json","example":{"type":"p2wpkh","chain":"btc","valid":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_AwOLfDVlrPOLW6-bZrlbB","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 Bitcoin address format and checksum for Base58Check (legacy/P2SH) and bech32/bech32m (native SegWit/Taproot) addresses without performing any on-chain UTXO lookup.","exampleAgentPrompt":"Before I withdraw, check whether this Bitcoin address is structurally valid: bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq — tell me if it passes checksum and what type it is.","exampleUseCases":[{"title":"Pre-withdrawal address sanity check","prompt":"I'm about to send 0.05 BTC to 1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf — can you verify that address is valid and correctly formatted before I proceed?"},{"title":"Classify SegWit vs legacy address","prompt":"Tell me what type of Bitcoin address bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3 is and whether it passes validation."},{"title":"Validate testnet address in dev workflow","prompt":"I'm testing my payment pipeline — check if this testnet Bitcoin address tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx is structurally valid."}],"resultDescription":"Returns a JSON object with a 'valid' boolean, an 'type' field indicating the address type (e.g. p2wpkh, p2pkh, p2sh, p2tr), and a 'chain' field (e.g. 'btc' or testnet equivalent). No on-chain state or UTXO balance is checked — purely structural and checksum validation.","failureModes":["Malformed or unsupported address format returns valid=false","Non-Bitcoin addresses (Ethereum, Solana, etc.) are not recognized and will fail or return invalid","Ambiguous or truncated addresses may return invalid","Network errors may cause the endpoint to be temporarily unreachable"],"whenToPreferThis":"Use this endpoint when you need a cheap ($0.001), fast, offline-style structural and checksum validation of a Bitcoin address before initiating a payment or withdrawal. Prefer this over on-chain lookups when you only need to confirm the address is well-formed (not whether it has funds or has been used). It handles all major Bitcoin address formats: legacy Base58Check (1xxx, 3xxx), native SegWit bech32 (bc1q), and Taproot bech32m (bc1p).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:24.024Z","isFirstParty":false}