Get pools grouped by config
GET/v1/data/lending/pools/by-config
For each (lender, chain, configId) combination, returns which markets are eligible as collateral or borrowable.
Each item includes a collaterals and borrowables array with per-market rate, factor, and TVL data. Either array is null when no markets qualify. A market absent from a config entry has both collateral and debt disabled for that config.
Useful for building position-builder UIs that need to know which assets can be paired within a given pool configuration (e.g. e-mode categories, isolated pools).
Plain-text reference — GET /v1/data/lending/pools/by-config
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chains | query | string | no | Comma-separated chain IDs |
lenders | query | string | no | Comma-separated lender keys See the LenderId schema for the full set of accepted values. |
Response 200
| Field | Type | Description |
|---|---|---|
success | True | |
data | object | Informational payload. null when the endpoint only builds calldata. |
actions | null |
Example response
{
"success": true,
"data": {}
}
Request
Responses
- 200
- 400
- 429
- 500
- 502
Config pool breakdown per lender/chain/configId
Validation error
Rate limited. Unauthenticated callers share a per-IP budget; send an x-api-key header to lift it. Retry with exponential backoff.
Unexpected server error. Safe to retry with backoff.
An upstream data source or protocol origin failed (error.code is ORIGIN_FAILED). error.details carries the per-origin status. This is also what a missing or malformed required parameter currently returns, rather than a 400.