Get token cost
curl --request GET \
--url https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}const options = {method: 'GET'};
fetch('https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}"
response = requests.get(url)
print(response.text){
"currency": "<string>",
"current_basis_points": 123,
"current_time": "<string>",
"description": "<string>",
"end_of_life_at": "2023-11-07T05:31:56Z",
"fiat_exchange_rate_with_usd": "<string>",
"image": "<string>",
"sources": {},
"token_cost_in_fiat": "<string>",
"token_cost_in_usd": "<string>",
"token_kind": "bond",
"token_mint": "<string>",
"token_symbol": "<string>",
"payment_mint": "<string>",
"underlying_bond_symbol": "<string>"
}Lookup
Get token cost
Returns the current price of one Etherfuse token, a stablebond or a principal token.
identifier is the token’s symbol or its Solana mint address. We match symbols without case, so mexe, MEXE and MEXe all find the same token.
This replaces GET /lookup/bonds/cost/{identifier}, which is deprecated and covers only stablebonds.
Public. No API key required.
GET
/
lookup
/
tokens
/
cost
/
{identifier}
Get token cost
curl --request GET \
--url https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}const options = {method: 'GET'};
fetch('https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/lookup/tokens/cost/{identifier}"
response = requests.get(url)
print(response.text){
"currency": "<string>",
"current_basis_points": 123,
"current_time": "<string>",
"description": "<string>",
"end_of_life_at": "2023-11-07T05:31:56Z",
"fiat_exchange_rate_with_usd": "<string>",
"image": "<string>",
"sources": {},
"token_cost_in_fiat": "<string>",
"token_cost_in_usd": "<string>",
"token_kind": "bond",
"token_mint": "<string>",
"token_symbol": "<string>",
"payment_mint": "<string>",
"underlying_bond_symbol": "<string>"
}Path Parameters
Query Parameters
Response
The token's price.
Current pricing for one Etherfuse token: its cost in its currency and in USD, and the exchange rate from each FX provider in sources.