Free Public API for Bitcoin Chain

Launched in 2009, Bitcoin blockchain is a decentralized and immutable ledger that underpins the entire Bitcoin ecosystem, recording all transactions in a chronological order, secured through a combination of cryptographic principles, decentralized consensus mechanisms, and economic incentives. It enables trustless peer-to-peer transactions, facilitating global transfers of value without intermediaries.

Check out our documentation for limitations and usage examples on docs.blastapi.io

Get started for free and enjoy all the benefits including a higher throughput and a dedicated endpoint with our Consumer App

Bitcoin Mainnet

Bitcoin Mainnet is the primary network where Bitcoin cryptocurrency transactions occur and are recorded on the blockchain. It serves as the definitive ledger for Bitcoin ownership and transfers, maintained by a decentralized network of nodes running the Bitcoin protocol. The mainnet is where miners validate and add new transactions to blocks, securing the network through the proof-of-work consensus mechanism.

Public RPC Endpoint

Playground

getbestblockhash

Parameters

getbestblockhash

Returns the hash of the best (tip) block.

getbestblockhash response

Returns the hash of the best (tip) block.

resultstring

Request

curl -X POST https://bitcoin-mainnet.public.blastapi.io \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"1.0","id":0,"method":"getbestblockhash"}'
Average API calls/sec7.22
Average API calls/day623,981
API calls last 24h1,279,712

No Data

No API calls made yet

Do you need more to power your project?

Harness the power of our Consumer App and take advantage of a decentralized underlying blockchain infrastructure. With our simple interface and detailed documentation, you can create dedicated API endpoints for multiple blockchains, in just a few clicks, organize your work in different project and benefit from a higher throughput.
If you need help, our team of experts is available 24/7 via discord support. Don't hesitate - start your blockchain journey today!

Get Started for Free