---
updatedAt: 2026-10-29T07:00:11.000Z
agentTools:
  projectIndex: https://docs.coinglass.com/v4.0-zhtw/llms.txt
---

# XRP ETF 流入流出歷史

獲取 XRP ETF 每日的資金淨流入、淨流出（美元），以及按 ETF 代碼（如 XRPC、GXRP）拆分的明細和當日 XRP 價格。適合跟蹤 XRP ETF 的資金動向。

<DesignTheme />

以下 API 等級均可調用本接口：<PlanBadge plan="Hobbyist" /> <PlanBadge plan="Startup" /> <PlanBadge plan="Standard" /> <PlanBadge plan="Professional" /> <PlanBadge plan="Enterprise" />

<ApiParamsSlot />

## 響應數據

`data` 為陣列，每個元素是一天，按日期從早到晚排列；截至 2026-10-20 共 234 條，從 2025-11-14 開始。`flow_usd` 是當天所有 ETF 合計的淨流量，`etf_flows` 按 ETF 代碼列出明細（每天 5 只，例如 `XRPC`、`XRPZ`、`XRP`、`GXRP`）。金額都是美元原值，例如 `243050000` 表示 2.4305 億美元。數據按日期組織，隨 ETF 披露刷新，當天的數據之後可能還會修訂；某一天是否有記錄以實際返回為準，返回中也有週末日期（例如 2026-01-03），不要假設只有交易日才有記錄。

> 📘 日期與時區
>
> `timestamp` 是 00:00 UTC 的毫秒時間戳，例如 `1763078400000` 是 2025-11-14；每條是一天的數據，不代表當天 00:00 這個時刻。換算成北京時間是當天 08:00，日期不變；換算成美東時間會落到前一天晚上。按日期展示時請直接取 UTC 日期，不要自行加減一天。

`200` · application/json · 響應範例見右側面板。

| 欄位                              | 類型              | 必返 | 說明                                                    |
| :------------------------------ | :-------------- | :- | :---------------------------------------------------- |
| `code`                          | string          | 是  | 業務狀態碼，`"0"` 表示成功                                      |
| `msg`                           | string          | 否  | 結果說明                                                  |
| `data`                          | array of object | 是  | 每日資金流，每個元素是一天，按日期從早到晚排列                               |
| `data[].timestamp`              | integer（int64）  | 是  | 日期，毫秒時間戳，取該日 00:00 UTC                                |
| `data[].flow_usd`               | number          | 是  | 當日所有 ETF 合計的淨流量，單位美元；正數為淨流入，負數為淨流出                    |
| `data[].price_usd`              | number          | 是  | 當日 XRP 的價格，單位美元；是幣價，不是 ETF 份額的價格                      |
| `data[].etf_flows`              | array of object | 是  | 按 ETF 列出的當日淨流量                                        |
| `data[].etf_flows[].etf_ticker` | string          | 是  | ETF 代碼，例如 `XRPC`、`GXRP`                               |
| `data[].etf_flows[].flow_usd`   | number          | 否  | 該 ETF 當日的淨流量，單位美元；正數為流入，負數為流出。部分 ETF 當天不返回本欄位，見下方常見問題 |

## API 等級

**所有 API 等級都可以調用本接口**。各等級價格見 [API 等級](https://www.coinglass.com/zh-TW/pricing)。

| API 等級 | 能否調用 |
| :----- | :--- |
| 業餘     | ✅ 可以 |
| 創業     | ✅ 可以 |
| 標準     | ✅ 可以 |
| 專業     | ✅ 可以 |
| 企業     | ✅ 可以 |

## 用 AI 調用本接口

選一個任務，點「在 ChatGPT 中開啟」或「在 Claude 中開啟」，AI 會先讀取本頁說明，再直接給出結果；也可以點「複製」，把完整提示詞貼上到你常用的 AI 工具裡。

<AskAi
  prompts={[
    { label: "統計每週淨流入", desc: "讓 AI 寫一個 Python 函式，把 XRP ETF 每日淨流量按週彙總。", text: "請閱讀 https://docs.coinglass.com/v4.0-zhtw/reference/xrp-etf-flows-history.md ，用 Python 寫一個函式：獲取 XRP ETF 每日資金流，把 timestamp 按 UTC 轉成日期，按週彙總 flow_usd（單位美元，換算成百萬美元顯示），同時給出全部返回區間的累計淨流入，返回 pandas DataFrame。API Key 從環境變數 COINGLASS_API_KEY 讀取。" },
    { label: "做大額流入提醒", desc: "讓 AI 寫一個腳本，單日淨流入或淨流出超過閾值時提醒。", text: "請閱讀 https://docs.coinglass.com/v4.0-zhtw/reference/xrp-etf-flows-history.md ，用 Python 寫一個腳本：每天獲取一次 XRP ETF 資金流，取最新一條記錄，當 flow_usd 的絕對值超過 5000 萬美元（50000000）時打印提醒，並列出當天各檔 ETF 的 flow_usd（沒有該欄位的 ETF 標為無數據，不要當作 0）。API Key 從環境變數 COINGLASS_API_KEY 讀取。" },
    { label: "看懂這個接口", desc: "讓 AI 用白話解釋返回欄位、金額單位和日期。", text: "請閱讀 https://docs.coinglass.com/v4.0-zhtw/reference/xrp-etf-flows-history.md ，用通俗的話告訴我：這個接口返回什麼數據、每個欄位是什麼意思，flow_usd 的正負和單位怎麼理解，timestamp 對應哪一天，以及 etf_ticker 為 XRP 時代表什麼。" },
  ]}
/>

本接口透過 REST API 提供數據，可使用上方提示詞讓 AI 編寫調用代碼。MCP 可調用的工具見 [CoinGlass MCP](https://docs.coinglass.com/v4.0-zhtw/reference/mcp-service)。

## 應用場景

<ChoiceCards columns={2}>

| 場景 | 說明 |
| :-- | :-- |
| 跟蹤資金動向 | 每日淨流入、淨流出反映透過 ETF 進出 XRP 的資金方向。 |
| 比較各檔 ETF | 用 `etf_flows` 對比 XRPC、XRPZ、XRP、GXRP 等產品的資金流。 |
| 資金流與價格對照 | 同一條記錄裡有當日 XRP 價格，可直接畫出資金流和價格的疊加圖。 |
| 跨幣種對比 | 與[以太坊 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/ethereum-etf-flows-history)等接口欄位相同，可以放在一起比較不同幣種 ETF 的資金熱度。 |

</ChoiceCards>

## 相關接口

| 接口                                                                                          | 區別                   |
| :------------------------------------------------------------------------------------------ | :------------------- |
| [比特幣 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/etf-flows-history)          | 比特幣 ETF 的每日資金流，欄位相同  |
| [以太坊 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/ethereum-etf-flows-history) | 以太坊 ETF 的每日資金流，欄位相同  |
| [索拉納 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/solana-etf-flows-history)   | SOL ETF 的每日資金流，欄位相同  |
| [HYPE ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/hype-etf-flows-history)    | HYPE ETF 的每日資金流，欄位相同 |

## 常見問題

<Accordion title="etf_ticker 為 XRP 是指幣種嗎？" icon="fa-circle-question">
  不是。`etf_ticker` 都是 ETF 的交易代碼，`XRP` 是一檔與幣種同名的 ETF 的代碼。當日 XRP 幣價請看 `price_usd`。
</Accordion>

<Accordion title="為什麼有的 ETF 沒有 flow_usd？" icon="fa-circle-question">
  部分 ETF 當天只返回 `etf_ticker`，例如範例中的 `XRPZ`。缺少欄位和返回 `0` 含義不同：`0` 是當天淨流量為零；沒有 `flow_usd` 欄位時，請按「無數據」處理，不要當作 0。
</Accordion>

<Accordion title="flow_usd 的單位是什麼？" icon="fa-circle-question">
  美元原值，不是百萬美元。例如 `243050000` 表示 2.4305 億美元。正數為淨流入，負數為淨流出。
</Accordion>

<Accordion title="price_usd 是 ETF 的價格嗎？" icon="fa-circle-question">
  不是。`price_usd` 是當日 XRP 的價格（美元），例如 `2.3212`，不是 ETF 份額的價格。
</Accordion>

## 深入了解：XRP ETF 資金流

### 什麼是 XRP ETF？

XRP ETF 是以 XRP 為標的、在證券交易所上市交易的基金。投資者買賣基金份額即可獲得 XRP 的價格敞口，不需要自己保管 XRP。

### 怎麼看 XRP ETF 的資金流？

淨流入說明當天申購多於贖回，淨流出則相反。單日數值波動較大，看趨勢時建議按週或按月彙總 `flow_usd`。

### 還能查詢哪些幣種的 ETF 資金流？

比特幣見「[比特幣 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/etf-flows-history)」、以太坊見「[以太坊 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/ethereum-etf-flows-history)」、SOL見「[索拉納 ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/solana-etf-flows-history)」、HYPE見「[HYPE ETF 流入流出歷史](https://docs.coinglass.com/v4.0-zhtw/reference/hype-etf-flows-history)」，返回欄位與本接口相同。

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "CoinGlass API",
    "version": "4.0.0"
  },
  "servers": [
    {
      "url": "https://open-api-v4.coinglass.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "CG-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/etf/xrp/flow-history": {
      "get": {
        "summary": "XRP ETF流入流出歷史",
        "description": "該接口提供交易所交易基金（ETF）的XRP流入流出歷史數據。",
        "operationId": "get_apietfsolanaflow-history-1",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "code": "0",
                      "data": [
                        {
                          "timestamp": 1763078400000,
                          "flow_usd": 243050000,
                          "price_usd": 2.3212,
                          "etf_flows": [
                            {
                              "etf_ticker": "XRPC",
                              "flow_usd": 243050000
                            },
                            {
                              "etf_ticker": "XRPZ"
                            }
                          ]
                        },
                        {
                          "timestamp": 1763337600000,
                          "flow_usd": 25410000,
                          "price_usd": 2.2137,
                          "etf_flows": [
                            {
                              "etf_ticker": "XRPC",
                              "flow_usd": 25410000
                            },
                            {
                              "etf_ticker": "XRPZ"
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "業務狀態碼，\"0\" 表示成功",
                      "example": "0"
                    },
                    "msg": {
                      "type": "string",
                      "description": "結果說明",
                      "example": "success"
                    },
                    "data": {
                      "type": "array",
                      "description": "每日資金流，每個元素是一天，按日期從早到晚排列",
                      "items": {
                        "type": "object",
                        "properties": {
                          "timestamp": {
                            "type": "integer",
                            "description": "日期，毫秒時間戳，取該日 00:00 UTC",
                            "format": "int64"
                          },
                          "flow_usd": {
                            "type": "number",
                            "description": "當日所有 ETF 合計的淨流量，單位美元；正數為淨流入，負數為淨流出"
                          },
                          "price_usd": {
                            "type": "number",
                            "description": "當日 XRP 的價格，單位美元；是幣價，不是 ETF 份額的價格"
                          },
                          "etf_flows": {
                            "type": "array",
                            "description": "按 ETF 列出的當日淨流量",
                            "items": {
                              "type": "object",
                              "properties": {
                                "etf_ticker": {
                                  "type": "string",
                                  "description": "ETF 代碼，例如 XRPC、GXRP"
                                },
                                "flow_usd": {
                                  "type": "number",
                                  "description": "該 ETF 當日的淨流量，單位美元；正數為流入，負數為流出。部分 ETF 當天不返回本欄位，見下方常見問題"
                                }
                              },
                              "required": [
                                "etf_ticker"
                              ]
                            }
                          }
                        },
                        "required": [
                          "timestamp",
                          "flow_usd",
                          "price_usd",
                          "etf_flows"
                        ]
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```