Get detailed token data by id
curl --request GET \
--url https://api.saucerswap.finance/tokens/{tokenId}const options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/{tokenId}"
response = requests.get(url)
print(response.text){
"id": "0.0.731861",
"name": "SAUCE",
"symbol": "SAUCE",
"icon": "/images/tokens/sauce.svg",
"decimals": 6,
"price": "36806544",
"priceUsd": 0.01763457,
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
}Tokens
REST API: Get token by id
Retrieve detailed data for one token by Hedera token id, including price in tinybar and USD, decimals, description, website, and due-diligence flags.
GET
/
tokens
/
{tokenId}
Get detailed token data by id
curl --request GET \
--url https://api.saucerswap.finance/tokens/{tokenId}const options = {method: 'GET'};
fetch('https://api.saucerswap.finance/tokens/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.saucerswap.finance/tokens/{tokenId}"
response = requests.get(url)
print(response.text){
"id": "0.0.731861",
"name": "SAUCE",
"symbol": "SAUCE",
"icon": "/images/tokens/sauce.svg",
"decimals": 6,
"price": "36806544",
"priceUsd": 0.01763457,
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera.",
"website": "https://www.saucerswap.finance/",
"sentinelReport": "https://sentinel.headstarter.org/details/saucerswap",
"twitterHandle": "SaucerSwapLabs"
}Response
200 - application/json
Successful response
Was this page helpful?