Skip to main content

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

ParameterInTypeRequiredDescription
chainsquerystringnoComma-separated chain IDs
lendersquerystringnoComma-separated lender keys See the LenderId schema for the full set of accepted values.

Response 200

FieldTypeDescription
successTrue
dataobjectInformational payload. null when the endpoint only builds calldata.
actionsnull

Example response

{
"success": true,
"data": {}
}

Request

Responses

Config pool breakdown per lender/chain/configId