Free BNB Smart Chain RPC endpoint and Chain ID
BNB Smart Chain uses chain ID 56; its keyless public RPC endpoint is https://api.blockvectra.com/v1/bsc_mainnet/public (3 requests per second per IP), while eth_getLogs requires an API key.
Connect wallets and build applications with HTTP APIs for developers and AI Agents.
RPC endpoints and network parameters
Mainnet
https://api.blockvectra.com/v1/bsc_mainnet/public
Try RPC without an API key
curl -sS 'https://api.blockvectra.com/v1/bsc_mainnet/public' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'Add a network to your wallet
Copy these values into your wallet’s custom network form.
{
"networkName": "BNB Smart Chain",
"rpcUrl": "https://api.blockvectra.com/v1/bsc_mainnet/public",
"chainId": 56,
"currencySymbol": "BNB",
"blockExplorerUrl": "https://bscscan.com"
}Incoming transfer Webhooks
Receive address activity at your HTTPS endpoint. Follow the guide to create a subscription, verify signatures and deduplicate deliveries.
BNB Smart Chain
Incoming transfer WebhooksIntegration tutorials
Endpoints
No API key required. Wallet methods only, rate-limited per IP. Check GET /v1/chains for current methods and limits.
https://api.blockvectra.com/v1/bsc_mainnet/publiccurl -X POST 'https://api.blockvectra.com/v1/bsc_mainnet/public' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'Public methods
- eth_chainId
- net_version
- eth_blockNumber
- eth_getBalance
- eth_getTransactionCount
- eth_getCode
- eth_getStorageAt
- eth_call
- eth_estimateGas
- eth_gasPrice
- eth_maxPriorityFeePerGas
- eth_feeHistory
- eth_getBlockByNumber
- eth_getBlockByHash
- eth_getTransactionByHash
- eth_getTransactionReceipt
- eth_syncing
- web3_clientVersion
- eth_sendRawTransaction
https://api.blockvectra.com/v1/bsc_mainnet/{api_key}https://api.blockvectra.com/v1/bsc_mainnetx-api-key: {api_key}https://api.blockvectra.com/v1/data/bsc_mainnetx-api-key: {api_key}WebSocket
wss://api.blockvectra.com/v1/bsc_mainnet/{api_key}wss://api.blockvectra.com/v1/bsc_mainnetx-api-key: {api_key}
Authorization: Bearer {api_key}newHeadslogs(filter must include address or topic0)
Network Parameters
| Chain ID | 56 |
|---|---|
| Free public RPC endpoint | https://api.blockvectra.com/v1/bsc_mainnet/public |
| Methods with an API key | 25 |
| Data API | Supported |
| WebSocket Support | Supported |
| Webhook push | Supported · Confirmations 1–2 (default 1) Webhook push guide |
| Send Transactions | Supported |
| Send Transactions (Keyless Public Endpoint) | Supported |
| State History Window | Historical state for the most recent 100 blocks |
| eth_getLogs Max Block Range | 1,000 blocks |
| Data API Datasets | Blocks, Transactions, Address Transactions, Transfers, Token Metadata, Data Freshness |
| Supported Subscription Types | newHeads, logs |
| Related testnets | Unknown |
| Related guides | Unknown |
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":[]}'Limits
| State History Window | Historical state for the most recent 100 blocks |
|---|---|
| eth_getLogs Max Block Range | 1,000 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_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_syncing, net_version, web3_clientVersion |
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}"Choose a task
Monitor stablecoin transfers
Partially availableDeveloper and AI Agent integration
AvailableFrequently Asked Questions
What are the BNB Smart Chain RPC endpoint and Chain ID?
BNB Smart Chain uses chain ID 56; its keyless public RPC endpoint is https://api.blockvectra.com/v1/bsc_mainnet/public (3 requests per second per IP), while eth_getLogs requires an API key.
Can I try BNB Smart Chain RPC without an API key?
Yes. Call eth_chainId at the public endpoints above without a key. Current methods and per-IP limits are listed in GET /v1/chains.
Does BNB Smart Chain RPC support WebSocket?
BNB Smart Chain RPC supports WebSocket connections. Supported subscription types: newHeads, logs.
Does BNB Smart Chain RPC support trace and debug methods?
Trace and debug methods are not supported for BNB Smart Chain RPC.
Can I broadcast transactions through BNB Smart Chain RPC?
BNB Smart Chain: Supported.
How much historical state can I query on BNB Smart Chain?
BNB Smart Chain: Historical state for the most recent 100 blocks.
What is the eth_getLogs block-range limit for BNB Smart Chain?
BNB Smart Chain: 1,000 blocks, while eth_getLogs requires an API key.
Which Data API datasets are available on BNB Smart Chain?
BNB Smart Chain: Blocks, Transactions, Address Transactions, Transfers, Token Metadata, Data Freshness.
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.