FTMScan
HomeTwitterKnowledge Base API PRO
FTMScan
FTMScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • FTMScan API PRO
    • API PRO Endpoints
  • 📖Tutorials
    • Integrating Google Sheets
    • Verifying Contracts Programmatically
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit FTMScan.com
Powered by GitBook
On this page
  • Get Total Supply of FTM on the Fantom blockchain
  • Get FTM Last Price
  • Get FTM Historical Price
  • Get Daily Network Transaction Fee
  • Get Daily New Address Count
  • Get Daily Transaction Count
  1. API Endpoints

Stats

PreviousGas TrackerNextFTMScan API PRO

Last updated 2 years ago

Get Total Supply of FTM on the Fantom blockchain

Returns the current amount of FTM in circulation.

https://api.ftmscan.com/api?
   module=stats
   &action=ftmsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : The result is returned in

Easily convert FTM units using our

Get FTM Last Price

Returns the latest price of 1 FTM.

https://api.ftmscan.com/api
   ?module=stats
   &action=ftmprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "ethbtc":"0.0000581131104068839",
      "ethbtc_timestamp":"1643024150",
      "ethusd":"1.955",
      "ethusd_timestamp":"1643024146"
   }
}

Tip : The timestamps are represented in

Get FTM Historical Price

Returns the historical price of 1 FTM.

https://api.ftmscan.com/api
   ?module=stats
   &action=ftmdailyprice
   &startdate=2021-08-01
   &enddate=2021-08-31
   &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":"2021-08-01",
         "unixTimeStamp":"1627776000",
         "value":"0.25"
      },
      {
         "UTCDate":"2021-08-02",
         "unixTimeStamp":"1627862400",
         "value":"0.25"
      },
      {
         "UTCDate":"2021-08-31",
         "unixTimeStamp":"1630368000",
         "value":"0.72"
      }
   ]
}

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

https://api.ftmscan.com/api?
   module=stats
   &action=dailytxnfee
   &startdate=2020-10-01
   &enddate=2020-10-31
   &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":"2020-10-01",
         "unixTimeStamp":"1601510400",
         "transactionFee_Eth":"2.11880145675"
      },
      {
         "UTCDate":"2020-10-02",
         "unixTimeStamp":"1601596800",
         "transactionFee_Eth":"2.151878422"
      },
      {
         "UTCDate":"2020-10-31",
         "unixTimeStamp":"1604102400",
         "transactionFee_Eth":"1.372074716"
      }
   ]
}

Returns the historical number of new Fantom addresses created per day.

https://api.ftmscan.com/api
   ?module=stats
   &action=dailynewaddress
   &startdate=2020-10-01
   &enddate=2020-10-31
   &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":"2020-10-01",
         "unixTimeStamp":"1601510400",
         "newAddressCount":60
      },
      {
         "UTCDate":"2020-10-02",
         "unixTimeStamp":"1601596800",
         "newAddressCount":43
      },
      {
         "UTCDate":"2020-10-31",
         "unixTimeStamp":"1604102400",
         "newAddressCount":13
      }
   ]
}

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

https://api.ftmscan.com/api
   ?module=stats
   &action=dailytx
   &startdate=2021-07-01
   &enddate=2021-07-31
   &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":"2021-07-01",
         "unixTimeStamp":"1625097600",
         "transactionCount":340000
      },
      {
         "UTCDate":"2021-07-02",
         "unixTimeStamp":"1625184000",
         "transactionCount":260595
      },
      {
         "UTCDate":"2021-07-31",
         "unixTimeStamp":"1627689600",
         "transactionCount":218768
      }
   ]
}

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 Transaction Count

Try this endpoint in your

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