Query the chain · Bitcoin API
Bitcoin API for the fully-indexed blockchain
A Bitcoin API should hand you the on-chain truth without making you run a node or build your own indexer. BitcoinDatabase parses every block since the 2009 genesis block and exposes it as a clean REST API: look up any address balance to the satoshi, pull a transaction with its inputs and outputs, check confirmations, or page through a block, all in a single call.
REST API · SQL · dashboards · indexed from genesis
Hit Run to query the fully-indexed Bitcoin blockchain.
BTC
30-day trend
informational on-chain data · not financial advice
The same indexed data is queryable three ways, REST for your app, SQL for your analysts, and dashboards for everyone else. Start with an API key in minutes and pay for what you query. This is informational on-chain data only, not financial or investment advice.
Indexed from genesis queryable in seconds
On-chain data not financial advice
Why it works
What you get with Bitcoin API
Every block indexed
Each block from the 2009 genesis block forward is parsed and reconciled, so addresses, transactions, balances and UTXOs are queryable the moment you call the API.
No node required
Skip running Bitcoin Core and building an indexer. One API key gives you balances to the satoshi, transaction detail, confirmations and block data straight away.
Three ways to query
The same data is exposed as REST for apps, SQL for analysts and dashboards for everyone else, so each team queries the chain the way that fits.
Side by side
Which kind of Bitcoin API do you actually need
Bitcoin API describes five different products that answer different questions. Picking the right category matters more than picking the right brand, and most production systems end up paying for two.
| What you are trying to do | The kind of API you need | What it returns | What it cannot do |
|---|---|---|---|
| Read the ledger: balances, transactions, history | Raw on-chain data API | Address balances to the satoshi, transactions with inputs and outputs, UTXOs, xpub derivation, blocks and computed metrics | Broadcast a transaction, or tell you what BTC is worth in dollars |
| Show a price, a chart or a portfolio value | Market data API | Spot prices, candles, volume and market capitalization from exchange feeds | Answer anything about the chain itself, because it never reads it |
| Send a payment or watch your own mempool | Node or RPC provider | Managed access to Bitcoin Core: broadcast, raw RPC calls, mempool state | Answer address history, since Core keeps the UTXO set and no address index by default |
| Screen a counterparty or file a SAR | Compliance and risk API | Entity attribution, sanctions screening and risk scores layered on chain data | Serve as a general data source, and it is priced for regulated teams |
| Run ad-hoc analysis across the whole chain | SQL warehouse copy | Every block and transaction as tables you can join and aggregate freely | Serve a live application, because the copy lags the tip and bills per byte scanned |
BitcoinDatabase sits in the first row and only that one, which is the trade-off worth understanding before you integrate. The pairing that covers most products is a raw on-chain data API for everything historical plus a node provider for the one thing an index cannot do, which is put a new transaction on the network. Teams that start with a market data API because it was the easiest to sign up for usually discover the gap the first time somebody asks what an address held last quarter.
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.
- Look up any address balance to the satoshi
- Fetch transactions with full inputs and outputs
- Read blocks, confirmations and mempool state
- Page through full address transaction history
- Query the same data via REST, SQL or dashboards
{
"address": "bc1qxy2k…l0wdv8",
"balance_btc": 68432.10,
"balance_usd": 4612165420,
"tx_count": 1284,
"unspent_outputs": 37,
"first_seen": "2014-02-09"
}
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 Bitcoin API
Explore more
More ways to query Bitcoin with BitcoinDatabase
Bitcoin address balance history API
What an address held on any past date, not just what it holds now.
Learn moreQuery the Bitcoin blockchain with SQL
Write plain SQL against the whole indexed chain, no node, no ETL.
Learn moreBitcoin API for Python
Pull balances, transactions and UTXOs into Python with one HTTP call.
Learn moreCrypto tax API
The on-chain data and price layer that powers Bitcoin tax software and cost-basis calculators.
Learn moreBitcoin cost basis API
Query on-chain cost basis: the realized price bands and cost basis distribution of the whole supply.
Learn moreBitcoin block explorer API
Power an explorer with blocks, transactions and addresses, no node to maintain.
Learn moreStop running a node. Just query Bitcoin.
Run your first query now and get on-chain data back by REST API, SQL or dashboard, indexed from the genesis block. Informational on-chain data only, not financial advice.
Indexed from genesis · REST · SQL · dashboards · addresses, transactions, UTXOs, metrics