LogoLogo
BscScan
BscScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • API PRO Endpoints
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit BscScan.com
Powered by GitBook
On this page
  • Get Total Supply of BNB on the BNB Smart Chain
  • Get Validators List on the BNB Smart Chain
  • Get BNB Last Price

Was this helpful?

  1. API Endpoints

Stats

PreviousGas TrackerNextAPI PRO Endpoints

Last updated 2 months ago

Was this helpful?

Get Total Supply of BNB on the BNB Smart Chain

Returns the current amount of BNB in circulation.

https://api.bscscan.com/api?
   module=stats
   &action=bnbsupply
   &apikey=YourApiKeyToken

Try this endpoint in your browser

No parameters required.

Sample Response

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

Tip : The result is returned in wei.

Easily convert BNB units using our unit converter.

Get Validators List on the BNB Smart Chain

Returns the top 21 validators for the BNB Smart Chain.

https://api.bscscan.com/api
   ?module=stats
   &action=validators
   &apikey=YourApiKeyToken

Try this endpoint in your browser

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "validatorAddress":"0x9f8ccdafcc39f3c7d6ebf637c9151673cbc36b88",
         "validatorName":"",
         "validatorStatus":"0",
         "validatorVotingPower":"43379676392570",
         "validatorVotingPowerProportion":"0.0617"
      },
      {
         "validatorAddress":"0x2d4c407bbe49438ed859fe965b140dcf1aab71a9",
         "validatorName":"",
         "validatorStatus":"0",
         "validatorVotingPower":"32482679046901",
         "validatorVotingPowerProportion":"0.0462"
      },
      {
         "validatorAddress":"0x72b61c6014342d914470ec7ac2975be345796c2b",
         "validatorName":"",
         "validatorStatus":"0",
         "validatorVotingPower":"27078089699342",
         "validatorVotingPowerProportion":"0.0385"
      }
   ]
}

Get BNB Last Price

Returns the latest price of 1 BNB.

https://api.bscscan.com/api
   ?module=stats
   &action=bnbprice
   &apikey=YourApiKeyToken

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "ethbtc":"0.009739",
      "ethbtc_timestamp":"1630405871",
      "ethusd":"460.89",
      "ethusd_timestamp":"1630405860"
   }
}

Try this endpoint in your browser

Tip : The timestamps are represented in Unix timestamp.

🎯
🔗
📖
🔗
🔗
⏳