BitcoinDatabase.com

Bitcoin on-chain data · API · SQL · dashboards

Bitcoin API and on-chain data, queryable three ways

Blockchain analytics on the fully-indexed Bitcoin blockchain: addresses, transactions, balances, UTXOs, flows and on-chain metrics, queryable by REST API, SQL and dashboards. Built for developers, funds, exchanges and compliance teams.

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 ...
See how it works
Every block since 2009 · indexed to the satoshi REST · SQL · webhooks · typed JSON

The data behind Bitcoin apps, funds & compliance teams

REST API SQL WEBHOOKS CSV EXPORT ANY LANGUAGE

index → query → ship

Bitcoin at a glance

The Bitcoin network in numbers

Key figures every Bitcoin dataset is built on, indexed here from the 2009 genesis block to the latest block. Verified against the chain, not a chart site.

21,000,000

Max BTC supply

The hard cap. No new bitcoin is created past it, expected around the year 2140.

~19.9M

Already mined

About 95% of the total supply is already in circulation.

3.125 BTC

Block reward

Paid per block since the April 2024 halving. It halves again around 2028 to 1.5625 BTC.

~10 min

Target block time

Difficulty resets every 2,016 blocks, roughly two weeks, to hold this pace.

Figures verified against the chain, August 2026. Supply and block reward are protocol constants; the mined total grows with every block.

Explore the full breakdown in Bitcoin network statistics, or query them live with the network stats API.

Why BitcoinDatabase

On-chain data without running your own node

BitcoinDatabase runs the nodes and the indexer so you skip the infrastructure and just query. The same authoritative Bitcoin dataset, available as an API, as SQL, and as dashboards.

Bitcoin, indexed to the satoshi

Every block since the 2009 genesis, fully parsed: addresses, balances, UTXOs, scripts, inputs and outputs, and confirmations. Not a partial mirror, the whole chain, queryable.

Query three ways, one dataset

REST API for apps, SQL for analysts, dashboards for everyone else. The same authoritative on-chain data, however your team works.

On-chain metrics that mean something

Active addresses, realized cap, SOPR, HODL waves, exchange flows and the rich list, computed and ready. Informational data, not financial advice.

Entity labels and flow analysis

Exchange, miner and service labels plus fund-flow tracing, so you can see where coins move. Built as compliance tooling for regulated teams, not accusations.

One indexed dataset for addresses, transactions, balances, UTXOs, flows and metrics.

How it works

How to query the Bitcoin blockchain in three steps

From access to answer, BitcoinDatabase runs the index. No node to sync, no indexer to build, no five vendors to stitch together.

01 / ACCESS

Pick your access

Grab an API key, open the SQL console, or load a dashboard. The same indexed Bitcoin data is available through all three, scoped to your plan.

02 / QUERY

Query Bitcoin

Look up an address balance and history, a transaction, a UTXO, the rich list, or an on-chain metric. Filter, aggregate and export, by REST, SQL or dashboard.

03 / SHIP

Ship

Build apps and wallets, run on-chain analysis, monitor flows, or feed a compliance review. Get results back as JSON, rows or CSV, plus webhooks for live updates.

The data

The raw on-chain truth, the same shape every time

Whatever you ask, the answer comes back clean and consistent: a balance to the satoshi, a typed transaction, a metric series, an exportable table. So your app, your analysis and your review just work.

  • Address balances and full transaction history, to the satoshi
  • Typed JSON over REST, or run SQL directly against the indexed dataset
  • UTXOs, scripts, inputs and outputs, with confirmations
  • On-chain metrics: active addresses, realized cap, SOPR, HODL waves, flows
  • Entity labels and fund-flow tracing as compliance tooling for regulated teams
GET /v1/address/{addr} 200 OK
# request
curl https://api.bitcoindatabase.com/v1/address/bc1qxy2k…l0wdv8 \
  -H "Authorization: Bearer $KEY"

# response
{
  "address": "bc1qxy2k…l0wdv8",
  "balance_btc": 68432.10,
  "tx_count": 1284,
  "unspent_outputs": 37
}
indexed from genesis · reconciled block-by-block SSL

Data coverage

What is in the dataset, and what you can query

Coverage, endpoints and limits, stated plainly so you can check them against your own requirements before you write a line of code.

Coverage

Every block, genesis to tip

  • Blocks, transactions, inputs, outputs and scripts, parsed from block 0 (3 January 2009) to the current tip
  • Address balances to the satoshi, with full send and receive history
  • The live UTXO set, with the value, address, script type and creation height of each output
  • Mempool: unconfirmed transactions and fee-rate estimates by target confirmation window
  • Derived on-chain metrics: active addresses, realized cap, SOPR, HODL waves, exchange flows, rich list
Endpoints

The REST surface

GET /v1/address/{addr} balance, tx count, first & last seen
GET /v1/address/{addr}/txs paginated transaction history
GET /v1/address/{addr}/utxos unspent outputs for that address
GET /v1/tx/{txid} inputs, outputs, fee, block, confirmations
GET /v1/block/{height} header plus the transactions it contains
GET /v1/xpub/{xpub} derived addresses and combined balance
GET /v1/mempool unconfirmed set and fee-rate estimates
GET /v1/metrics/{metric} a daily on-chain metric series
GET /v1/addresses/top top addresses ranked by balance

Full reference on the docs page.

Limits

Credits, rate and access

  • Developer — 500K credits a month, 10 requests per second, REST and 1 year of history
  • Growth — 5M credits a month, 50 requests per second, REST + SQL and full history
  • Scale — 50M credits a month, 250 requests per second, SQL, bulk export and entity labels
  • Calls are priced in credits by type: a simple lookup costs less than a heavy aggregate
  • Over your rate the API answers 429 with a Retry-After header, never a silent truncation

Every plan is paid and usage-based. See pricing.

Request REST
# the fee and confirmations of one transaction
curl https://api.bitcoindatabase.com/v1/tx/$TXID \
  -H "Authorization: Bearer $KEY"

# the same lookup in SQL
select fee_sat, block_height, confirmations
  from transactions where txid = '…';
Response 200 OK
{
  "txid": "…",
  "block_height": 840000,
  "confirmations": 12,
  "fee_sat": 4210,
  "vin": [ … ],
  "vout": [ … ]
}

Informational on-chain data and analytics only. Not financial, investment or legal advice.

Pricing

Less than the node and indexer you would run yourself

Running full nodes, building an indexer and paying the engineers to keep it in sync costs far more than an API. Every plan is paid, usage-based, in USD. No free plan.

Developer

Solo devs and prototypes

$49/mo

  • 500K API credits a month
  • 10 requests per second
  • REST API · 1 year of history
  • Community support
Most popular

Growth

Production apps and small funds

$199/mo

  • 5M credits a month
  • 50 requests per second
  • REST + SQL access · full history
  • Dashboards · email support

Scale

Exchanges and data teams

$799/mo

  • 50M credits a month
  • 250 requests per second
  • SQL + bulk exports · entity labels
  • Webhooks · priority support

Need higher volume, the AML module, or a custom DPA? See full pricing and the Enterprise plan.

Before you build

The questions developers and analysts ask first

Yes. New blocks are indexed within seconds of confirmation, and mempool data is available. Historical depth goes all the way back to the 2009 genesis block.
It is parsed directly from full Bitcoin nodes we run, and reconciled block-by-block against the canonical chain, so what you query matches the ledger.
Yes, from the Growth tier up. Run SQL directly against the indexed Bitcoin dataset, the same data the REST API and dashboards read from.
No, that is the point. We run the nodes and the indexer; you just query by API, SQL or dashboard, and skip the syncing and the storage.
No. BitcoinDatabase is informational on-chain data and analytics only. We surface data and metrics; your decisions are your own.
No free plan. BitcoinDatabase is a paid, usage-based product starting on the Developer plan. You can try the Query Console above for free to see the exact response shape and fields you get back.

Start querying Bitcoin's blockchain today.

Run your first query now and get on-chain data back by REST API, SQL or dashboard. Informational on-chain data only, not financial advice.

See pricing

Indexed from genesis · REST · SQL · dashboards · addresses · transactions · UTXOs · metrics