{"uid":"cap_CG9YWUtto3UFVANMflMll","slug":"bitcoin-address-validator-44e20d82","name":"Bitcoin Address Validator","description":"Validate a Bitcoin address (legacy, P2SH, SegWit bech32, Taproot bech32m): checksum, type, network and hash payload.","url":"https://web3-tools.x402tookit.com/btc-address?utm_source=zero.xyz","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":["address"],"properties":{"address":{"type":"string","description":"A Bitcoin address, for example 1A1zP1... or bc1q..."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"type":{"type":["null","string"]},"input":{"type":["null","string"]},"source":{"type":["null","string"]},"network":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"encoding":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"programHex":{"type":["null","string"]},"programBytes":{"type":["null","number"]},"witnessVersion":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AHw4vjiYHI8qI5MT0fQnx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Bitcoin address (legacy, P2SH, SegWit bech32, Taproot bech32m) checking checksum, type, network, and hash payload.","exampleAgentPrompt":"Can you validate this Bitcoin address for me — bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq — and tell me whether it's valid, what type it is (SegWit, Taproot, legacy, etc.), and which network it's on?","exampleUseCases":[{"title":"Wallet withdrawal pre-flight check","prompt":"Before I send funds, can you verify that 1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf Na is a valid Bitcoin address and tell me its type and network?"},{"title":"User-submitted address sanity check","prompt":"A user just entered 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy as their payout address in our system — is it a valid Bitcoin address, and is it P2SH mainnet?"},{"title":"Taproot address format verification","prompt":"Can you check whether bc1p5d7rjq7g6rdk2yhzks9smlaqtedr4dekq08ge8ztwac72sfr9rusxg3297 is a valid Taproot bech32m address and decode its witness version and program hex?"}],"resultDescription":"Returns a structured object with: verdict (valid/invalid), address type (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.), network (mainnet/testnet), encoding (base58/bech32/bech32m), witness version (for SegWit/Taproot), programHex and programBytes, a human-readable summary, list of reasons for the verdict, and any checks not performed. Also includes a degraded flag and timestamp.","failureModes":["Address string is empty or missing — returns validation error","Malformed address that does not match any known Bitcoin format — verdict invalid with reasons","Checksum mismatch — returns invalid verdict with checksum failure reason","Unrecognized encoding or address length — returns null type and invalid verdict","Network request timeout or service unavailability"],"whenToPreferThis":"Choose this endpoint when you need authoritative, multi-format Bitcoin address validation covering all current address types (legacy P2PKH, P2SH, native SegWit bech32, Taproot bech32m) with structured output including type classification, network detection, and hash payload decoding. Prefer this over generic regex checks when correctness of checksum and encoding is required before sending transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:22.751Z","isFirstParty":false,"canonicalSlug":"bitcoin-address-validator-44e20d82"}