BitcoinDatabase.com

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.

Query Console
btc
try:

Hit Run to query the fully-indexed Bitcoin blockchain.

BTC

30-day trend

informational on-chain data · not financial advice

REST API · SQL · dashboards, one indexed dataset. Querying the indexed Bitcoin blockchain ...

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.

01 / PICK YOUR ACCESS

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.

02 / QUERY BITCOIN

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.

03 / SHIP IT

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
GET /v1/address/{addr} 200 OK
# 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"
}
indexed since genesis · reconciled block by block ✓ informational data only

Query 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.

See pricing