> ## Documentation Index
> Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt
> Use this file to discover all available pages before exploring further.

# My Loans

> View your loans as lender and borrower

## Request

```bash theme={null}
curl https://api.midasprotocol.org/lending/my-loans \
  -H "Authorization: Bearer pp_your_key"
```

## Response

```json theme={null}
{
  "asLender": [
    { "id": "uuid", "borrowerId": "...", "amount": "100.00", "status": "ACTIVE", "repayments": [...] }
  ],
  "asBorrower": [
    { "id": "uuid", "lenderId": "...", "amount": "200.00", "status": "REPAID", "repayments": [...] }
  ]
}
```
