Retrieves the price of a token in 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.
arbitrum:mainnet
, base:mainnet
, ethereum:mainnet
Optional block number (defaults to latest).
The symbol or address of the token for which to get the price. A class representing the token.
This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
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
, ETH
, AERO
, EUR
, VIRTUAL
, ezETH
, CYBER
, wrsETH
, eBTC
, EURC
, eUSDe
, FBTC
, LBTC
, PT-eUSDE-14AUG2025
, PT-eUSDE-29MAY2025
, PT-sUSDE-25SEP2025
, PT-sUSDE-31JUL2025
, PT-USDe-31JUL2025
, RLUSD
, USD₮0
, USDbC
, USDtb
Successful Response
The response is of type object
.