API Docs

Current Version:v1.1.0(changelog)

blocks

json
Returns the details of a block by hash.

json
Returns the details of a block by height.

integer
Returns the height of the chain tip.

string
Returns the block hash of the chain tip.

transactions

json
Returns the details of a transaction.

blockchain

number
Returns the current supply of Bitcoin. An estimate using a checkpoint can be returned in 2 cases: on 'slow' devices, and before the UTXO set summary is loaded.

mining

json
Returns the network hash rate, estimated over the last 1, 7, 30, 90, and 365 days.

number
Returns the current estimate for the next difficulty adjustment as a percentage.

json
Returns a summary for the estimated next block to be mined (produced via getblocktemplate).

json
Returns a list of the transaction IDs included in the estimated next block to be mined (produced via getblocktemplate).

boolean
Returns whether the specified transaction ID is included in the estimated next block to be mined (produced via getblocktemplate).

mempool

integer
Returns the number of transactions in Bitcoin Core's mempool.

json
Returns recommended fee rates in sats/vB for next block, ~30 min, 1 hr, and 1 day.

util

json
Returns details for the specified extended public key, including related keys and addresses.
Optional params:limitoffset

price

json
Returns the price of 1 BTC, in USD, EUR, GBP, and XAU

number
Returns the price of 1 BTC, in one of USD, EUR, GBP, XAU

number
Returns the market cap of Bitcoin, in one of USD, EUR, GBP, XAU

number
Returns the price of 1 unit in 'currency' (e.g. $1) in satoshis

fun

json
Returns the full curated list of Bitcoin quotes.

json
Returns the Bitcoin quote with the given index from the curated list.

json
Returns a random Bitcoin quote from the curated list.

admin

string
Returns the semantic version of the public API, which is maintained separate from the app version.