How it works
How to query the Bitcoin blockchain
Three steps, no node to run. Pick how you want to query the fully-indexed chain, then look up an address, transaction, balance, UTXO or on-chain metric, and ship it into your app, your analysis or your monitoring. Informational on-chain data only, not financial advice.
Hit Run to query the fully-indexed Bitcoin blockchain.
BTC
30-day trend
informational on-chain data · not financial advice
The flow
From a question to an answer in three steps
The chain is already indexed and reconciled block by block. Here is exactly what happens from the moment you decide what to query to the moment the data lands in your stack.
Choose how you query
Three ways into the same indexed chain. Grab an API key for the REST API, write raw SQL against the data from the Growth plan, or open a ready-made dashboard. Use one or mix all three.
Ask for what you need
Look up an address balance to the satoshi, resolve a transaction with its inputs, outputs and confirmations, list UTXOs, page through blocks since the 2009 genesis, or pull an on-chain metric series.
Put the data to work
Wire results into apps and wallets, run reproducible research and dashboards, or stand up address and flow monitoring with webhooks. New blocks land within seconds, so what you ship stays current.
One call
A balance lookup in a single request
You do not sync a node, build an indexer or stitch together an ETL pipeline. One GET to the API returns the address, its balance to the satoshi and its activity, typed and ready to use.
- Query by address, transaction hash, block height or metric
- Indexing, reconciliation and node operations are fully managed
- Balances to the satoshi, with confirmations and full history
- Switch to raw SQL from the Growth plan for your own research
- Informational on-chain data only, not financial or legal advice
# one call returns the address and its balance
curl https://api.bitcoindatabase.com/v1/address/bc1q...x7 \
-H "Authorization: Bearer $KEY"
# response
{
"address": "bc1q...x7",
"balance_sat": 182734991,
"tx_count": 47,
"first_seen": "2017-03-11"
}
Keep reading
Go deeper on querying Bitcoin data
Index coverage since genesis, the REST API, SQL access, dashboards, entity labels, on-chain metrics, exports and webhooks.
OpenEndpoints, authentication, rate limits and code samples in curl, Python and Node.
OpenRisk signals, labels and flows to support a regulated team's own review. Compliance tooling only, no accusations.
OpenQuery the Bitcoin blockchain today
Pick your access, run a query and ship it. The chain is indexed since the 2009 genesis and reconciled block by block, with new blocks within seconds. Informational on-chain data only.