list_markets
List lending markets: the market a depositor actually picks (Aave/Spark pool, Aave V4 spoke, Compound Comet, Morpho Blue pair, or Kamino K-Lend market). Aave V4 spokes that share a liquidity hub are grouped under a composed parent (aave-v4-1-hub-global-dollar). The API still keys each market on the spoke. NOTE: this is not get_market_overview, which returns platform-wide totals across all vaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Filter by chain: integer chain id (e.g. 1, 8453) or slug (e.g. ethereum, solana) | |
| limit | No | Results per page (1-100, default 20) | |
| sortBy | No | Sort field (default total_supplied_usd) | |
| version | No | Filter by protocol version: v3, v4, or klend. Use version=v4 with protocol=aave. | |
| protocol | No | Filter by protocol id: aave, spark, compound, morpho, kamino. Aave V4 is protocol=aave plus version=v4 (aave-v4 is accepted as an alias). |