LineaScan
HomeTwitterKnowledge BaseAPI PRO
LineaScan
LineaScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • 🏆API PRO
    • LineaScan API PRO
    • API PRO Endpoints
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Common Verification Errors
    • Getting Help
  • Visit LineaScan.build
Powered by GitBook
On this page
  • Get Total Supply of Ether
  • Get Ether Last Price
  • Get Daily Average Gas Limit
  • Get Linea Daily Total Gas Used
  • Get Daily Average Gas Price
  • Get ETH Historical Price
  • Get Daily Network Transaction Fee
  • Get Daily New Address Count
  • Get Daily Network Utilization
  • Get Daily Transaction Count
  1. API Endpoints

Stats

PreviousTokensNextLineaScan API PRO

Last updated 11 months ago

Get Total Supply of Ether

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

https://api.lineascan.build/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert Ethereum units using our

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api.lineascan.build/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": {
    "ethbtc": "0.0630463248105434",
    "ethbtc_timestamp": "1691037917",
    "ethusd": "1836.62",
    "ethusd_timestamp": "1691037911"
  }
}

Tip : The timestamps are represented in

Get Daily Average Gas Limit

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

 https://api.lineascan.build/api
    ?module=stats
    &action=dailyavggaslimit
    &startdate=2024-05-15
    &enddate=2024-06-01
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Parameter
Description

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

Sample Response

      "gasLimit": "61000000"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "gasLimit": "61000000"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "gasLimit": "61000000"
    },

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

 https://api.lineascan.build/api
    ?module=stats
    &action=dailygasused
    &startdate=2024-05-15
    &enddate=2024-06-01
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Parameter
Description

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "gasUsed": "53457324323"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "gasUsed": "53107940956"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "gasUsed": "58137462416"
    },

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

 https://api.lineascan.build/api
    ?module=stats
    &action=dailyavggasprice
    &startdate=2024-05-15
    &enddate=2024-06-01
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Parameter
Description

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "maxGasPrice_Wei": "122000000000",
      "minGasPrice_Wei": "50000000",
      "avgGasPrice_Wei": "150140585"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "maxGasPrice_Wei": "236003862058",
      "minGasPrice_Wei": "50000000",
      "avgGasPrice_Wei": "127745914"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "maxGasPrice_Wei": "1519122054292",
      "minGasPrice_Wei": "50000000",
      "avgGasPrice_Wei": "127519124"
    },
    {

Returns the historical price of 1 ETH.

https://api.lineascan.build/api
   ?module=stats
   &action=ethdailyprice
   &startdate=2024-05-15
    &enddate=2024-06-01
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

startdate

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

enddate

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

sort

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "value": "3033.46"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "value": "2945.17"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "value": "3093.44"
    }

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

https://api.lineascan.build/api
   ?module=stats
   &action=dailytxnfee
   &startdate=2024-05-15
    &enddate=2024-06-01
   &sort=asc
   &apikey=YourApiKeyToken 

Query Parameters

Parameter
Description

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "transactionFee_Eth": "5.05948173591574772"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "transactionFee_Eth": "4.673198581533348096"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "transactionFee_Eth": "5.177073187195568938"
    }

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

https://api.lineascan.build/api
   ?module=stats
   &action=dailynewaddress
   &startdate=2024-05-15
    &enddate=2024-06-01
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "newAddressCount": 15045
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "newAddressCount": 30756
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "newAddressCount": 14455
    }

Returns the daily average gas used over gas limit percentage.

https://api.lineascan.build/api
   ?module=stats
   &action=dailynetutilization
   &startdate=2024-05-15
    &enddate=2024-06-01
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

startdate

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

enddate

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

sort

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "networkUtilization": "0.0304"
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "networkUtilization": "0.0302"
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "networkUtilization": "0.0331"
    }

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

https://api.lineascan.build/api
   ?module=stats
   &action=dailytx
   &startdate=2024-05-15
    &enddate=2024-06-01
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

startdate

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

enddate

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

sort

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

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "UTCDate": "2024-05-15",
      "unixTimeStamp": "1715731200",
      "transactionCount": 402185
    },
    {
      "UTCDate": "2024-05-16",
      "unixTimeStamp": "1715817600",
      "transactionCount": 404341
    },
    {
      "UTCDate": "2024-05-17",
      "unixTimeStamp": "1715904000",
      "transactionCount": 440816
    },
    {
      "UTCDate": "2024-05-18",
      "unixTimeStamp": "1715990400",
      "transactionCount": 370938

Try this endpoint in your

Get Linea Daily Total Gas Used

Try this endpoint in your

Get Daily Average Gas Price

Try this endpoint in your

Get ETH Historical Price

Try this endpoint in your

Tip : The value is represented in US Dollars ( USD ).

Get Daily Network Transaction Fee

Try this endpoint in your

Get Daily New Address Count

Try this endpoint in your

Get Daily Network Utilization

Try this endpoint in your

Get Daily Transaction Count

Try this endpoint in your

🎯
💰
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
📖
🔗
⏳
browser
unit converter.
browser
Unix timestamp.