lendborrow

Get Pool

Retrieve current lending and borrowing rates (APYs) for a specified asset within a pool. You receive key metrics such as variable/stable borrow and supply rates, loan-to-value ratios, available liquidity, and reserve size. This data is essential for evaluating the attractiveness and risk of entering or exiting a market.

💡 Compute Unit Value: 110 (Fixed)

get/defi/v1/lendborrow/pool

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/lendborrow/pool
  • Auth
    API key in header X-API-Key

Query parameters

lendborrowId'1000' | '1003' | '1005' | '1200' | '1208' | '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
assetstring required

Specifies the asset to be used in the lending/borrowing operation.

Example:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
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.

marketIdstring

Specifies the market Id of any market in Morpho.

Example:0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5
vaultAddressstring

Specifies the vaultAddress of any vault in Morpho.

Example:0xa258C4606Ca8206D8aA700cE2143D7db854D168c

Response

Successful response

statusnumber

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": {
    "tokenSymbol": "USDC",
    "tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "logoUrl": "https://images.ctfassets.net/hwqnbx905qdp/153HkqSJWC5wZw7YNCZbQc/c7222120de244ea254c9bc4bdef76fae/eip155_1-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48.webp",
    "tags": [
      "stablecoin"
    ],
    "poolAddress": "0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9",
    "variableBorrowRate": "12.40",
    "stableBorrowRate": "10.18",
    "estimatedVariableBorrowAPY": "13.20",
    "estimatedStableBorrowAPY": "10.72",
    "stableSupplyRate": "0",
    "variableSupplyRate": "0.66",
    "estimatedSupplyAPY": "0.66",
    "ltv": "75",
    "availableLiquidity": "18084423956211",
    "reserveSize": "28038923513755"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.