Skip to main content
POST
GetOrderBook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
default:1

Define the version of the Connect protocol Define the version of the Connect protocol. If omitted, use 1.

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json
market
market · object
required
tickSize
number<float>
sizeInUsd
boolean
levels
integer<int32>
limit
integer | null

Number of results returned

offset
integer | null

Starting position

totalOrderCount
integer | null
chainId
string<int64> | null

Optional chain identifier for the market. During testnet, Fairground runs on Arbitrum Sepolia (421614).

Response

Success

orderBook
order_book · object