GET
/
v0
/
aave
/
token_price
/
get
Python (SDK)
from compass_api_sdk import CompassAPI, models


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.aave_v3.token_price(chain=models.AaveTokenPriceChain.ARBITRUM_MAINNET, token=models.AaveTokenPriceToken.USDC)

    # Handle response
    print(res)
{
  "price": "<string>"
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:arbitrum:mainnet
required
Available options:
arbitrum:mainnet,
base:mainnet,
ethereum:mainnet
block
integer | null

Optional block number (defaults to latest).

token
enum<string>
default:USDC
required

The symbol of the asset whose price you want..

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,
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

Response

200
application/json

Successful Response

The response is of type object.