v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
lendborrow

Get Pools

Fetch a comprehensive overview of supply and borrow APYs across multiple assets in lending pools. The endpoint aggregates data such as interest rates, liquidity, reserve sizes, and token-specific details (like symbols and addresses) to help you compare opportunities across different markets.

💡 Compute Unit Value: 135 (Fixed)

get/defi/v1/lendborrow/getpools

Query parameters

lendborrowId'1000' | '1003' | '1005' | '1200' | '1202' | '1203' | '1204' | '1205' | '1206' | '1207' | '1100' | '1300' | '1302' | '1400' | '1401' | '1402' | '1403' | '1404'

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

Example:1000

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

assetsstring required

Comma-separated list of asset address of Morpho vaults.

Example:0x5f98805a4e8be255a32880fdec7f6728c6568ba0,0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2

Comma-separated list of asset address of Morpho vaults.

addressstring

Public address of the user.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402

Public address of the user.

vsCurrenciesstring

Comma-separated list of currencies to include in the response.

Example:usd,eur,gbp

Comma-separated list of currencies to include in the response.

useCustomVaultsboolean

A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools.

A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools.

marketsstring

Comma-separated list of market Ids of Morpho markets.

Example:0x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64

Comma-separated list of market Ids of Morpho markets.

vaultsstring

Comma-separated list of vaults addresses of Morpho vaults.

Example:0x73e65DBD630f90604062f6E02fAb9138e713edD9

Comma-separated list of vaults addresses of Morpho vaults.

Response

Successful response

statusinteger

Numeric status code indicating success or failure of the API call

msgstring

Human-readable message describing the API result or error

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "markets": [
      {
        "marketId": "0xff527fe9c6516f9d82a3d51422ccb031d123266e6e26d4c22c942a948c180a75",
        "collateralToken": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
        "collateralTokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/2ILv9flOf27yZeSfyF8K9F/8f77a74b6c7cd5ab69760bfc1f4bd2a4/eip155_1-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.webp",
        "collateralTokenTags": null,
        "irm": "0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC",
        "lltv": "86.00",
        "loanToken": "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
        "loanTokenLogo": null,
        "loanTokenTags": null,
        "oracle": "0x9CB3f4276bcD149b3668e1a645a964bC12877b89",
        "totalSupplyAssets": "4750584638555",
        "totalSupplyShares": "4585802376984915673",
        "totalBorrowAssets": "3638389458234",
        "totalBorrowShares": "3493954191050895767",
        "stableBorrowRate": "0",
        "variableSupplyRate": "3.51",
        "variableBorrowRate": "4.58",
        "estimatedSupplyAPY": "3.57",
        "estimatedVariableBorrowAPY": "4.69",
        "estimatedStableBorrowAPY": "0",
        "prices": {
          "usd": [
            {
              "0x1abaea1f7c830bd89acc67ec4af516284b1bc33c": "1.1679815414623602"
            },
            {
              "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": "90184.2492076203"
            }
          ]
        }
      }
    ],
    "vaults": [
      {
        "tokenSymbol": "BOLD",
        "vaultName": "BOLD Reactor",
        "vaultSymbol": "BOLDCS",
        "vaultAddress": "0xfBC84DBfAA2196853FdB6cAE52ef8F56DD76770a",
        "logoUrl": null,
        "tags": null,
        "tokenAddress": "0x6440f144b7e50D6a8439336510312d2F54beB01D",
        "variableSupplyRate": "0.85",
        "estimatedSupplyAPY": "0.85",
        "availableLiquidity": "1160267009238291908512",
        "reserveSize": "1120211242720310938833",
        "prices": {
          "usd": [
            {
              "0x6440f144b7e50d6a8439336510312d2f54beb01d": "1.0004857098551891"
            }
          ]
        }
      }
    ]
  }
}