Skip to main content
GET
Get games
回傳某聯賽的全部活躍賽事。回應不包含訂單簿或任何價格 — 請呼叫 獲取訂單簿 獲取。

請求

GET /exchange/v2/getGames
string
必填
來自 獲取聯賽 的聯賽代碼。使用特殊值 upcoming 可獲取跨聯賽的全部即將開賽賽事。
string
可選的運動項目過濾。

回應

array

示例

錯誤

授權

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.

查詢參數

league
string
必填

League code from GET /exchange/getLeagues. Use upcoming for all upcoming games across leagues.

sport
string

Optional sport filter.

回應

Games list

data
object