Get games
Markets
Get games
List active games for a league
GET
Get games
Returns all active games for a league. The response does not include the orderbook or any prices — call Get orderbook for that.Documentation Index
Fetch the complete documentation index at: https://docs.4casters.io/llms.txt
Use this file to discover all available pages before exploring further.
Request
GET /exchange/v2/getGames
League code from Get leagues. Use the special value
upcoming to get all upcoming games across leagues.Optional sport filter.
Response
Example
Errors
| Status | Meaning |
|---|---|
400 | league is required. |
Authorizations
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.
Query Parameters
League code from GET /exchange/getLeagues. Use upcoming for all upcoming games across leagues.
Optional sport filter.
Response
Games list