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

# 倉位

> positions 工具：你的 DeFi 倉位、未平倉的永續合約和預測市場份額。

`positions` · 讀取 · `GET /v1/positions`

你的 DeFi 倉位（借貸、流動性、質押、金庫）、未平倉的永續合約和預測市場份額。

## 試著問

* 「顯示我未平倉的永續合約。」
* 「我在 Aave 的健康因子是多少？」
* 「我有哪些 Polymarket 倉位？」

## 輸入

全部都是選填。

| 輸入 | 類型 | 預設值 | 作用 |
| - | - | - | - |
| `kind` | `defi`、`perps`、`predictions` 或 `all` | `all` | 哪些倉位 |
| `account` | 字串 | 所有帳戶 | 依名稱指定一個帳戶 |
| `protocol` | 字串 | 所有協議 | 一個協議或交易場所（`Aave`、`Hyperliquid`、`Polymarket`…） |

## 傳回內容

| 欄位 | 內容 |
| - | - |
| `defi` | 每個 DeFi 倉位：協議、類型、鏈、帳戶、扣除債務後的價值、APY、供應和借入的代幣、健康因子，以及尚未領取的獎勵 |
| `perps` | 每個未平倉的永續合約：市場、方向、交易場所、數量、開倉價、標記價和清算價、槓桿、名目價值、未實現損益，以及距離清算的幅度 |
| `predictions` | 每個預測市場倉位：交易場所、市場、持有的結果、份額、平均價格和目前價格、價值、損益、何時結算，以及是否已獲勝並等待領取 |
| `more` | 每一類有多少筆未列出：每一類最多列出 40 筆 |

它也會傳回 `read_at`、`refreshing` 和 `currency`。在支援 MCP Apps 的 AI 應用程式中，這些倉位也會顯示在唯讀的[資產組合卡片](https://docs.burokku.app/zh-Hant/ai-apps/overview.md)上。

## 讀取或寫入

它只會讀取，不會變更你帳戶中的任何內容，也絕不會開倉、平倉或領取任何倉位。

## 透過 REST API

同樣的操作是 `GET /v1/positions`，輸入以查詢參數傳送。請參閱 [API 參考](https://docs.burokku.app/zh-Hant/api-reference/introduction.md)和 [MCP 伺服器](https://docs.burokku.app/zh-Hant/developers/mcp.md#positions)。


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