For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bitcoin Blockbook REST API

GetBlock provides fast and reliable access to Bitcoin nodes via REST API. Connect to the Bitcoin network without running your own infrastructure.

The Bitcoin Blockbook REST API serves indexed blockchain data over HTTP. Each endpoint is a path under /api/v2/, queried with path and query parameters, and returns JSON. It is the REST form of the same indexed data exposed by the Blockbook bb_ JSON-RPC methods.

Base URL

https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/

Endpoints

Method
Endpoint
Description

GET

/api/v2/address/{address}

Returns balance and transaction data for a single bitcoin address

GET

/api/v2/xpub/{xpub}

Returns wallet-level balance and transaction data for an extended public key or output descriptor

GET

/api/v2/utxo/{addressOrXpub}

Returns the unspent transaction outputs for an address, extended public key, or descriptor

GET

/api/v2/balancehistory/{address}

Returns balance and transaction data for a single bitcoin address

GET

/api/v2/tx/{txid}

Returns a normalized transaction by its id, with inputs, outputs, addresses, and confirmation data in the indexer's unified schema

GET

/api/v2/tx-specific/{txid}

Returns a normalized transaction by its id, with inputs, outputs, addresses, and confirmation data in the indexer's unified schema

GET

/api/v2/block/{blockHash}

Returns a block by height or hash, including its metadata and a paged list of the transactions it contains

GET

/api/v2/block-index/{blockHeight}

Returns the block hash at a given block height

GET

/api/v2/rawblock/{blockId}

Returns the raw serialized hex of a block, selected by height or hash

GET

/api/v2/feestats/{blockId}

Returns the raw serialized hex of a block, selected by height or hash

GET

/api/v2/estimatefee/{blocks}

Returns the backend fee estimate for a target number of blocks to confirmation

POST

/api/v2/sendtx/

Broadcasts a signed, serialized transaction to the bitcoin network through the backend node and returns the transaction id on acceptance

GET

/api/v2/tickers/

Returns current or historical fiat exchange rates for bitcoin

GET

/api/v2/tickers-list/

Returns the fiat currencies for which the indexer has rate data available at a given timestamp

GET

/api/v2/multi-tickers/

Returns fiat rate tickers for a comma-separated list of unix timestamps

Last updated

Was this helpful?