Stats

Get Total Supply of Ether

Returns the current amount of Ether in circulation.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Returns the historical daily average gas limit of the Optimism network.

 https://api-optimistic.etherscan.io/api
    ?module=stats
    &action=dailyavggaslimit
    &startdate=2022-02-01
    &enddate=2022-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-01-31

enddate

the ending date in yyyy-MM-dd format, eg. 2022-02-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the total amount of gas used daily for transactions on the Optimism network.

 https://api-optimistic.etherscan.io/api
    ?module=stats
    &action=dailygasused
    &startdate=2022-02-01
    &enddate=2022-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-01-31

enddate

the ending date in yyyy-MM-dd format, eg. 2022-02-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the daily average gas price used on the Optimism network.

 https://api-optimistic.etherscan.io/api
    ?module=stats
    &action=dailyavggasprice
    &startdate=2022-02-01
    &enddate=2022-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2019-01-31

enddate

the ending date in yyyy-MM-dd format, eg. 2019-02-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the historical price of 1 ETH.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=ethdailyprice
   &startdate=2022-08-01
   &enddate=2022-08-04
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-08-01

enddate

the ending date in yyyy-MM-dd format, eg. 2022-08-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the historical amount of transaction fees paid to validators per day.

https://api-optimistic.etherscan.io/api?
   module=stats
   &action=dailytxnfee
   &startdate=2020-10-01
   &enddate=2020-10-31
   &sort=asc
   &apikey=YourApiKeyToken 

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2020-10-01

enddate

the ending date in yyyy-MM-dd format, eg. 2020-10-31

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the historical number of new Optimism Chain addresses created per day.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=dailynewaddress
   &startdate=2020-10-01
   &enddate=2020-10-31
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-10-01

enddate

the ending date in yyyy-MM-dd format, eg. 2022-10-31

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the daily average gas used over gas limit percentage.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=dailynetutilization
   &startdate=2022-07-01
   &enddate=2022-07-31
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-07-01

enddate

the ending date in yyyy-MM-dd format, eg. 2022-07-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Returns the number of transactions performed on the Optimism Chain per day.

https://api-optimistic.etherscan.io/api
   ?module=stats
   &action=dailytx
   &startdate=2022-07-01
   &enddate=2022-07-31
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

startdate

the starting date in yyyy-MM-dd format, eg. 2022-07-01

enddate

the ending date in yyyy-MM-dd format, eg. 2022-07-28

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Last updated