LogoLogo
opBNB
opBNB
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • 🔧Misc Tools & Utilities
    • Libraries
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit opBNB BscScan.io
Powered by GitBook
On this page
  • Get Total Supply of BNB
  • Get BNB Last Price

Was this helpful?

  1. API Endpoints

Stats

PreviousTokensNextLibraries

Last updated 1 year ago

Was this helpful?

Endpoints with are under the API Pro subscription. To upgrade your API plan, kindly visit .

Get Total Supply of BNB

Returns the current amount of BNB in circulation excluding ETH2 Staking rewards and EIP1559 burnt fees.

https://api-opbnb.bscscan.com/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":"116487067186500000000000000"
}

Tip : Easily convert BNB units using our

Get BNB Last Price

Returns the latest price of 1 BNB.

https://api-opbnb.bscscan.com/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "ethbtc":"0.06116",
      "ethbtc_timestamp":"1624961308",
      "ethusd":"2149.18",
      "ethusd_timestamp":"1624961308"
   }
}

Tip : The timestamps are represented in

🎯
🔗
📖
🔗
⏳
opBNB BscScan API Pro
browser
unit converter.
browser
Unix timestamp.