Bitcoin Blockbook API
GetBlock provides fast and reliable access to Bitcoin nodes via Blockbook API. Connect to the Bitcoin network without running your own infrastructure.
Blockbook is an address-indexed and xpub-indexed API for Bitcoin. A standard Bitcoin node tracks unspent outputs but does not organize them by address, so it cannot answer address-level questions on its own. Blockbook, built by Trezor, maintains that index on top of the chain and answers questions about an address or a whole wallet: balances, transaction history, and unspent outputs.
The API is served in two interchangeable forms. A REST interface exposes each query as an HTTP path with query parameters, and a JSON-RPC interface exposes the same queries as bb_-prefixed methods. Both return the same indexed data. Each method page below shows both forms.
Base URL
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/Available Methods
bb_getBlock
Returns a block by height or hash, including its metadata and a paged list of the transactions it contains
bb_getBlockHash
Returns the block hash at a given block height
bb_getTx
Returns a normalized transaction by its id, with inputs, outputs, addresses, values, and confirmation data in the indexer's unified schema
bb_getTxSpecific
Returns the transaction exactly as the bitcoin node reports it, in the node's own json shape rather than the indexer's normalized schema
bb_getAddress
Returns balance and transaction data for a single address
bb_getXpub
Returns wallet-level balance and transaction data for an extended public key or output descriptor
bb_getUTXOs
Returns the unspent transaction outputs for an address, extended public key, or descriptor
bb_getBalanceHistory
Returns aggregated balance-change history for an address, extended public key, or descriptor over a time range
bb_sendTransaction
Broadcasts a signed, serialized transaction to the network through the indexer and returns its transaction id
bb_getTickers
Returns fiat exchange rates for the coin at a given timestamp, or the latest rates when no timestamp is supplied
bb_getTickersList
Returns the list of fiat currencies for which rates are available at a given timestamp
Last updated
Was this helpful?