Stats
Get KIP7/ERC20, KIP17/ERC-721 token total supply by contract address
Retrieve the total supply of KIP7/ERC20 or KIP17/ERC-721 tokens by their contract address.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=stats&action=tokensupply&contractaddress={contractAddressHash}&apikey={YourApiKey}
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
contractaddress | String | Yes | The contract address of the token to retrieve the total supply for. |
Sample Response
{
"status": "1",
"message": "OK",
"result": "3530968096044"
}
Get total supply in Kaia
This endpoint retrieves the total supply of Kaia.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api??module=stats&action=ethsupply&apikey={YourApiKey}
Sample Response
{
"status": "1",
"message": "OK",
"result": "5938559031055312423724109990"
}
Get Total Coin Supply Minus Burnt Number
This endpoint retrieves the total coin supply, subtracting the burnt coins.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=stats&action=coinsupply&apikey={YourApiKey}
Sample Response
{
"status": "1",
"message": "OK",
"result": "-188865505671951"
}
Get Kaia Price
This endpoint retrieves the current price of Kaia in terms of USD and BTC.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=stats&action=ethprice&apikey={YourApiKey}
Sample Response
{
"status": "1",
"message": "OK",
"result": {
"ethbtc": "0.000001377696617083805",
"ethusd": "0.13391614881162597"
}
}
Get native coin (Kaia) Price
This endpoint retrieves the current price of the native coin (Kaia) in terms of USD and BTC.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=stats&action=coinprice&apikey={YourApiKey}
Sample Response
{
"status": "1",
"message": "OK",
"result": {
"coin_btc": "0.0000013775490345220863",
"coin_usd": "0.13391614881162597"
}
}
Get Total Transaction Fees in Kaia Paid by Users to Validators Per Day
This endpoint retrieves the total transaction fees in Kaia that have been paid by users to validators for a specific day, based on the provided date.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=stats&action=totalfees&date={date}&apikey={YourApiKey}
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
date | String | Yes | The specific date for which to retrieve the total transaction fees (in YYYY-MM-DD format). |
Sample Response
{
"status": "1",
"message": "OK",
"result": "132434608883"
}