BNB Smart Chain RPC and Data API
EVM-compatible
Endpoints
JSON-RPC (Path Key)
https://api.blockvectra.com/v1/bsc_mainnet/{api_key}JSON-RPC (Header: x-api-key)
https://api.blockvectra.com/v1/bsc_mainnetx-api-key: {api_key}Data API
https://api.blockvectra.com/v1/data/bsc_mainnetx-api-key: {api_key}Quick Example
curl -X POST https://api.blockvectra.com/v1/bsc_mainnet \
-H "Content-Type: application/json" \
-H "x-api-key: {api_key}" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'Chain Facts
| Chain ID | 56 |
|---|
Limits
| State History Window | Historical state for the most recent 990000 blocks |
|---|---|
| eth_getLogs Max Block Range | 1000 blocks |
| Method Policy | Allow: eth_blockNumber, eth_call, eth_chainId, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getLogs, eth_getProof, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_syncing, net_version, web3_clientVersionDeny: eth_newFilter, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_getFilterLogs, eth_getFilterChanges, eth_uninstallFilter, eth_subscribe, eth_unsubscribe |
Data API
Check the chain's data freshness
curl -s "https://api.blockvectra.com/v1/data/bsc_mainnet/status/freshness" -H "x-api-key: {api_key}"Status
Pricing
Get 30,000,000 CU on sign-up, refilled every 30 days (balances and rate limits are pooled across chains; no credit card required); priced per million calls: eth_blockNumber $0.10, eth_call $1.50, eth_getLogs $3.00.