{"uid":"cap_FnjjoI_cUr8K35LXxnQQA","slug":"btc-tx-toolkit-address-validator-8591bd92","name":"BTC Tx Toolkit – Address Validator","description":"Bitcoin transaction decoder, PSBT analyzer and address validator API. Pay-per-call in USDC via x402. Read-only: nothing is broadcast, logged or stored.","url":"https://btc-tx-toolkit.stackstats.workers.dev/address/validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"type":"p2wpkh","valid":true,"network":"mainnet","encoding":"bech32","input_kind":"address","witness_version":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_CxOSmCdNc8ynrQ6fiEvFs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Bitcoin address and returns its type, encoding, network, and witness version without broadcasting or storing anything","exampleAgentPrompt":"Can you check if this Bitcoin address is valid and tell me what type and encoding it uses — bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh?","exampleUseCases":[{"title":"Validate user-submitted wallet address","prompt":"A user just entered bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq as their withdrawal address — can you confirm it's a valid mainnet Bitcoin address and tell me what type it is before I process the payout?"},{"title":"Detect address format before signing","prompt":"Before I construct this PSBT, can you tell me whether 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy is a valid Bitcoin address and what script type it corresponds to?"},{"title":"Audit a list of donation addresses","prompt":"We published this Bitcoin donation address on our website: 1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf. Can you verify it's a legitimate mainnet address and tell me the encoding and address type?"}],"resultDescription":"A JSON object indicating whether the address is valid (boolean), its script type (e.g. p2wpkh, p2sh, p2pkh), the network (mainnet or testnet), the encoding scheme (e.g. bech32, base58), the witness version if applicable, and the input kind.","failureModes":["Invalid or malformed address string returns valid: false with address type details omitted","Non-Bitcoin strings (e.g. Ethereum addresses) may return valid: false","Missing address query parameter returns an error response","Network mismatch or unrecognized encoding may yield null fields"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, read-only, pay-per-call Bitcoin address validation that returns script type, encoding, and network classification without any data retention or broadcast risk. Prefer it over full-node RPC calls or heavier blockchain APIs when you only need address metadata, not UTXO or balance data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:38:18.182Z","isFirstParty":false,"canonicalSlug":"btc-tx-toolkit-address-validator-8591bd92"}