Skip to main content
GET
Get single orderbook
Returns the nested orderbook for a single game — spreads and totals are objects keyed by spread / total number rather than flattened arrays. Also returns any child games (props, alternate periods) and an orderSummary of the caller’s own resting orders for the league. For the simpler flat shape, prefer Get orderbook.

Request

GET /exchange/getSingleOrderbook
string
required
Game id.

Response

object
Game object with nested-orderbook fields. The standard Game fields apply (see Get games), plus:
array
The caller’s own resting orders across the entire league (not just this game). Useful for rendering “your offers” badges in a UI.
array
Child games (alternate periods, etc.) of the requested game. Same shape as data.game.
array
Prop games tied to the requested game.
Each individual order has the standard order shape:

Errors

Authorizations

Authorization
string
header
required

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

gameID
string
required

Game id.

Response

Single-game orderbook

data
object