# List mode categories

Endpoint reference for the 1delta API. Index: https://docs.1delta.io/llms.txt · every endpoint: https://docs.1delta.io/llms-full.txt

---

### GET /v1/data/lending/mode

- operationId: `list-mode-categories`
- docs: https://docs.1delta.io/1delta-api/list-mode-categories/
- markdown: https://docs.1delta.io/1delta-api/list-mode-categories.md
- tags: Lending (Data)

List mode categories

Return the available risk-category ("mode") entries for the requested lenders and chains.

Each entry contains the lender key, chain ID, and a list of mode categories (id + label) under the `eModes` field.

The "mode" terminology is the protocol-agnostic generalization of Aave V3's "e-mode" (efficiency mode); other lenders expose analogous category mechanisms.

Results are cached server-side (1 hour TTL) because mode categories rarely change.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lenders` | query | string[] | yes | Protocol identifiers (repeatable) See the `LenderId` schema for the full set of accepted values. |
| `chains` | query | string[] | yes | Chain IDs (repeatable) |

**Response `200`** — Mode categories per lender/chain

| Field | Type | Description |
| --- | --- | --- |
| `success` | true |  |
| `data` | object | Informational payload. `null` when the endpoint only builds calldata. |
| `actions` | null |  |

**Example response**

```json
{
  "success": true,
  "data": {}
}
```

**Response `400`** — Validation error

**Response `429`** — Rate limited. Unauthenticated callers share a per-IP budget; send an `x-api-key` header to lift it. Retry with exponential backoff.

**Response `500`** — Unexpected server error. Safe to retry with backoff.

**Response `502`** — An upstream data source or protocol origin failed (`error.code` is `ORIGIN_FAILED`). `error.details` carries the per-origin status. This is also what a missing or malformed required parameter currently returns, rather than a 400.
