> For the complete documentation index, see [llms.txt](https://docs.bsc.lista.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bsc.lista.org/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api.md).

# Moolah Lending API

**Moolah lending protocol API** 的技术参考文档，供 Lista Lending 使用。该 API 为客户端应用程序和集成商提供协议级别、金库、市场、头寸、清算和发放数据。

**基本 URL：** 大多数路径在 `/api/moolah` 下使用 `GET`/`POST`；清算和聚合头寸数据位于 `/api/liquidation` 和 `/api/v2` 下 — 参见 [Conventions](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/conventions.md)。

***

## 目录

| 页面                                                                                           | 描述                                    |
| -------------------------------------------------------------------------------------------- | ------------------------------------- |
| [API 约定](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/conventions.md)                     | 基本 URL、响应封装、链选择器、分页、签名保护的端点、缓存        |
| [总体](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/overall.md)                             | 协议级别快照                                |
| [金库](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/vault.md)                               | 金库列表、详情、存款/APY 历史、分配                  |
| [市场](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/market.md)                              | 市场列表、详情、按市场划分的金库、借款利率历史、allMarkets、搜索 |
| [头寸、清算、发放](/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api/position-liquidation-emission.md) | 用户头寸、清算、奖励、CDP                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bsc.lista.org/zh-cn/kai-fa-zhe-zhuan-qu/services/lending-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
