USDT is the TON/USD rate every fiat and jetton price is derived from: the median of the exchange quotes (Rate/Exchanges) that agree within 3 %, cross-checked against the on-chain USD₮/TON pool.symbol — unique, up to 24, 3–64 characters each (BTC, ETH, USDT).result — map symbol → price.{"code":…,"message":…})| Code | When |
|---|---|
failed_precondition (412) | validation failed, or none of the symbols is known |
{
"symbol": [
"BTC",
"ETH"
]
}curl --location 'https://app.apiton.org/v2.Rate/Crypto' \
--header 'Content-Type: application/json' \
--data '{
"symbol": [
"BTC",
"ETH"
]
}'{
"result": {
"BTC": 0.000062951,
"ETH": 0.001804868
}
}