GET/v3/usd-exchange-rates

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/aave/v3/usd-exchange-ratesCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Batch oracle USD exchange rates for underlying tokens in an Aave v3 market.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/aave/v3/usd-exchange-rates?market=0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2&underlyingTokens=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2%2C0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&chainId=1"

Parameters

nameintypedescription
marketquerystrrequiredAave v3 Pool contract address for the target market (e.g. Ethereum Core Pool).
example: 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2
underlyingTokensquerystrrequiredComma-separated list of underlying token addresses.
example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
chainIdquerystroptionalEVM chain ID or canonical chain name (e.g. 1, ethereum, arbitrum, base, optimism, polygon).
default: 1
example: 1

Response

type: object
data key: rates
pagination: none
sample: {
  "rates": [
    {
      "currency": {
        "symbol": "WETH"
      },
      "rate": "1674.59"
    }
  ]
}