Skip to content

更新日志 ​

2026-04-29 ​

  • 签名文档纠正:明确 PreHash 公式为 timestamp + method + requestPath + (?queryString)? + body;强调 requestPath 不包含 网关前缀 /spot/open 与 /futures/open,仅使用 /sapi/v1/... 或 /fapi/v1/...。客户对接失败的常见原因已在 常见问题 中给出排查清单。
  • 现货 /sapi、合约 /fapi 接口梳理:根据后端实际控制器对 现货交易 与 合约交易 文档进行重写;新增 / 修正若干字段(symbols.limitPriceMin/limitVolumeMin/marketBuyMin/marketSellMin、合约 K 线 interval 取值含 1h、myTrades 上限实际为 100 等)。
  • 新增:合约 all_ticker、get_all_indexPrice、public_all_index_tag_price、openOrdersCount、tradesRecord、adlRecord、liquidationList、profitLossOrder、trigger_order_list、cancel_trigger_order、positions、capital、edit_lever、edit_user_position_model 等接口。
  • 新增:合约资金划转 futures_transfer / futures_balance 的 RSA 签名说明(不复用 HMAC 的 X-CH-SIGN)。
  • 新增:基本信息 中追加 GET 与 POST 两套端到端签名示例(PreHash + openssl + curl)。

2026-03-16 ​

  • 新版本上线

为优化系统架构并提升服务稳定性,平台将对 Open API 路由域名进行迁移。原 Open API 域名 api.bitbaby.com 将迁移至 openapi.bitbaby.com,请所有使用 Open API 的用户尽快完成接口域名更新。

特别说明: 本次迁移仅涉及子域名变更,原有 API 路径保持不变,例如:

  • 原地址:https://api.bitbaby.com/spot/open/
  • 迁移后地址:https://openapi.bitbaby.com/spot/open/

接口路径、参数及调用方式均不会发生变化。

迁移安排:

  • 新 Open API 域名: openapi.bitbaby.com
  • 原域名下架时间: 2026 年 3 月 20 日 18:00(UTC+8)

在上述时间之后,api.bitbaby.com 下的 Open API 路由将停止服务。若未及时完成迁移,可能会导致接口调用失败或无法正常下单。