> ## 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 Loan Agreements

> List the loan agreements of a market

Lists the market's loan agreements, newest change first, at most 200. The bank sees every agreement of the market. Any other instance sees the agreements it requested and those naming one of its verified wallets. The list leaves out the salt; read one agreement for it. A `FRAMEWORK` agreement in force carries its remaining limit.

## Path Parameters

**marketId** `string` *required*

The market's record ID on your instance.

## Query Parameters

**status** `string`

One status, for example `SIGNED`. `EXPIRED` includes agreements whose offer ran out but are not marked yet.

**borrower** `string`

Only this wallet's agreements.

**loanId** `string`

Only agreements bound to this loan.

## Response Fields

**data** `object`

**agreements** `object[]`

Each as [Get Loan Agreement](https://docs.trusset.org/endpoints/lending/get-loan-agreement.md#response-fields) returns it, without `salt` and `acceptTypedData`.

**total** `number`

How many are listed.

**truncated** `boolean`

`true` when more than 200 match. Narrow with a filter.

**viewer.isBank** `boolean`

Whether your instance sees every agreement.

```json 200 Listed theme={null}
{
  "success": true,
  "data": {
    "agreements": [
      {
        "ref": "agr_k3vx7q2mwd4h5pn6tr8a",
        "kind": "LOAN",
        "status": "SIGNED",
        "marketAddress": "0x41b9c4d5dee70a5e3682094462e5065275e728a9",
        "chainRef": {
          "network": "ETHEREUM",
          "instanceType": "DEVELOPMENT"
        },
        "borrowerWallet": "0x7c1e3a5f2b9d4e6a8c0f1b3d5e7a9c2b4d6f8e1a",
        "externalReference": "CASE-2026.11_042",
        "scheduleHash": "0x8e2c4a6f1b3d5e7a9c0f2b4d6e8a1c3f5b7d9e0a2c4f6b8d1e3a5c7f9b0d2e4a",
        "scheduleVersion": "1.0.0",
        "scheduleFrozen": true,
        "hashScheme": "SALTED_V1",
        "documentCommitment": "0x3a7f9c2e5b1d8a4f6c0e2b9d7a3f1c5e8b4d2a6f0c9e7b3d1a5f8c2e6b4d0a9f",
        "certificateCommitment": null,
        "copyVerified": null,
        "nextStep": "VERIFY_AND_ACCEPT",
        "expiresAt": "2026-12-21T16:02:11.000Z",
        "viewerRole": {
          "bank": true,
          "borrower": false
        }
      }
    ],
    "total": 1,
    "truncated": false,
    "viewer": {
      "isBank": true
    },
    "marketId": "cmwfk2h7x0003jw9w4q8b2n1c"
  },
  "error": null
}
```

## Error Codes

| Code | HTTP | Cause |
| - | - | - |
| `INVALID_AGREEMENT_FILTER` | `400` | `status` or `loanId` is not valid |
| `INVALID_WALLET` | `400` | `borrower` is not an address |
| `MARKET_NOT_FOUND` | `404` | No market with this ID on your instance |
| `CHAIN_UNAVAILABLE`, `SERVICE_UNAVAILABLE` | `503` | The market or your instance's wallets could not be read just now. Nothing was decided. Retry shortly |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.