Get Total Supply of Ether
Returns the current amount of Ether in circulation on the Base chain.
https://api.basescan.org/api
?module=stats
&action=ethsupply
&apikey=YourApiKeyToken
Try this endpoint in your
Sample Response
{
"status":"1",
"message":"OK",
"result":"81245345499000000000000000"
}
Get Ether Last Price
Returns the latest price of 1 ETH.
https://api.basescan.org/api
?module=stats
&action=ethprice
&apikey=YourApiKeyToken
Try this endpoint in your
Get Daily Average Gas Limit
Returns the historical daily average gas limit of the Base network.
https://api.basescan.org/api
?module=stats
&action=dailyavggaslimit
&startdate=2023-08-01
&enddate=2023-08-02
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-08-01",
"unixTimeStamp": "1690848000",
"gasLimit": "30000000"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"gasLimit": "30000000"
}
]
}
Returns the total amount of gas used daily for transactions on the Base network.
https://api.basescan.org/api
?module=stats
&action=dailygasused
&startdate=2023-08-01
&enddate=2023-08-02
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-08-01",
"unixTimeStamp": "1690848000",
"gasUsed": "38608792398"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"gasUsed": "47317486287"
}
]
}
Returns the daily average gas price used on the Base network.
https://api.basescan.org/api
?module=stats
&action=dailyavggasprice
&startdate=2023-08-01
&enddate=2023-08-02
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-08-01",
"unixTimeStamp": "1690848000",
"maxGasPrice_Wei": "2000000000051",
"minGasPrice_Wei": "100",
"avgGasPrice_Wei": "1192177546"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"maxGasPrice_Wei": "3451000000054",
"minGasPrice_Wei": "100",
"avgGasPrice_Wei": "1246498225"
}
]
}
Returns the historical price of 1 ETH.
https://api.basescan.org/api
?module=stats
&action=ethdailyprice
&startdate=2023-08-01
&enddate=2023-08-02
&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": "2023-08-01",
"unixTimeStamp": "1690848000",
"value": "1872.94"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"value": "1839.06"
}
]
}
Returns the historical amount of transaction fees paid to validators per day.
https://api.basescan.org/api?
module=stats
&action=dailytxnfee
&startdate=2023-08-01
&enddate=2023-08-02
&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": "2023-08-01",
"unixTimeStamp": "1690848000",
"transactionFee_Eth": "0"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"transactionFee_Eth": "0"
}
]
}
Returns the historical number of new Base Chain addresses created per day.
https://api.basescan.org/api
?module=stats
&action=dailynewaddress
&startdate=2023-08-01
&enddate=2023-08-02
&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": "2023-08-01",
"unixTimeStamp": "1690848000",
"newAddressCount": 12772
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"newAddressCount": 12692
}
]
}
Returns the daily average gas used over gas limit percentage.
https://api.basescan.org/api
?module=stats
&action=dailynetutilization
&startdate=2023-08-01
&enddate=2023-08-02
&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": "2023-08-01",
"unixTimeStamp": "1690848000",
"networkUtilization": "0.0315"
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"networkUtilization": "0.0383"
}
]
}
Returns the number of transactions performed on the Base Chain per day.
https://api.basescan.org/api
?module=stats
&action=dailytx
&startdate=2023-08-01
&enddate=2023-08-02
&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": "2023-08-01",
"unixTimeStamp": "1690848000",
"transactionCount": 206671
},
{
"UTCDate": "2023-08-02",
"unixTimeStamp": "1690934400",
"transactionCount": 193053
}
]
}