/api/sd/etf/history
GET部分可用PARTIAL

現貨 ETF 歷史

單一資產(已覆蓋基金加總)或單一基金的持有量、淨資產或淨流量日線序列。每個資料點都會註明包含多少檔基金。

GET/api/sd/etf/history
部分覆蓋. 部分覆蓋:數家大型發行商並未提供可由伺服器採集的公開機器可讀揭露資料。其基金會列為未提供,合計值僅涵蓋其餘基金。與其他來源比較合計值之前,請先比對 `funds_covered` / `funds_total`。

請求

查詢參數

名稱型別必填預設值可用值說明
assetstring必填—BTC, ETH, SOL, HYPE標的資產,不分大小寫。也接受 `coin` 作為別名。 範例: BTC
metricstring必填—holdings, aum, flow要回傳的序列:持有量(幣)、淨資產(USD)或淨流量(USD)。 範例: flow
rangestring選填30d30d, 90d, all回溯範圍。
tickerstring選填——該資產已登錄的基金代號(例如 `ARKB`)。預設:所有已涵蓋基金的加總。未登錄的代號回傳 404;已登錄但無法採集的基金回傳 200,且 `series: null`。

請求範例

curl -s "https://www.coinboss.com/api/sd/etf/history?asset=BTC&metric=flow"

回應欄位

欄位表由真實回應產生,因此列出的正是端點實際回傳的內容。路徑中的 a[] 代表陣列元素,{*} 代表以動態名稱(例如幣種或交易所)為鍵的物件。

欄位型別單位說明
successboolean—請求成功時為 true。失敗時回應內容為 `{ success: false, code, error, request_id }`。
schemastring—此回應的結構描述 ID。只有在既有欄位的意義或型別改變時才會變更。
nownumberms建立回應時的伺服器時間。
assetstring—標的資產。
metricstring—由 `metric` 參數選定的序列。
rangestring—實際套用的回溯範圍。
tickerstring|null—基金代號。
unitstring—序列數值的單位:`coin` 或 `USD`。
funds_totalnumber—該資產已登錄的基金數。
funds_in_seriesarray—計入該序列的基金。
funds_in_series[]string—計入該序列的基金。
first_date_by_fundobject—各基金最早可用的日期(鍵為基金代號)。 動態鍵: ARKB,EZBC
first_date_by_fund.{*}string—各基金最早可用的日期(鍵為基金代號)。
pointsnumber—序列資料點,由舊到新排列。
seriesarray—每日資料點,由舊到新排列;基金無法採集時為 `null`。
series[]object—每日資料點,由舊到新排列;基金無法採集時為 `null`。
series[].datestring—該資料點的發行商資料基準日。
series[].valuenumber—所選指標的數值,為該日有資料的基金加總。
series[].fundsnumber—每檔已登錄的基金一列,包含無法採集的基金。 可能不存在
coverageobject—數字中納入與未納入的內容。與其他來源比較合計值之前,請先比對這一項。
coverage.included_exchangesarray—新鮮資料已被納入的來源。
coverage.included_exchanges[]string—新鮮資料已被納入的來源。
coverage.unavailablearray—無法納入的來源,各附原因。它們絕不會以 0 計入。
coverage.unavailable[]object—無法納入的來源,各附原因。它們絕不會以 0 計入。
coverage.unavailable[].exchangestring—交易所 ID(小寫)。
coverage.unavailable[].issuerstring—基金發行商 ID。
coverage.unavailable[].reasonstring—機器可讀的原因代碼。
coverage.unavailable[].detailstring—供人閱讀的原因說明。
coverage.stale_excludedarray—因最近一次更新超出新鮮視窗而被排除的資料列。 在產生此表所用的樣本中為空
methodobject—此回應所用公式的純文字說明,每個欄位一項。
method.valuestring—`value` 的公式說明,純文字。
method.fundsstring—`funds` 的公式說明,純文字。
method.multi_daystring—`multi_day` 的公式說明,純文字。
method.history_startstring—`history_start` 的公式說明,純文字。
metaobject—此回應的資料歷程與新鮮度。
meta.schemastring—此回應的結構描述 ID。只有在既有欄位的意義或型別改變時才會變更。
meta.sourcearray—資料採集所用的上游公開端點。
meta.source[]object—資料採集所用的上游公開端點。
meta.source[].exchangestring—交易所 ID(小寫)。
meta.source[].endpointstring—採集器讀取的來源公開端點(僅供說明資料歷程;用戶端不會直接呼叫它)。
meta.observed_atnumberms來源為該資料提供的時間戳記。
meta.received_atnumbermsCoinBoss 採集器收到資料的時間。
meta.fetched_atnumberms此回應組裝完成的時間。
meta.windowstring—數字涵蓋的時間視窗。
meta.qualitystring—FRESH、PARTIAL、STALE、BROKEN 或 UNAVAILABLE,依資料時間戳記與覆蓋範圍判定。
meta.is_staleboolean—資料已超出其新鮮視窗時為 true。
meta.cache_ttl_snumbers此回應的快取存活時間。
meta.fallbackstring—採集器或來源發生故障時,此端點回傳的內容。

產生於 2026-11-11 23:00 UTC,依據 3 筆真實回應。

回應範例

/api/sd/etf/history?asset=BTC&metric=flow · 真實回應,擷取於 2026-11-13 04:02:51 UTC。 較長的陣列與對應表已截短顯示:series 原有 21 個項目; meta.source 原有 5 個項目; first_date_by_fund 原有 5 個項目; coverage.unavailable 原有 7 個項目。

  • {
    • "success": true,
    • "schema": "coinboss.sd.etf/1",
    • "now": 1794542297946,
    • "asset": "BTC",
    • "metric": "flow",
    • "range": "30d",
    • "ticker": null,
    • "unit": "USD",
    • "funds_total": 12,
    • "funds_in_series": [
      • "ARKB",
      • "BITB",
      • "BTCO",
      • "EZBC",
      • "HODL"
      ],
    • "first_date_by_fund": {
      • "ARKB": "2026-10-14",
      • "BITB": "2026-11-11"
      },
    • "points": 21,
    • "series": [
      • { … 3 },
      • { … 3 }
      ],
    • "coverage": {
      • "included_exchanges": [ … 5 ],
      • "unavailable": [ … 2 ],
      • "stale_excluded": []
      },
    • "method": {
      • "value": "own method, per fund between two consecutive issuer as-of rows: shares_x_nav = (shares_out[t] - shares_out[t-1]) x NAV[t], dated t; aum_nav_ratio_t1 (issuer pub…",
      • "funds": "number of funds contributing to that date; the aggregate is only comparable across dates with the same contributing funds (history starts on different dates per…",
      • "multi_day": "true when a contributing flow spans more than one trading day because the issuer history has no row for the day(s) in between",
      • "history_start": "issuer-provided official history is back-filled where it exists (21Shares valuation history, Franklin price history); other issuers start on the first collectio…"
      },
    • "meta": {
      • "schema": "coinboss.sd.etf/1",
      • "source": [ … 2 ],
      • "observed_at": 1794441600000,
      • "received_at": 1794537318126,
      • "fetched_at": 1794542297946,
      • "window": "30d",
      • "quality": "PARTIAL",
      • "is_stale": false,
      • "cache_ttl_s": 300,
      • "fallback": "collector failure keeps the last issuer row with its real as_of_date; a fund whose as_of_date is more than 1 trading day behind the expected as-of is flagged is…"
      }
    }

已驗證的樣本

除了上方的範例之外,探針還會以下列參數呼叫此端點,並在每次呼叫時檢查結構描述。

參數HTTP延遲結果
asset=ETH&range=90d&metric=aum2005 ms通過 PARTIAL
asset=BTC&metric=holdings&ticker=ARKB2004 ms通過 FRESH
asset=BTC4001 ms通過 回傳預期的錯誤

檢查於 2026-11-13 03:58:17 UTC

詳細資訊

身分驗證
無。公開端點。
速率限制
每個 IP 每分鐘 1200 次請求
伺服器快取
5m
邊緣微快取
10s
更新頻率
採集器每天執行三輪(02:35、10:35、16:35 UTC)。發行商在每個美國交易日公布一次,通常在交易日當天傍晚。
時間視窗
30d / 90d / all,每個發行商資料基準日一個資料點。
資料來源
基金發行商自行公布的每日揭露資料(持有量、淨資產、流通份額、NAV),由 CoinBoss 採集並儲存(sd_etf_fund_daily)。淨流量由 CoinBoss 依這些揭露資料計算。
交易所覆蓋範圍
僅涵蓋發行商有公布機器可讀每日資料的基金。`funds_total` 與 `funds_covered` 說明其數量;每一檔未涵蓋的基金都會列於 `coverage.unavailable`,並附原因。合計值僅為已涵蓋基金的加總(`totals_scope = "covered_funds_only"`),並非整個市場。
分頁
不分頁;資料點數量由 `range` 決定。
排序
日期升冪。
單位
Amounts in USD; holdings in units of the underlying coin; NAV and market price in USD per share; `premium_pct` and `fee_pct` in percent.
計算方法
A point sums the funds that have a row on that date; `funds` is that count. Points with different `funds` are not directly comparable. Flow is bucketed by its booking date.
時間戳記
Unix epoch 毫秒(UTC),除非欄位說明另有註明
回應格式
json
穩定性
穩定版
上線時間
2026-11-11

即時狀態

部分可用檢查於 2026-11-13 04:02:51 UTCHTTP 2001 ms結構描述相符最新資料點距今 88m

端點回報的資料品質為 PARTIAL — 部分覆蓋:數家大型發行商並未提供可由伺服器採集的公開機器可讀揭露資料。其基金會列為未提供,合計值僅涵蓋其餘基金。與其他來源比較合計值之前,請先比對 `funds_covered` / `funds_total`。

近 30 天可用率

408 次檢查中有 100% 通過

錯誤

所有端點的失敗回應都採用同一種結構。完整清單請見錯誤頁面。 錯誤與速率限制 →

錯誤碼HTTP意義處理方式
INVALID_PARAM400缺少必填參數,或某個值不被接受。已知時,`param` 會指出是哪個參數。請勿原樣重試;請修正請求。
UNAUTHORIZED401已送出 `CB-API-KEY` 標頭,但金鑰未知或已撤銷。公開資料不需要金鑰——請移除該標頭或改用有效的金鑰。請勿原樣重試。
FORBIDDEN403此路由不屬於公開 API(內部或僅限帳戶使用)。請勿重試。
NOT_FOUND404未知的路由,或所請求的幣種/交易所/基金不存在。請勿重試;請對照目錄檢查路徑與識別碼。
RATE_LIMITED429請求數超過每分鐘上限。`Retry-After` 會指出需等待的秒數。等待 `Retry-After` 指定的時間後,再以退避策略重試。
INTERNAL500非預期的伺服器錯誤。訊息刻意保持籠統;回報時請附上 `request_id`。幾秒後重試一次;若問題持續,請附上請求 ID 回報。
UPSTREAM_FAILED503此端點背後的資料來源未及時回應。不會以過期或替代的數字代替回傳。以退避策略重試;並查看狀態頁面。
UNAVAILABLE501 / 503資料集暫時尚未就緒(快取預熱中),或此端點目前尚無合法的公開來源。稍後重試;目錄會標示出設計上即無法使用的端點。
REQUEST_FAILED200部分舊版端點會以 HTTP 200 回應但帶有 `success: false`。請務必檢查 `success`,而不只是 HTTP 狀態碼。視訊息而定;請當作失敗的請求處理。

試用

GET/api/sd/etf/history部分可用
參數

string — Underlying asset, case-insensitive. `coin` is accepted as an alias.

string — Series to return: holdings (coin), net assets (USD) or net flow (USD).

string · 預設 30d — Look-back range.

string — Fund ticker registered for the asset (for example `ARKB`). Default: all covered funds summed. An unregistered ticker returns 404; a registered fund that cannot be collected returns 200 with `series: null`.

請求 URLhttps://www.coinboss.com/api/sd/etf/history?asset=BTC&metric=flow
選擇一個端點並按下「送出請求」。回應內容、標頭與耗時會顯示在這裡。