Api Endpoint

BTC Tx Toolkit

Bitcoin address validator and BIP21 bitcoin: URI parser: validity, network (mainnet/testnet/regtest), type (p2pkh, p2sh, p2wpkh, p2wsh, p2tr), encoding (base58/bech32/bech32m), scriptPubKey, and BIP21 fields (amount, label, message, req- params).

Open interactive test console

Offering

Provider
btc-tx-toolkit.stackstats.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://btc-tx-toolkit.stackstats.workers.dev/address/validate
MIME type
application/json
First seen
2026-10-16T02:02:21.082Z
Last seen
Tags
Bitcoin, psbt, transaction-decoder, address-validation, bip21

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xF112724ab539e7CDAA8b1F65347292621a83aFC9"
  }
]

Observed health

Status
Reachable
Latest latency
390 ms
Average latency
633 ms
HTTP status
400
Last checked
Reachability
93.3% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "http",
  "method": "GET",
  "queryParams": {
    "address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq"
  }
}

Output schema

{
  "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": "Bitcoin address or bitcoin: URI (URL-encoded)"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "bip21": {
              "type": "object"
            },
            "valid": {
              "type": "boolean"
            },
            "network": {
              "type": "string"
            },
            "encoding": {
              "type": "string"
            },
            "warnings": {
              "type": "array"
            },
            "input_kind": {
              "enum": [
                "address",
                "bip21"
              ],
              "type": "string"
            },
            "scriptPubKey": {
              "type": "string"
            },
            "witness_version": {
              "type": [
                "integer",
                "null"
              ]
            }
          }
        }
      }
    }
  }
}