Skip to main content
POST
Get orderbook (v1, deprecated)
Deprecated. Use GET /exchange/v2/getOrderbook for the simpler, recommended flat format.This endpoint is kept for backwards compatibility with older clients.
Returns the orderbook for an entire league in nested form, keyed by spread / total number. Same per-game shape as Get single orderbook, but for every game in the league.

Request

POST /exchange/getOrderbook
string
required
League code (case-insensitive).

Response

string
Always null in this endpoint.
array
Array of games with nested-orderbook fields. See Get single orderbook for the per-game shape — awayMoneylines / homeMoneylines arrays plus awaySpreads / homeSpreads / over / under objects keyed by spread or total number.
Each individual order in those buckets has the standard order shape:

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.

Body

application/json
leagueRequested
string
required

League code (case-insensitive).

Response

Nested-orderbook response

data
object