Btc Address
by SiteCheck in Onchain & crypto
A Bitcoin mainnet address: confirmed and unconfirmed balance in BTC and USD, transaction count, funded and spent totals, and its last 10 transactions with the net change for the address. Mainnet bech32 and legacy addresses only. Source: mempool.space. Information only, not financial advice.
https://api.sitecheck-api.workers.dev/api/btc/address- Price
- $0.002
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 57 ms
- 175 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.sitecheck-api.workers.dev/api/btc/address
Each call costs $0.002 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.sitecheck-api.workers.dev/api/btc/address?address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlhParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Bitcoin mainnet address (bc1…, 1… or 3…) |
Example response
The provider's example. We can't check it without paying.
Example response, 44 lines
{
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"balance": {
"confirmed": {
"btc": 3.92652888,
"sats": 392652888,
"usd": 327258.49
},
"unconfirmed": {
"btc": 0,
"sats": 0,
"usd": 0
}
},
"btcUsd": 83345.495,
"checkedAt": "2026-10-14T07:00:19.888Z",
"disclaimer": "Information only, not financial advice.",
"recentTransactions": [
{
"confirmed": true,
"netBtc": 0.00007093,
"time": "2026-10-13T22:38:17.000Z",
"txid": "69d90ee94f7a671dcf653749a5b36b6aa56f27ead6440950184e5efc1a9b4353"
},
{
"confirmed": true,
"netBtc": 0.0002,
"time": "2026-10-13T13:21:16.000Z",
"txid": "e9736079eb52ec7a7bbe517c06b773d4e48b48c1423bec94ce48817febb0f3cd"
},
{
"confirmed": true,
"netBtc": 0.00011038,
"time": "2026-10-13T10:21:33.000Z",
"txid": "c59a232a0077bf282fa0fc335ebeb1c3aa1ad5b48b32139832df6047f303ff0b"
}
],
"source": "https://mempool.space/api/address/bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh, https://mempool.space/api/address/bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh/txs",
"totals": {
"receivedBtc": 16.79658727,
"sentBtc": 12.87005839,
"txCount": 1143
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.sitecheck-api.workers.dev/api/btc/address?address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.sitecheck-api.workers.dev/api/btc/address?address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.sitecheck-api.workers.dev%2Fapi%2Fbtc%2Faddress
const res = await pay("https://api.sitecheck-api.workers.dev/api/btc/address?address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.sitecheck-api.workers.dev/api/btc/address?address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 57 ms | $0.002 |
| 7 h ago | Passed | 402 | 85 ms | $0.002 |
| 11 h ago | Passed | 402 | 56 ms | $0.002 |
| 15 h ago | Passed | 402 | 63 ms | $0.002 |
| 20 h ago | Passed | 402 | 41 ms | $0.002 |
Show 2 older checks
| 24 h ago | Passed | 402 | 175 ms | $0.002 |
| 28 h ago | Passed | 402 | 47 ms | $0.002 |