Endpoints with are under the API Pro subscription. To upgrade your API plan, kindly visit BscScan API Pro.
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
Sample Response
{
"status":"1",
"message":"OK",
"result":"21928929383399200000000000"
}
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
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
Sample Response
{
"status":"1",
"message":"OK",
"result":{
"ethbtc":"0.009739",
"ethbtc_timestamp":"1630405871",
"ethusd":"460.89",
"ethusd_timestamp":"1630405860"
}
}
Returns the historical price of 1 BNB.
https://api.bscscan.com/api
?module=stats
&action=bnbdailyprice
&startdate=2021-08-01
&enddate=2021-08-31
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2021-08-01
the ending date in yyyy-MM-dd
format, eg. 2021-08-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2021-08-01",
"unixTimeStamp":"1627776000",
"value":"332.79"
},
{
"UTCDate":"2021-08-02",
"unixTimeStamp":"1627862400",
"value":"330.72"
},
{
"UTCDate":"2021-08-30",
"unixTimeStamp":"1630281600",
"value":"460.05"
}
]
}
Returns the historical amount of transaction fees paid to validators per day.
https://api.bscscan.com/api?
module=stats
&action=dailytxnfee
&startdate=2020-10-01
&enddate=2020-10-31
&apikey=YourApiKeyToken
&sort=asc
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2020-10-01
the ending date in yyyy-MM-dd
format, eg. 2020-10-31
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2020-10-01",
"unixTimeStamp":"1601510400",
"transactionFee_Eth":"356.764105308852361"
},
{
"UTCDate":"2020-10-02",
"unixTimeStamp":"1601596800",
"transactionFee_Eth":"270.806833010901929108"
},
{
"UTCDate":"2020-10-31",
"unixTimeStamp":"1604102400",
"transactionFee_Eth":"352.100068789871253431"
}
]
}
Returns the historical number of new BNB Smart Chain addresses created per day.
https://api.bscscan.com/api
?module=stats
&action=dailynewaddress
&startdate=2020-10-01
&enddate=2020-10-31
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2020-10-01
the ending date in yyyy-MM-dd
format, eg. 2020-10-31
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2020-10-01",
"unixTimeStamp":"1601510400",
"newAddressCount":3544
},
{
"UTCDate":"2020-10-02",
"unixTimeStamp":"1601596800",
"newAddressCount":6524
},
{
"UTCDate":"2020-10-31",
"unixTimeStamp":"1604102400",
"newAddressCount":8284
}
]
}
Returns the daily average gas used over gas limit percentage.
https://api.bscscan.com/api
?module=stats
&action=dailynetutilization
&startdate=2021-07-01
&enddate=2021-07-31
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2021-07-01
the ending date in yyyy-MM-dd
format, eg. 2021-07-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2021-08-01",
"unixTimeStamp":"1627776000",
"networkUtilization":"0.7528"
},
{
"UTCDate":"2021-08-02",
"unixTimeStamp":"1627862400",
"networkUtilization":"0.7051"
},
{
"UTCDate":"2021-08-30",
"unixTimeStamp":"1630281600",
"networkUtilization":"0.4893"
}
]
}
Returns the number of transactions performed on the Ethereum blockchain per day.
https://api.bscscan.com/api
?module=stats
&action=dailytx
&startdate=2021-07-01
&enddate=2021-07-31
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2021-07-01
the ending date in yyyy-MM-dd
format, eg. 2021-07-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2019-02-01",
"unixTimeStamp":"1548979200",
"transactionCount":498856
},
{
"UTCDate":"2019-02-28",
"unixTimeStamp":"1551312000",
"transactionCount":541458
}
]
}