Token price
Retrieves the price of the specified token relative to USD using Chainlink’s on- chain price feeds.
Chainlink is a decentralized oracle that aggregates price data from off-chain sources. This ensures the price is tamper-resistant but the price might be stale with the update frequency of the oracle.
POST
Body
application/json
The chain to use.
Available options:
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The symbol of the token for which to get the price Note the supported tokens per chain.
Available options:
1INCH
, AAVE
, BAL
, cbBTC
, cbETH
, CRV
, crvUSD
, DAI
, ENS
, ETHx
, FRAX
, FXS
, GHO
, KNC
, LDO
, LINK
, LUSD
, MKR
, osETH
, PYUSD
, rETH
, RPL
, rsETH
, sDAI
, SNX
, STG
, sUSDe
, tBTC
, UNI
, USDC
, USDe
, USDS
, USDT
, WBTC
, weETH
, WETH
, wstETH
, ARB
, EURS
, MAI
, USDCe
, AERO
, EUR
, VIRTUAL
Response
200
application/json
Successful Response
Price of the token in USD
Example:
2000
Was this page helpful?