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

# Owner API

> 获取每个钱包的持仓、余额和可领取的奖励

<Info>
  **本页内容由 AI 自动翻译，所有内容以英文版本为准。**

  [查看英文版 →](/api-reference/owner-api-v1/overview)
</Info>

Owner API 提供 Raydium 持仓和余额的单钱包视图。它获取经过缓存的持仓、锁仓流动性、创建的资金池和 IDO 参与数据，非常适合钱包 UI 和投资组合仪表板使用。

## 服务器

| 环境  | 地址                           |
| --- | ---------------------------- |
| 主网  | `owner-v1.raydium.io`        |
| 开发网 | `owner-v1-devnet.raydium.io` |

## 概览

API 公开五个主要端点，按资源类型组织：

* **`/position/stake/{owner}`** — 质押持仓（标准 AMM / CPMM LP）
* **`/position/clmm-lock/{owner}`** — 锁定的 CLMM 持仓
* **`/create-pool/{owner}`** — 该钱包创建的资金池
* **`/main/ido/{owner}`** — IDO 参与数据

## 数据新鲜度

此服务缓存持仓数据并定期更新。最近的持仓变化（几秒内）可能不会立即出现在响应中。

## 常见模式

### 获取钱包的所有质押持仓

```bash theme={null}
curl -s "https://owner-v1.raydium.io/position/stake/{owner}"
```

将 `{owner}` 替换为钱包的公钥（base58 格式）。

### 获取锁定的持仓

```bash theme={null}
curl -s "https://owner-v1.raydium.io/position/clmm-lock/{owner}"
```

### 检查 IDO 参与情况

```bash theme={null}
curl -s "https://owner-v1.raydium.io/main/ido/{owner}"
```

## 空结果

如果钱包在特定端点没有数据，服务会返回 404 错误和请求元数据：

```json theme={null}
{
  "id": "...",
  "success": false
}
```

## 相关文档

查看 [CLMM](/zh/products/clmm) 和 [CPMM](/zh/products/cpmm) 了解持仓账户结构和术语。
