Get monthly price, volume and liquidity for all tokens
curl --request GET \
--url https://api.saucerswap.finance/tokens/monthlyconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/monthly', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/monthly"
response = requests.get(url)
print(response.text)[
{
"timestampSeconds": 1697677200,
"tokenId": "0.0.731861",
"price": "36334886",
"liquidity": "5971792596548121",
"volume": "100169644699152"
}
]Tokens
REST API: Monthly metrics for all tokens
Retrieve monthly price, volume, and liquidity datapoints for all SaucerSwap tokens, prices in tinybar and amounts in each token’s smallest unit.
GET
/
tokens
/
monthly
Get monthly price, volume and liquidity for all tokens
curl --request GET \
--url https://api.saucerswap.finance/tokens/monthlyconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/monthly', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/monthly"
response = requests.get(url)
print(response.text)[
{
"timestampSeconds": 1697677200,
"tokenId": "0.0.731861",
"price": "36334886",
"liquidity": "5971792596548121",
"volume": "100169644699152"
}
]Response
200 - application/json
Successful response
Unix seconds
Example:
1697677200
Token id (shard.realm.num)
Example:
"0.0.731861"
Token price in tinybar
Example:
"36334886"
Token liquidity in its smallest unit
Example:
"5971792596548121"
Token volume in its smallest unit
Example:
"100169644699152"
Was this page helpful?