Get weekly price, volume and liquidity for token by id
curl --request GET \
--url https://api.saucerswap.finance/tokens/weekly/{tokenId}const options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/weekly/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/weekly/{tokenId}"
response = requests.get(url)
print(response.text)[
{
"timestampSeconds": 1697677200,
"tokenId": "0.0.731861",
"price": "36334886",
"liquidity": "5971792596548121",
"volume": "100169644699152"
}
]Tokens
REST API: Weekly metrics for a token
Retrieve weekly price, volume, and liquidity history for a single token by Hedera token id, with prices in tinybar and unix-second timestamps.
GET
/
tokens
/
weekly
/
{tokenId}
Get weekly price, volume and liquidity for token by id
curl --request GET \
--url https://api.saucerswap.finance/tokens/weekly/{tokenId}const options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/weekly/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/weekly/{tokenId}"
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
Was this page helpful?