/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—交易对的展示形式,格式为 base/quote(`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— 可能缺失
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— 可能缺失
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— 可能缺失
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— 可能缺失
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— 可能缺失
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 秒至 5 分钟;订单簿深度每 5 分钟;现货成交量每 10 分钟;爆仓实时
时间窗口
最新快照(行情 1 小时、OI 3 小时、资金费率 4 小时、多空比 24 小时、深度 30 分钟);24 小时变化对比小时归档
数据来源
单个币种在各交易所的合约与现货统计,由 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 纪元毫秒(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
选择一个端点,然后点击“发送请求”。响应、响应头和耗时将显示在这里。