Get orders for a game
User
Get orders for a game
List your open orders and matched bets on a single game
GET
Get orders for a game
For a given 4casters game id, returns the caller’s open orders and matched (ungraded) bets for that game. Graded bets are not returned by this endpoint — use Get graded wagers for those.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 /user/getOrdersForGame
4casters game id.
Response
Array of open orders on the game, sorted ascending by game start time. Same shape as Get unmatched orders.
Array of matched (ungraded) bets on the game. Same shape as Get matched bets.
Example
Errors
| Status | Meaning |
|---|---|
404 | gameID missing or not a valid game id. |
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
A 4casters game id (ObjectID). Get game ids from GET /exchange/v2/getGames or GET /exchange/v2/getOrderbook.
Response
Orders and matched bets for the requested game