跳转到主要内容
以下私有接口示例使用 Broker API Key。每次请求都需携带 KEY、Timestamp、SIGN 和 X-User-Wallet-Address;签名使用实际外部请求路径、Query String 和 Body。 Broker API 认证与签名。
订单查询与撤单都属于私有操作,需要认证。生产环境 Base URL:

查询订单列表

cURL
常用筛选参数包括:status、condition_id、event_id、order_id、client_order_id、from、to、sort_type、limit 与 cursor。 from、to 使用 Unix 毫秒;sort_type 可按 created_at 或 updated_at 排序。 响应:
将 next_cursor 原样作为下一页请求的 cursor。

查询单个订单

cURL
详情响应包含列表中的订单标识、价格、数量、成交进度与状态等字段,并可能包含订单服务返回的 error_code。

取消单个订单

cURL

按 Condition 取消订单

cURL