GET可用
單一幣種的爆倉摘要
自研資料層:單一幣種的爆倉摘要
GET
/api/sd/liquidations請求
查詢參數
| 名稱 | 型別 | 必填 | 預設值 | 可用值 | 說明 |
|---|---|---|---|---|---|
| coin | string | 必填 | — | — | 幣種代號;缺少時回傳 400。別名:`base`。 範例: BTC |
請求範例
curl -s "https://www.coinboss.com/api/sd/liquidations?coin=BTC"回應欄位
欄位表由真實回應產生,因此列出的正是端點實際回傳的內容。路徑中的 a[] 代表陣列元素,{*} 代表以動態名稱(例如幣種或交易所)為鍵的物件。
| 欄位 | 型別 | 單位 | 說明 |
|---|---|---|---|
| success | boolean | — | 請求成功時為 true。失敗時回應內容為 `{ success: false, code, error, request_id }`。 |
| coin | string | — | 幣種代號,大寫(例如 BTC)。 |
| now | number | ms | 建立回應時的伺服器時間。 |
| windows | object | — | 各時間視窗的總額(鍵如 `1h`、`4h`、`12h`、`24h`)。 動態鍵: 1h,4h,12h,24h |
| windows.{*} | object | — | 各時間視窗的數值。 |
| windows.{*}.long_usd | number | USD | 多單爆倉金額;該時間視窗沒有任何來源覆蓋時為 null。 |
| windows.{*}.short_usd | number | USD | 空單爆倉金額;該時間視窗沒有任何來源覆蓋時為 null。 |
| windows.{*}.total_usd | number | USD | 多 + 空。 |
| windows.{*}.count | number | — | 爆倉單筆數。 |
| windows.{*}.long_pct | number | % | 多單佔總額的比例。 |
| windows.{*}.max_order | object | — | 該時間視窗內最大的單筆爆倉。 |
| windows.{*}.max_order.exchange | string | — | 交易所 ID,小寫(例如 `binance`)。 |
| windows.{*}.max_order.symbol | string | — | 經 CoinBoss 正規化的交易品種代號(例如 BTCUSDT)。 |
| windows.{*}.max_order.side | string | — | 被爆倉倉位的方向(`long` = 多單被爆倉)。 |
| windows.{*}.max_order.price | number | — | 以計價貨幣表示的最新價格(除非另有註明,否則為 USD 或 USDT)。 |
| windows.{*}.max_order.qty | number | — | 交易所公布的委託數量,以合約張數或幣為單位。 |
| windows.{*}.max_order.contract_multiplier | number | — | 每張合約對應的幣數,用於將 `qty` 換算為名義價值。 |
| windows.{*}.max_order.value_usd | number | USD | 該筆爆倉的名義價值:price × qty × 合約乘數。 |
| windows.{*}.max_order.timestamp | number | ms | 時間戳記。 |
| by_exchange | object | — | 各時間視窗的交易所拆分。 動態鍵: 1h,4h,12h,24h |
| by_exchange.{*} | array | — | 各交易所明細。 |
| by_exchange.{*}[] | object | — | 各交易所明細。 |
| by_exchange.{*}[].exchange | string | — | 交易所 ID,小寫(例如 `binance`)。 |
| by_exchange.{*}[].long_usd | number | USD | 多方。 |
| by_exchange.{*}[].short_usd | number | USD | 空方。 |
| by_exchange.{*}[].total_usd | number | USD | 總數。 |
| by_exchange.{*}[].count | number | — | 爆倉單筆數。 |
| by_exchange.{*}[].share_pct | number | % | 佔總額的比例。 |
| last_event_at | number | ms | 此幣種最近一次爆倉的時間。 |
| last_event_age_s | number | s | 距該事件的秒數。 |
| sources | array | — | 每個爆倉資料來源的狀態:採集方式,以及最近一次送達資料的時間。 |
| sources[] | object | — | 資料來源。 |
| sources[].exchange | string | — | 交易所 ID,小寫(例如 `binance`)。 |
| sources[].via | string | — | 採集方式(`ws`、`rest`……)。 |
| sources[].status | string | — | 依資料來源自身的事件時間與心跳判定的狀態。 |
| sources[].feed_last_event_age_s | number|null | s | 距該事件的秒數。 |
| sources[].ws_heartbeat_age_s | number|null | s | 距該事件的秒數。 |
| sources[].judged_by | string | — | 狀態是依哪個時間戳記判定的。 |
| sources[].coin_last_event_age_s | number|null | s | 距該事件的秒數。 |
| sources[].min_event_usd | number | USD | 該資料來源公布的最小訂單金額;低於此金額的爆倉在這家交易所無法得知。 |
| sources[].note | string|null | — | 備註。 |
| sources[].node_heartbeat_age_s | number | s | 距該事件的秒數。 可能不存在 |
| sources[].pipeline_last_event_age_s | number | s | 距該事件的秒數。 可能不存在 |
| coverage | object | — | 上述數字包含與不包含哪些內容。與其他來源比較總額之前,請先比對這一項。 |
| coverage.collected_exchanges | array | — | 有公開爆倉資料來源且由 CoinBoss 採集的交易所。 |
| coverage.collected_exchanges[] | string | — | 已採集的交易所。 |
| coverage.unavailable | array | — | 無法納入的交易所/合約組合,各附原因。絕不會以 0 計入。 |
| coverage.unavailable[] | object | — | 沒有資料的項目及其原因。絕不會回報為 0。 |
| coverage.unavailable[].exchange | string | — | 交易所 ID,小寫(例如 `binance`)。 |
| coverage.unavailable[].reason | string | — | 原因代碼。 |
| method | object | — | 以純文字說明此回應所用的公式。 |
| method.event | string | — | 何謂一筆爆倉事件的純文字說明:由交易所串流推送、或由其公開 REST API 回傳的一筆爆倉單。 |
| method.side | string | — | 被爆倉倉位的方向(`long` = 多單被爆倉)。 |
| method.value_usd | string | USD | 該筆爆倉的名義價值:price × qty × 合約乘數。 |
| method.dedupe | string | — | 去除重複規則的純文字說明:事件以交易所、合約代號、方向、價格、金額與時間戳記判定唯一性,交易所有提供時再加上交易所訂單 ID。 |
| method.null_rule | string | — | 純文字說明:時間視窗內沒有採集到任何事件時回傳 null 而非 0,並說明沒有公開資料來源的交易所列於何處。 |
| method.binance_note | string | — | 純文字注意事項:Binance 每個合約代號每秒最多推送一筆爆倉,因此 Binance 的總額為下限。 |
| method.min_event_usd | string | USD | 該資料來源公布的最小訂單。 |
產生於 2026-11-11 23:00 UTC,依據 4 筆真實回應。
回應範例
/api/sd/liquidations?coin=BTC · 真實回應,擷取於 2026-11-13 03:57:52 UTC。 較長的陣列與對應表已截短顯示:sources 原有 11 個項目; windows 原有 4 個項目; by_exchange 原有 4 個項目; by_exchange.{*} 原有 10 個項目; coverage.unavailable 原有 10 個項目; coverage.collected_exchanges 原有 11 個項目。
- "success"true
- "coin""BTC"
- "now"1794542272606
- "windows"
- "1h"
- "4h"
- "by_exchange"
- "1h"
- "4h"
- "last_event_at"1794542269523
- "last_event_age_s"3
- "sources"
- "coverage"
- "collected_exchanges"
- "unavailable"
- "method"
- "event""one row per liquidation order pushed by the exchange (WS) or returned by its public REST; REST used to fill WS gaps (OKX/Gate/HTX)"
- "side""LONG = a long position was liquidated (forced sell); SHORT = a short position was liquidated (forced buy)"
- "value_usd""linear: filled qty × price; inverse: contracts × contract face value (USD)"
- "dedupe""unique (exchange, symbol, side, price, value_usd, timestamp) + exchange order id hash where provided"
- "null_rule""a window with no collected event returns null (shown as —), never 0; exchanges without a public feed are listed in coverage.unavailable"
- "binance_note""Binance WS pushes at most one liquidation per symbol per second (latest only) → Binance totals are a lower bound"
- "min_event_usd""collectors keep events above a per-exchange floor (sources[].min_event_usd: OKX/Bitget/HTX/Bitfinex/Deribit ≥ $100; Gate/Hyperliquid/Lighter ≥ $1; Binance/Bybit…"
已驗證的樣本
除了上方的範例之外,探針還會以下列參數呼叫此端點,並在每次呼叫時檢查結構描述。
| 參數 | HTTP | 延遲 | 結果 |
|---|---|---|---|
| coin=ETH | 200 | 59 ms | 通過 |
| coin=SOL | 200 | 30 ms | 通過 |
| coin=ARKM | 200 | 17 ms | 通過 |
| — | 400 | 2 ms | 通過 回傳預期的錯誤 |
檢查於 2026-11-13 03:57:52 UTC
詳細資訊
- 身分驗證
- 無。公開端點。
- 速率限制
- 每個 IP 每分鐘 1200 次請求
- 伺服器快取
- 15s
- 邊緣微快取
- 10s
- 更新頻率
- 即時(交易所 WebSocket 推送);REST 輪詢:okx 每 15 s、gate 每 25 s、htx 每 5 min;hyperliquid 節點的成交批次每 5 s 匯入
- 時間視窗
- 1 h、4 h、12 h、24 h 滾動時間視窗
- 資料來源
- 爆倉單由 CoinBoss 自行採集自 11 家交易所(例如 binance、okx、bybit、gate、bitget、htx)的公開爆倉資料流;Hyperliquid 的爆倉資料來自自營 Hyperliquid 節點的成交紀錄。
- 交易所覆蓋範圍
- 11 家有採集器運作中的交易所(binance USDT-M + COIN-M、okx、bybit 正向 + 反向、gate USDT + BTC 結算、bitget、htx、hyperliquid、aster、lighter、bitfinex、deribit);僅限加密資產(代幣化股票/指數/商品/外匯合約歸入獨立的傳統金融資料集);binance 每個交易對每秒最多推送一筆爆倉,因此其總額為下限;儲存事件的最小金額:okx / bitget / htx / bitfinex / deribit / binance COIN-M 為 100 USD,gate / hyperliquid / lighter 為 1 USD,binance USDT-M / bybit / aster 無門檻
- 單位
- USD notional (price x quantity) per liquidation order; timestamps in Unix ms; side LONG = long position liquidated, SHORT = short position liquidated; max_order price normalized for multiplier contracts
- 計算方法
- per window: long_usd, short_usd, total_usd = SUM(value_usd), count; by_exchange breakdown; largest single order
- 時間戳記
- Unix epoch 毫秒(UTC),除非欄位說明另有註明
- 回應格式
- json
- 穩定性
- 穩定版
- 上線時間
- 2026-11-11
即時狀態
可用檢查於 2026-11-13 03:57:52 UTCHTTP 200853 ms結構描述相符最新資料點距今 3s
近 30 天可用率
410 次檢查中有 100% 通過
錯誤
所有端點的失敗回應都採用同一種結構。完整清單請見錯誤頁面。 錯誤與速率限制 →
| 錯誤碼 | HTTP | 意義 | 處理方式 |
|---|---|---|---|
| INVALID_PARAM | 400 | 缺少必填參數,或某個值不被接受。已知時,`param` 會指出是哪個參數。 | 請勿原樣重試;請修正請求。 |
| UNAUTHORIZED | 401 | 已送出 `CB-API-KEY` 標頭,但金鑰未知或已撤銷。公開資料不需要金鑰——請移除該標頭或改用有效的金鑰。 | 請勿原樣重試。 |
| FORBIDDEN | 403 | 此路由不屬於公開 API(內部或僅限帳戶使用)。 | 請勿重試。 |
| NOT_FOUND | 404 | 未知的路由,或所請求的幣種/交易所/基金不存在。 | 請勿重試;請對照目錄檢查路徑與識別碼。 |
| RATE_LIMITED | 429 | 請求數超過每分鐘上限。`Retry-After` 會指出需等待的秒數。 | 等待 `Retry-After` 指定的時間後,再以退避策略重試。 |
| INTERNAL | 500 | 非預期的伺服器錯誤。訊息刻意保持籠統;回報時請附上 `request_id`。 | 幾秒後重試一次;若問題持續,請附上請求 ID 回報。 |
| UPSTREAM_FAILED | 503 | 此端點背後的資料來源未及時回應。不會以過期或替代的數字代替回傳。 | 以退避策略重試;並查看狀態頁面。 |
| UNAVAILABLE | 501 / 503 | 資料集暫時尚未就緒(快取預熱中),或此端點目前尚無合法的公開來源。 | 稍後重試;目錄會標示出設計上即無法使用的端點。 |
| REQUEST_FAILED | 200 | 部分舊版端點會以 HTTP 200 回應但帶有 `success: false`。請務必檢查 `success`,而不只是 HTTP 狀態碼。 | 視訊息而定;請當作失敗的請求處理。 |
試用
GET
/api/sd/liquidations可用參數
string — Coin symbol; 400 when missing. Alias: `base`.
請求 URL
https://www.coinboss.com/api/sd/liquidations?coin=BTC選擇一個端點並按下「送出請求」。回應內容、標頭與耗時會顯示在這裡。
此分類的其他端點
- 單一幣種的爆倉摘要 /api/sd/liquidations
- 最大爆倉日(Top 10) /api/liquidation-events
- 逐筆爆倉紀錄(24h) /api/liquidations
- 所有有爆倉紀錄的幣種 /api/liquidations/all-coins
- 單一合約代號的 24h 爆倉時間序列 /api/liquidations/chart
- 單一幣種的各交易所爆倉拆分 /api/liquidations/coin-exchanges
- 單一幣種的最大爆倉單 /api/liquidations/coin-largest
- 時間視窗內有爆倉的幣種 /api/liquidations/coin-list
- 單一幣種的多時間視窗爆倉總額 /api/liquidations/coin-overview
- 單一幣種的價格線疊加爆倉柱 /api/liquidations/coin-price-liq
- 單一幣種的爆倉統計 /api/liquidations/coin-stats
- 單一幣種的爆倉時間序列 /api/liquidations/coin-total-chart
- 依幣種彙總的爆倉排行榜 /api/liquidations/coins
- 各幣種爆倉表 /api/liquidations/coins-table
- 單一交易所的爆倉明細 /api/liquidations/exchange-detail
- 各交易所爆倉名義價值與佔比 /api/liquidations/exchanges
- 全市場爆倉資料流 /api/liquidations/feed
- 全市場最大爆倉單 /api/liquidations/largest
- 全市場爆倉總額(1h / 4h / 12h / 24h) /api/liquidations/overview
- 依交易所、合約與方向的 24h 爆倉統計 /api/liquidations/stats
- 全市場爆倉時間序列 /api/liquidations/total-chart
- 各幣種爆倉排行 /api/market/liq-rank
- 大額爆倉即時串流 /api/market/liq-stream