Get a mapping of tokenId to 24-hours price change percentage
curl --request GET \
--url https://api.saucerswap.finance/tokens/price-changeconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/price-change', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/price-change"
response = requests.get(url)
print(response.text){
"0.0.731861": -2.5351798847046836,
"0.0.786931": 4.047875243039449,
"0.0.629591": -12.223518441429796
}Tokens
REST API: 24-hour price change map
Retrieve a mapping from Hedera token id to 24-hour price change percentage for tokens on SaucerSwap, suited to fast dashboard and ticker updates.
GET
/
tokens
/
price-change
Get a mapping of tokenId to 24-hours price change percentage
curl --request GET \
--url https://api.saucerswap.finance/tokens/price-changeconst options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/price-change', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/price-change"
response = requests.get(url)
print(response.text){
"0.0.731861": -2.5351798847046836,
"0.0.786931": 4.047875243039449,
"0.0.629591": -12.223518441429796
}Response
200 - application/json
Successful operation
24-hours price change percentage for the given tokenId
Was this page helpful?