> ## 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.

# List Positions

> List all borrowing positions for a lending market

Returns all positions (loans) recorded for the specified market, ordered newest first.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/positions" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "positions": [
        {
          "id": "pos_001",
          "onChainLoanId": "5",
          "userAddress": "0xabc...def",
          "collateralAmount": "100.0",
          "borrowedAmount": "5000.0",
          "interestAccrued": "12.50",
          "healthFactor": "2.45",
          "liquidated": false,
          "openedAt": "2025-06-10T08:00:00.000Z"
        }
      ]
    }
  }
  ```
</ResponseExample>
