/api/currency/ex-table
GET可用

幣種頁交易所表格

幣種頁交易所表格(各交易所的價格、成交量、OI、資金費率;現貨或合約)

GET/api/currency/ex-table

請求

查詢參數

名稱型別必填預設值可用值說明
coinstring必填——基礎幣種代號(大寫,例如 BTC)。 範例: BTC
marketstring選填futuresfutures, spot, perpetual, delivery, all`futures` (default) and `spot` return one row per exchange (`futures` one row per contract with `group=pair`). `perpetual`, `delivery` and `all` always return one row per market: perpetual contracts only, dated futures only, or every spot, perpetual and delivery market of the coin in one list. Any other value is treated as `futures`. 範例: futures
groupstring選填—pair`pair` returns one row per contract instead of one row per exchange. Each row then carries `status`, `status_reason`, `market_type`, `expiry_ts`, `expiry_date`, `native_symbol`, `quote`, `margin_type`, `price_source`, `price_at` and `rank`, and the response adds a `meta` object. Rows whose `status` is not `active` (no live quote, no feed, expired) carry no price.

請求範例

curl -s "https://www.coinboss.com/api/currency/ex-table?coin=BTC&market=futures"

回應欄位

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

欄位型別單位說明
successboolean—請求成功時為 true。失敗時回應內容為 `{ success: false, code, error, request_id }`。
coinstring—幣種代號,大寫(例如 BTC)。
marketstring—市場。
dataarray—回應主體資料。
data[]object—回應主體資料。
data[].exchangestring—交易所 ID,小寫(例如 `binance`)。
data[].namestring—名稱。
data[].pairstring|null—Exchange symbol of the row's contract: the highest-volume contract of the exchange, or the exact contract with `group=pair` (the symbol as CoinBoss normalises it; the name used by the exchange is `native_symbol`); null when the exchange has open interest but no ticker.
data[].pricenumber|null—以計價貨幣表示的最新價格(除非另有註明,否則為 USD 或 USDT)。
data[].change_pctnumber|null%漲跌幅(百分比)。
data[].volume_usdnumber|nullUSD成交量,以 USD 名義價值計。
data[].oi_usdnumber|nullUSD持倉量,以 USD 名義價值計。
data[].ls_rationumber|null—多空比。
data[].liq_longnumber|null—多單爆倉金額。
data[].liq_shortnumber|null—空單爆倉金額。
data[].fundingnumber|null—資金費率區塊或數值。
data[].funding_interval_hnumber|nullh資金費率結算週期。 可能不存在
data[].funding_8hnumber|nullfraction歸一為 8 小時週期的 `funding`:費率 × 8 ÷ `funding_interval_h`(0.0001 = 0.01 %);結算週期不明時為 null。 可能不存在
data[].next_funding_timenumber|nullms時間戳記。 可能不存在
data[].multipliernumberx合約一個報價單位所代表的幣數(1000PEPE 這類合約為 1000,其餘為 1)。 可能不存在
data[].vol_change_pctnumber|null%該交易所 24h 成交量相對於 23–25 小時前小時快照的變化;沒有快照或非主力合約的資料列為 null。
data[].oi_change_pctnumber|null%該交易所持倉量相對於同一批合約最接近 24 小時前(±1 h)之小時快照的變化;沒有基準時為 null。
data[].oi_vol_change_pctnumber|null%「持倉量 ÷ 24h 成交量」比值相對於 24 小時前同一比值的變化。
data[].price_rawnumber|nullUSD交易所對該合約的原始報價最新價,尚未除以 `multiplier`;`multiplier` 為 1 時等於 `price`。 可能不存在
data[].liquidity_usdnumber|nullUSD此交易所距中間價 ±1 % 範圍內買盤加賣盤的訂單簿名義價值;`liquidity_complete` 為 false 時為下限。 可能不存在
data[].liquidity_reach_pctnumber%交易所回傳的訂單簿實際涵蓋的距中間價距離,取買盤與賣盤兩側中較小者。 可能不存在
data[].liquidity_completeboolean—回傳的訂單簿在兩側都涵蓋完整的 ±1 % 範圍時為 true;false 表示 `liquidity_usd` 有所低估。 可能不存在
data[].oi_vol_rationumber|null—持倉量除以 24h 成交量。
data[].pair_dispstring—交易對的顯示形式,格式為基礎幣種/計價貨幣(`BTC/USDT`、`1000PEPE/USDT`;CME 與 USD 本位交易場所為 `BTC/USD`)。
data[].contract_typestring|null—`perpetual` or `delivery` (dated futures); null on spot rows. With `group=pair` it comes from the exchange's contract specification where CoinBoss has one, otherwise from the expiry code in the symbol.
data[].expirystring(decimal)|null—Expiry date code YYMMDD of a dated contract. With `group=pair` it is derived from `expiry_ts` for every contract that has an expiry; otherwise it is the six-digit symbol suffix. Null for contracts without an expiry and for CME rows.
data[].market_typestring—`spot`, `perpetual` or `delivery`. 可能不存在
data[].expiry_tsnumber|nullmsExpiry / delivery time of the contract, Unix milliseconds; null when the contract has no expiry or the exchange does not publish one. 可能不存在
data[].expiry_datestring|null—Expiry date as YYYY-MM-DD (UTC); null when the contract has no expiry. 可能不存在
data[].native_symbolstring|null—Contract name exactly as the exchange lists it (`BTCUSDT_270326`, `BTC-PERPETUAL`, `XBTMZ26`); null when CoinBoss holds no contract specification for the venue and on spot rows. 可能不存在
data[].quotestring|null—Quote currency of the contract or spot pair (`USDT`, `USDC`, `USD`, …). 可能不存在
data[].margin_typestring|null—Margin asset class from the contract specification: `usdt`, `usdc`, `coin`, `usd` or `other`; null when unknown and on spot rows. 可能不存在
data[].statusstring—Market state of the row (only with `group=pair` and `market=spot`): `active` = a real quote received within the last hour and a 24h volume above zero; `no_quote` = the contract is listed but has no usable quote, see `status_reason`; `not_provided` = the exchange publishes no real-time ticker that CoinBoss collects (CME); `expired` = the contract is past its expiry. Rows that are not `active` carry no price. 可能不存在
data[].status_reasonstring|null—Why a row is not `active`: `expired`, `no_realtime_feed`, `quote_stale` (last quote older than one hour), `no_price`, `no_volume` (the exchange reports no 24h volume) or `no_trades_24h` (the reported 24h volume is zero). Null on active rows. 可能不存在
data[].price_sourcestring|null—Dataset the row's price and volume were read from: `market_tickers`, `sd_contract_latest` or `spot_coin_ex_vol`; null when no ticker exists for the contract. 可能不存在
data[].price_atnumber|nullmsTime the row's ticker was received, Unix milliseconds. On rows that are not `active` it is the time of the last ticker seen (no price is returned for it), or null. 可能不存在
data[].symbolstring—Symbol of the row as CoinBoss stores it (`BTCUSDT`, `BTCUSD_270326`, `BTC-27NOV26`); same value as `pair` on contract rows, base + quote on spot rows. The name used by the exchange is `native_symbol`. 可能不存在
data[].basestring—Underlying of the contract or spot pair as traded. Contracts quoted in multiples of the coin keep the multiplier (`1000PEPE`). 可能不存在
data[].market_statusstring—State of the market: `ACTIVE` = not expired, a quote of this market received within the last hour and a 24h volume above zero; `EXPIRING` = active and the exchange lists its expiry within the next 24 hours; `EXPIRED` = past its expiry; `STALE` = the last quote is older than one hour; `NO_QUOTE` = no usable quote, see `reason_code`. Only `ACTIVE` and `EXPIRING` rows carry a price and a `rank`. 可能不存在
data[].reason_codestring|null—Why the row carries no price: `NO_QUOTE` (listed, but no trades in 24h or no last price / volume reported), `EXPIRED`, `STALE`, or `UNAVAILABLE` (CoinBoss collects no real-time ticker for this market, e.g. CME). Null on `ACTIVE` and `EXPIRING` rows. The finer cause is in `status_reason`. 可能不存在
data[].source_atnumber|nullmsTime the ticker behind this row was received from the exchange, Unix milliseconds; null when no ticker exists. Same value as `price_at`. 可能不存在
data[].qualitystring—`live` = `source_at` within the last hour, `stale` = older, `none` = no ticker for this market. 可能不存在
data[].is_staleboolean—True when `quality` is `stale`. 可能不存在
data[].expires_in_snumber|nullsSeconds until the expiry of the contract at the time the table was assembled; negative once expired; null when the contract has no expiry. 可能不存在
data[].ranknumber|null—Position among rankable rows (`market_status` `ACTIVE` or `EXPIRING`) ordered by `volume_usd` descending, starting at 1 and counted inside the requested view; null on rows that are not rankable. 可能不存在
data[].marketstring—市場。 可能不存在
metaobject—Table-level information: grouping, freshness and volume windows, sort rule and row counts. Present with `group=pair` and with `market=spot`, `perpetual`, `delivery` or `all`. 可能不存在
meta.groupstring—`pair` = one row per contract, `exchange` = one row per spot venue. 可能不存在
meta.as_ofnumbermsTime the table was assembled, Unix milliseconds. 可能不存在
meta.fresh_window_snumbersMaximum age of a quote for a row to count as `active`. 可能不存在
meta.expiring_window_snumbersA contract whose expiry is closer than this is reported as `EXPIRING`. 可能不存在
meta.volume_windowstring—Window of `volume_usd`: `24h_rolling`, the rolling 24-hour turnover each exchange reports. 可能不存在
meta.volume_unitstring—Unit of `volume_usd`. 可能不存在
meta.sortstring—Row order of the response in words. 可能不存在
meta.countsobject—Number of rows per `status`. 可能不存在
meta.counts.activenumbercountRows with `status=active`. 可能不存在
meta.counts.no_quotenumbercountRows with `status=no_quote`. 可能不存在
meta.counts.not_providednumbercountRows with `status=not_provided`. 可能不存在
meta.counts.expirednumbercountRows with `status=expired`. 可能不存在
meta.market_status_countsobject—Number of rows per `market_status`. 可能不存在
meta.market_status_counts.ACTIVEnumbercountRows with `market_status=ACTIVE`. 可能不存在
meta.market_status_counts.EXPIRINGnumbercountRows with `market_status=EXPIRING`. 可能不存在
meta.market_status_counts.EXPIREDnumbercountRows with `market_status=EXPIRED`. 可能不存在
meta.market_status_counts.NO_QUOTEnumbercountRows with `market_status=NO_QUOTE`. 可能不存在
meta.market_status_counts.STALEnumbercountRows with `market_status=STALE`. 可能不存在
meta.type_countsobject—Number of rows per market type. 可能不存在
meta.type_counts.spotnumbercountSpot rows in the response. 可能不存在
meta.type_counts.perpetualnumbercountPerpetual rows in the response. 可能不存在
meta.type_counts.deliverynumbercountDelivery (dated futures) rows in the response. 可能不存在
meta.type_rankableobject—Number of rankable rows (`ACTIVE` or `EXPIRING`) per market type. 可能不存在
meta.type_rankable.spotnumbercountSpot rows that are rankable (`ACTIVE` or `EXPIRING`). 可能不存在
meta.type_rankable.perpetualnumbercountPerpetual rows that are rankable. 可能不存在
meta.type_rankable.deliverynumbercountDelivery rows that are rankable. 可能不存在

產生於 2026-11-12 10:57 UTC,依據 9 筆真實回應。

回應範例

/api/currency/ex-table?coin=BTC&market=futures · 真實回應,擷取於 2026-11-13 03:57:28 UTC。 較長的陣列與對應表已截短顯示:data 原有 24 個項目。

  • {
    • "success": true,
    • "coin": "BTC",
    • "market": "futures",
    • "data": [
      • { … 26 },
      • { … 26 }
      ]
    }

已驗證的樣本

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

參數HTTP延遲結果
coin=BTC&market=all200139 ms通過
coin=BTC&market=perpetual2001 ms通過
coin=BTC&market=delivery2002 ms通過
coin=BTC&group=pair&market=futures2002 ms通過
coin=BTC&market=spot2001 ms通過
coin=ETH&market=futures200105 ms通過
coin=SOL&market=futures20067 ms通過
coin=ARKM&market=futures20055 ms通過

檢查於 2026-11-13 03:57:28 UTC

詳細資訊

身分驗證
無。公開端點。
速率限制
每個 IP 每分鐘 1200 次請求
伺服器快取
30s
邊緣微快取
10s
更新頻率
行情/OI/資金費率每 60 s 至 5 min;訂單簿深度每 5 min;現貨成交量每 10 min;爆倉為即時
時間視窗
最新快照(行情 1 h、OI 3 h、資金費率 4 h、多空比 24 h、深度 30 min);24 h 變化以小時歸檔為基準
資料來源
單一幣種在各交易所的合約與現貨統計,由 CoinBoss 自有採集器輪詢約 30 家交易所(例如 binance、okx、bybit、bitget、gate、hyperliquid)的公開 API 後彙整而成。
交易所覆蓋範圍
合約:該幣種行情仍新鮮的所有交易所(最多 24 家);深度來自 15 家交易所,約 28 個幣種;現貨(market=spot):14 家現貨交易所
排序
volume_usd desc. With `group=pair` and with `market=spot|perpetual|delivery|all`: rankable rows (`market_status` ACTIVE or EXPIRING) first by volume_usd desc (these carry `rank`), then rows without a live quote by oi_usd desc, expired contracts last; ties by expiry, exchange and symbol, so every request made at the same moment gets the same order
單位
price in USD (multiplier contracts normalized to one coin); volume / OI / liquidations / depth in USD; funding as raw fraction and 8 h-normalized fraction; changes in percent
計算方法
per exchange (futures): volume = SUM(volume_usd); funding_8h = rate x 8 / interval_hours of the largest-OI contract; depth_1pct_usd = bid + ask notional within +/- 1% of mid; OI 24 h change by same-contract pairing; volume change vs the ticker archive 23-25 h earlier; liquidations = 24 h SUM(value_usd)
時間戳記
Unix epoch 毫秒(UTC),除非欄位說明另有註明
回應格式
json
穩定性
穩定版

即時狀態

可用檢查於 2026-11-13 03:57:28 UTCHTTP 200139 ms結構描述相符

近 30 天可用率

411 次檢查中有 99.76% 通過

錯誤

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

錯誤碼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/currency/ex-table可用
參數

string — Base coin symbol (uppercase, e.g. BTC).

string · 預設 futures — `futures` (default) and `spot` return one row per exchange (`futures` one row per contract with `group=pair`). `perpetual`, `delivery` and `all` always return one row per market: perpetual contracts only, dated futures only, or every spot, perpetual and delivery market of the coin in one list. Any other value is treated as `futures`.

string — `pair` returns one row per contract instead of one row per exchange. Each row then carries `status`, `status_reason`, `market_type`, `expiry_ts`, `expiry_date`, `native_symbol`, `quote`, `margin_type`, `price_source`, `price_at` and `rank`, and the response adds a `meta` object. Rows whose `status` is not `active` (no live quote, no feed, expired) carry no price.

請求 URLhttps://www.coinboss.com/api/currency/ex-table?coin=BTC&market=futures
選擇一個端點並按下「送出請求」。回應內容、標頭與耗時會顯示在這裡。