Skip to main content
GET
/
lending-stocks
/
api
/
markets
/
{marketId}
/
max-borrow
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/max-borrow?collateralAmount=100" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "collateralAmount": "100",
    "maxBorrow": "13912.500000"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trusset.org/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

marketId
string
required
Market ID.

Query Parameters

collateralAmount
string
required
Collateral token amount (e.g. "100").
curl "https://api.trusset.org/lending-stocks/api/markets/{marketId}/max-borrow?collateralAmount=100" \
  -H "X-API-Key: trusset_your_key_here"
{
  "success": true,
  "data": {
    "collateralAmount": "100",
    "maxBorrow": "13912.500000"
  }
}