Skip to main content
POST
Get orderbook (v1, deprecated)
已弃用。 更简单、推荐的扁平格式请使用 GET /exchange/v2/getOrderbook。此端点仅为与旧客户端向后兼容而保留。
以嵌套形式返回整个联赛的订单簿,按让分 / 大小分数键控。单场形态与 获取单场订单簿 相同,但覆盖该联赛的每一场赛事。

请求

POST /exchange/getOrderbook
string
必填
联赛代码(不区分大小写)。

响应

string
此端点始终为 null。
array
带嵌套订单簿字段的赛事数组。单场形态见 获取单场订单簿 — awayMoneylines / homeMoneylines 数组,以及按让分或大小分数键控的 awaySpreads / homeSpreads / over / under 对象。
这些桶中的每笔单独订单具有标准订单形态:

授权

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

请求体

application/json
leagueRequested
string
必填

League code (case-insensitive).

响应

Nested-orderbook response

data
object