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