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.
BTC
Balance trail
informational on-chain data · not financial advice
The data behind Bitcoin apps, funds and compliance teams
index → query → ship
Bitcoin at a glance
The Bitcoin network in numbers
Key figures every Bitcoin dataset is built on, read from the 2009 genesis block to the latest block. Verified against the chain, not a chart site.
Explore the full breakdown in Bitcoin network statistics, or query them live with the network stats API.
Max BTC supply
21,000,000
The hard cap. No new bitcoin is created past it, expected around the year 2140.
Already mined
~19.9M
About 95% of the total supply is already in circulation.
Block reward
3.125 BTC
Paid per block since the April 2024 halving. It halves again around 2028 to 1.5625 BTC.
Target block time
~10 min
Difficulty resets every 2,016 blocks, roughly two weeks, to hold this pace.
Figures verified against the chain, October 2026. Supply and block reward are protocol constants; the mined total grows with every block.
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.
- 01 Address balances and full transaction history, to the satoshi
- 02 Typed JSON over REST, or run SQL directly against the indexed dataset
- 03 UTXOs, scripts, inputs and outputs, with confirmations
- 04 On-chain metrics: active addresses, realized cap, SOPR, HODL waves, flows
- 05 Entity labels and fund-flow tracing as compliance tooling for regulated teams
GET /v1/address/{addr}
200 OK
# request
curl https://bitcoindatabase.com/v1/address/bc1qxy2k…l0wdv8 \
-H "Authorization: Bearer $KEY"
# response
{
"address": "bc1qxy2k…l0wdv8",
"balance_btc": 68432.10,
"tx_count": 1284,
"unspent_outputs": 37
}
Built for
Bitcoin data for every on-chain job
01 / 06
For developers
Build wallets, explorers and bots on indexed Bitcoin data without running a node.
Explore
02 / 06
For funds & traders
On-chain metrics, flows and cohorts to inform your research. Not financial advice.
Explore
03 / 06
For exchanges
Deposit detection, confirmations, balances and monitoring at production scale.
Explore
04 / 06
For researchers
Address history since genesis, with SQL and bulk export for academia and journalism.
Explore
05 / 06
For AML & compliance
Risk signals, exposure and entity labels as tooling to support your team review.
Explore
06 / 06
Bitcoin API
One REST API for addresses, transactions, balances, UTXOs and on-chain metrics.
ExploreWhy 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
Address and transaction history back to the 2009 genesis, fully parsed: addresses, balances, UTXOs, scripts, inputs and outputs, and confirmations. SQL and dashboards run over the indexed chain, which grows with every new block.
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.
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.
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.
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.
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.
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
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.
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 with full history, plus SQL
- 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.
# the fee and confirmations of one transaction
curl https://bitcoindatabase.com/v1/tx/$TXID \
-H "Authorization: Bearer $KEY"
# the same lookup in SQL
select fee_sat, block_height, confirmations
from transactions where txid = '…';
{
"txid": "…",
"block_height": 840000,
"confirmations": 12,
"fee_sat": 4210,
"vin": [ … ],
"vout": [ … ]
}
Informational on-chain data and analytics only. Not financial, investment or legal advice.
By task
Bitcoin data APIs for the job in front of you
Each page shows the endpoint, the SQL and the measured numbers behind one task, so you can check the fit before you pay.
Payments and wallets
Detect, price and push transactions before you credit or pay out.
Compliance and AML
Screen counterparties and trace funds with evidence you can file.
Accounting, audit and tax
Balances at a named block, reserves and basis that reconcile.
Market and research data
Metric series, flows and datasets for analysts and funds.
- Best Bitcoin API providers compared
- Bitcoin exchange flow API
- Bitcoin exchange reserve data
- Bitcoin realized price API
- Bitcoin SOPR API
- Bitcoin supply metrics API
- Bitcoin OHLC API
- Bitcoin network stats API
- Bitcoin transaction volume data
- Bitcoin active address data
- Bitcoin mining pool data
- Bitcoin blockchain dataset
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
Growth
Production apps and small funds
$199/mo
- 5M credits a month
- 50 requests per second
- REST with full history · SQL access
- 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
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.
History from genesis over REST · SQL · dashboards · addresses · transactions · UTXOs · metrics