Blockmetric RPC docs

JSON-RPC for 8 EVM mainnets, HyperCore and 3 testnets over HTTPS and WebSocket. One endpoint token, the same credits on every chain.

Contents
Chains, regions and plans open one by one when enough teams ask for them. These docs describe exactly how they work. What is open

Your endpoint

The chain is the first path segment, your endpoint token the second. Wallets, Hardhat and Foundry only need this URL.

HTTPShttps://rpc.blockmetric.io/<chain>/YOUR_TOKENAvailable when your plan opens.
WebSocketwss://rpc.blockmetric.io/<chain>/YOUR_TOKENAvailable when your plan opens.

Endpoint tokens start with bmr_ and only work for RPC. You create, restrict and rotate them on your RPC dashboard.

Quickstart

  1. Get a token. Open Account › RPC endpoints & usage and create a token. One token works on every open chain; the limits of your plan apply.
  2. Store it as an environment variable, e.g. export BLOCKMETRIC_RPC_TOKEN=bmr_…, so it never lands in your code.
  3. Send your first request. The answer carries the credits it cost in X-Blockmetric-Credits.
Latest block on Ethereum
curl -s https://rpc.blockmetric.io/eth/$BLOCKMETRIC_RPC_TOKEN \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Chains

Every chain uses the same token, the same credits and the same plan limits; only the eth_getLogs span differs (HyperEVM 50 blocks).

Mainnets

Mainnets of Blockmetric RPC
ChainPathChain idWebSocket
Ethereum/eth1 (0x1)Yes
Base/base8453 (0x2105)Yes
Arbitrum One/arbitrum42161 (0xa4b1)Yes
OP Mainnet/optimism10 (0xa)Yes
Polygon PoS/polygon137 (0x89)Yes
BNB Smart Chain/bsc56 (0x38)Yes
Avalanche C-Chain/avalanche43114 (0xa86a)Yes
HyperEVM/hyperevm999 (0x3e7)Yes
HyperCore (info API)/hypercore-HTTPS only

Testnets

Testnets of Blockmetric RPC
ChainPathChain idWebSocket
Sepolia/sepolia11155111 (0xaa36a7)Yes
Base Sepolia/base-sepolia84532 (0x14a34)Yes
Arbitrum Sepolia/arbitrum-sepolia421614 (0x66eee)Yes

Which of them is open right now: chains and their state. Not offered yet, on the waitlist: 60 more chains, such as Robinhood Chain, Solana and Bitcoin, and 40 features, such as webhooks, streams and smart wallets. We build what enough teams ask for. Request a chain or feature

Token in the URL or in a header

Both work on every chain. Use the header form where you control the HTTP client.

Authorization header
curl -s https://rpc.blockmetric.io/eth \
  -H "Authorization: Bearer $BLOCKMETRIC_RPC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
  • Only endpoint tokens may be in a URL. A Blockmetric API key (bm_live_…) in a URL is refused with key_in_url: revoke a key that was in a URL.
  • Never in a query string. The token belongs in the path or the Authorization header.

Batch requests

Up to 100 calls per request, 256 KB per body. Each call counts on its own for limits and credits; one bad call does not fail the others.

Three calls, one request
curl -s https://rpc.blockmetric.io/eth/$BLOCKMETRIC_RPC_TOKEN \
  -H "Content-Type: application/json" \
  -d '[
    {"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]},
    {"jsonrpc":"2.0","id":2,"method":"eth_blockNumber","params":[]},
    {"jsonrpc":"2.0","id":3,"method":"eth_getBalance","params":["0x0000000000000000000000000000000000000000","latest"]}
  ]'

Wallets and developer tools

export ETH_RPC_URL="https://rpc.blockmetric.io/eth/$BLOCKMETRIC_RPC_TOKEN"
cast chain-id
cast block-number

Good to know

  • Read-only during the beta. Sending transactions is not enabled yet. Every read method is available.
  • No stateful filters. Use eth_getLogs with a block range, or eth_subscribe over WebSocket.
  • Consistent reads. Your requests on one chain stay on the same node for 30 seconds, so "latest" does not jump back between two nodes.
  • Service level. No SLA on the plans booked online. We publish no uptime or latency figures until we have measured them. Health per chain: https://rpc.blockmetric.io/<chain>/health (once a chain is open).
  • Support: E-mail support on Starter, Growth and Scale, answered within 1–2 business days; Free has the docs, Enterprise support by contract.
  • Market data too. Every account also gets a free key for the Blockmetric market-data API.

Next

Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. Use of Blockmetric RPC is governed by the terms. Independent infrastructure, not affiliated with the chains or their foundations.

LiveHyperliquid markets 7sOperationalHyperliquid positions & whales 7sOperationalLiquidation heatmap & levels 9sOperationalLighter markets & liquidations 15sOperationalLighter positions & heatmap 7sOperationalLighter RH positions & heatmap 11sOperationalBinance markets 36sOperationalBybit markets 6sOperationalBinance liquidations 15sOperationalBybit liquidations 15sOperationaldYdX positions & heatmap 8sOperationalGMX positions & heatmap 11sOperationalLong/short & open interest history 2mOperationalOrder books & trade flow 6sOperationalOn-chain transfers 7sOperationalSecurity monitor 45sOperationalBlockmetric Sentiment 9mOperationalOfficial news 8mOperationalAlert delivery 7sOperational10:06:33 UTCData: Blockmetric Research · Binance · Bybit