All pages
Powered by GitBook
1 of 1

Stats

Get Total Supply of Ether

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

https://api.uniscan.xyz/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Sample Response

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

📖 Tip : Easily convert Unichain units using our unit converter.

Get Total Supply of Ether 2

Returns the current amount of Ether in circulation, ETH2 Staking rewards, EIP1559 burnt fees, and total withdrawn ETH from the beacon chain.

https://api.uniscan.xyz/api
   ?module=stats
   &action=ethsupply2
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "EthSupply":"122373866217800000000000000",
      "Eth2Staking":"1157529105115885000000000",
      "BurntFees":"3102505506455601519229842",
      "WithdrawnTotal":"1170200333006131000000000"
   }
}

📝 Note: The EthSupply is calculated before adding ETH minted as Eth2Staking rewards and subtracting BurntFees from EIP-1559.

For more information, check out our Ether Total Supply Dashboard.

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api.uniscan.xyz/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "ethbtc":"0.06116",
      "ethbtc_timestamp":"1624961308",
      "ethusd":"2149.18",
      "ethusd_timestamp":"1624961308"
   }
}

⏳ Tip : The timestamps are represented in Unix timestamp.

Get Unichain Nodes Size

Returns the size of the Unichain blockchain, in bytes, over a date range.

https://api.uniscan.xyz/api
   ?module=stats
   &action=chainsize
   &startdate=2025-02-01
   &enddate=2025-02-01
   &clienttype=geth
   &syncmode=default
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

startdate

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

enddate

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

clienttype

the Unichain node client to use, either geth or parity

syncmode

the type of node to run, either default or archive

sort

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

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "blockNumber":"7156164",
         "chainTimeStamp":"2019-02-01",
         "chainSize":"184726421279",
         "clientType":"Geth",
         "syncMode":"Default"
      }
      {
         "blockNumber":"7276521",
         "chainTimeStamp":"2019-02-28",
         "chainSize":"197073145113",
         "clientType":"Geth",
         "syncMode":"Default"
      }
   ]
}

⛓️ Tip : The chainSize is represented in bytes.

Get Total Nodes Count

Returns the total number of discoverable Unichain nodes.

https://api.uniscan.xyz/api
   ?module=stats
   &action=nodecount
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "UTCDate":"2021-06-29",
      "TotalNodeCount":"6413"
   }
}