B2 logo

B2 RPC Endpoint

Lightning-fast, completely free, and remarkably reliable. Boost your performance today!

Freemium endpoint
Public access has been deprecated. Sign in to start using the endpoint for free.
JSON-RPC Endpoint
https://mainnet....

Total Requests

1,148,873
Last 24 hours

Average Req/sec

13.30
Last 24 hours

Request summary

Requests per hour, 24h
Higher bandwidth and more endpoints Try ANKR
Network
Network name
B2
Token
BTC
Decimals
18
Chain ID
0xdf

Quickstart

Send your first request to the B2 endpoint with eth_blockNumber.

curl https://mainnet.b2-rpc.com \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
Plans
Start free on the public endpoint. Upgrade to Premium for higher throughput and advanced methods, or talk to us about a custom Enterprise setup.
Free
  • No API key required
  • All standard JSON-RPC methods
  • Community rate limit
  • Best-effort availability
Premium
Popular
  • Everything in Free, plus a dedicated API key
  • Higher throughput and rate limits
  • Archive and trace methods
  • 99.9% uptime and priority routing
  • Usage analytics and support
Enterprise
  • Everything in Premium, plus custom throughput
  • Dedicated infrastructure and multi-region routing
  • Custom SLA and 24/7 support
  • Compliance and security add-ons
Ready for more? Upgrade to Premium Try ANKR

B2 RPC: frequently asked questions

What is the B2 RPC endpoint?

It is a fast, free, and reliable public JSON-RPC endpoint for the B2 network, operated by Ankr. Point your wallet, dApp, or backend at the endpoint above to read on-chain data and broadcast transactions with no sign-up required.

Is the B2 RPC endpoint free to use?

Yes. The public B2 endpoint is free and rate-limited per IP. For higher limits, dedicated throughput, and an SLA, create a personal API key on Ankr RPC.

How do I connect to B2?

Copy the endpoint URL above and add it as a custom RPC network in your wallet, or set it as the provider URL in your library of choice (ethers.js, web3.js, viem, or any JSON-RPC client).

Need more? Explore Ankr RPC.
Made with by Ankr © 2026