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

Bitcoin Cash Blockbook API

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

Blockbook is an address-indexed and xpub-indexed API for Bitcoin Cash. A standard Bitcoin Cash 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.

What it does

  • Address queries: Return the balance, transaction history, or unspent outputs of a single address.

  • Wallet queries: Return a whole wallet from one extended public key or descriptor, with the derived addresses and combined history.

  • Derivation support: Cover the BIP44, BIP49, BIP84, and BIP86 derivation schemes.

  • Filtering and paging: Page through large result sets and filter transaction history by block-height range.

  • Fiat rates: Return current and historical fiat exchange rates for the chain.

Base Paths

The REST interface is served under an /api/v2/ path on the Blockbook endpoint, and the JSON-RPC interface is served at the endpoint root.

Interface
Path

REST

https://go.getblock.io/<ACCESS-TOKEN>/api/v2/

JSON-RPC

https://go.getblock.io/<ACCESS-TOKEN>/

Blockbook is provisioned as an add-on. Confirm from the GetBlock dashboard that you have chosen the Blockbook add-on.

Available Methods

Each method is available through both the REST and the JSON-RPC interface.

Method
Description

bb_getAddress

Balance and transaction data for an address

bb_getXpub

Wallet-level data for an xpub or descriptor

bb_getUTXOs

Unspent outputs for an address, xpub, or descriptor

bb_getBalanceHistory

Aggregated balance history over time

bb_getTx

Normalized transaction by id

bb_getTxSpecific

Node-native transaction JSON by id

bb_getBlock

Block by height or hash with its transactions

bb_getBlockHash

Block hash at a given height

bb_sendTransaction

Broadcast a signed raw transaction

bb_getTickers

Current or historical fiat rates

bb_getTickersList

Currencies available at a timestamp

Support

For technical support and questions:

See Also

Last updated

Was this helpful?