Prices

Get Current Bitcoin Price

get

Returns the current Bitcoin price in USD along with the timestamp

Responses
200

Successful response

application/json
get
/x/btc/price

Get Historical Bitcoin Prices

get

Returns historical Bitcoin prices for a range of blocks starting from a specified block height

Authorizations
x-api-KeystringRequired
Query parameters
start_block_heightintegerRequired

The block height to start retrieving prices from

countinteger · min: 1 · max: 100Required

The number of block prices to retrieve

Responses
200

Successful response

application/json
get
/x/btc/price_history

Last updated