Skip to main content
GET
/
v2
/
earn
/
aave_markets
Python (SDK)
from compass_api_sdk import CompassAPI


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

    res = compass_api.earn.earn_aave_markets()

    # Handle response
    print(res)
{
  "markets": {}
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string> | null

Optional chain filter. If not provided, returns rates for all chains. The chain to use.

Available options:
base,
ethereum,
arbitrum

Response

Successful Response

Response containing Aave market rates organized by token symbol.

markets
Markets · object
required

Market data keyed by token symbol. Each token contains chain-specific data and information about which chain has the highest supply APY.