Skip to main content
POST
GetMarkets

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
MarketSelector · object
status
enum<string> | null
Available options:
MARKET_STATUS_ACTIVE,
MARKET_STATUS_PAUSED,
MARKET_STATUS_CLOSING,
MARKET_STATUS_CLOSED,
MARKET_STATUS_ALL
chainId
string<int64> | null

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

Response

Success

timestamp
string<date-time>
Example:

"2023-01-15T01:30:15.01Z"

markets
MarketConfig · object[]