BitcoinDatabase.com

Query the chain · Blockchain API

Bitcoin blockchain API for the entire indexed chain

The Bitcoin blockchain API gives you the entire chain through one interface. Every block since the 2009 genesis block is parsed and reconciled, so you can read any block, expand any transaction to its inputs and outputs, look up any address and balance to the satoshi, inspect UTXOs and script types, and follow flows, without running Bitcoin Core or building an indexer.

or try it below ↓

REST API · SQL · dashboards · address history from genesis

Query Console
btc
try:

Hit Run to query the Bitcoin blockchain.

Live from the chain for .

BTC

Balance trail

informational on-chain data · not financial advice

REST API · SQL · dashboards, one indexed dataset. Reading the chain ...

It is built for apps, wallets, explorers and analytics that need the full blockchain on demand. The same data is queryable three ways, REST, SQL and dashboards, and stays reconciled block by block. Usage-based pricing, no node to run. Informational data only, not advice.

REST API SQL DASHBOARDS WEBHOOKS CSV EXPORT

History from genesis queryable in seconds

On-chain data not financial advice

Why it works

What you get with Blockchain API

The whole chain, on demand

Blocks, transactions, addresses, balances, UTXOs, labels and flows are all reachable through one API, from the genesis block to the current tip.

Indexed and reconciled

Each block is parsed and balanced as it confirms, so the blockchain data you read is consistent and current without you running a node.

Three ways to access

The same indexed blockchain is available via REST, SQL and dashboards, so apps, analysts and operators each use the interface that fits.

What it handles

The indexed Bitcoin chain, queryable your way

Look up an address, a transaction, a UTXO, the rich list or an on-chain metric, by REST API, SQL or dashboard. The same authoritative data, reconciled block-by-block against the canonical chain, without running a node.

  • Read any block from genesis to tip
  • Expand transactions to inputs and outputs
  • Look up addresses, balances and UTXOs
  • Follow fund flows across the chain
  • Access via REST, SQL or dashboards
GET /v1/address/{addr} query result
200 · JSON
{
  "address": "bc1qxy2k…l0wdv8",
  "balance_btc": 68432.10,
  "balance_usd": 4612165420,
  "tx_count": 1284,
  "unspent_outputs": 37,
  "first_seen": "2014-02-09"
}
indexed from genesis · to the satoshi ✓ reconciled block-by-block

Why BitcoinDatabase

One platform, queryable three ways

Not a raw node to sync, not an indexer to build, and not five vendors to stitch together. The fully-indexed Bitcoin blockchain, available as a REST API, as SQL, and as dashboards, on one authoritative dataset.

REST API

Typed JSON for addresses, transactions, balances, UTXOs and metrics. Drop it into apps, wallets, explorers and agents with curl, Python or any HTTP client.

SQL access

Run SQL directly against the indexed Bitcoin dataset for ad-hoc analysis, cohorts and exports, the same data the API and dashboards read from.

Compliance-first

Informational on-chain data and analytics only. Entity labels and flow tracing are framed as tooling to support a regulated team's own review, not accusations.

Good questions

Questions about Blockchain API

Blocks, transactions, inputs, outputs, addresses, balances, UTXOs, script types, entity labels and flows, reconciled block by block. Address and transaction history reaches back to the 2009 genesis block over REST, and SQL and dashboards run over the indexed chain, which grows with every new block.
Yes. New blocks are parsed and reconciled as they confirm, and unconfirmed activity is visible in the mempool. It provides informational on-chain data and is not financial or investment advice.
Not for reading data. A node is required if you are validating consensus yourself or broadcasting your own transactions. For queries against history, an indexed API answers in milliseconds what a fresh node needs days to sync and around 390 to 430 dollars a month to host on AWS once you add the storage a full index requires.
Five: blocks with height, hash, time and transaction count; transactions with txid, block height, fee, size and weight; outputs with txid, vout, address, value, script type and spent flag; inputs linking a spending transaction back to the output it consumed; and a daily metrics table. Inputs join to outputs on the previous txid and vout pair.
You do not connect in the usual sense. There is no PostgreSQL wire protocol, no host, port or password, and psql and DBeaver will not attach to it. SQL is a POST to the query endpoint with your API key as a bearer token, and the result comes back as JSON. It is available from the Growth plan upward and costs more credits than a plain REST lookup.
Over REST, to block 0, mined in January 2009: address and transaction history comes back in full. SQL and dashboards run over the indexed chain, which grows with every new block. One quirk worth knowing: the genesis block coinbase is not in the UTXO set, because Bitcoin Core never adds it, which is why providers can report the genesis address balance 50 BTC apart and both be right.
Usually because they answer slightly different questions. Checked on 30 August 2026, Blockstream and mempool.space both report the genesis address at 5,743,007,305 satoshis while BlockCypher reports 10,744,099,575. The roughly 50 BTC gap is the unspendable genesis coinbase. Neither number is wrong, they use different conventions about what counts as a balance.
Tight enough to shape your architecture. BlockCypher documents roughly 3 requests per second and 100 per hour on its free tier, with limits resetting on the UTC hour. Blockchair answered a two-address request with HTTP 430 and an IP blacklist notice on 30 August 2026. Any workload that loops over thousands of addresses needs a paid, indexed backend.
Yes, every output row carries its script type, which matters more than it sounds. In block 963,670 native SegWit P2WPKH accounted for 56.91 percent of outputs, OP_RETURN 18.90 percent and Taproot 12.54 percent. Notably, no public address endpoint we tested returns a script type at all; it is only exposed per transaction output.

Explore more

More ways to query Bitcoin with BitcoinDatabase

Stop running a node. Just query Bitcoin.

Run your first query now and get on-chain data back by REST API, SQL or dashboard, with address history back to the genesis block over REST. Informational on-chain data only, not financial advice.

See pricing

History from genesis over REST · SQL · dashboards · addresses, transactions, UTXOs, metrics