Skip to main content
GET
Market Trades

Authorizations

Authorization
string
header
required

Your API key: codex_ and 48 hex characters.

Path Parameters

conditionId
string
required

The market: 0x and 64 hex.

Pattern: ^0x[0-9a-fA-F]{64}$

Query Parameters

limit
integer
default:50

Rows, 1 to 1,000. Out of range is clamped.

Required range: 1 <= x <= 1000
before
string

The previous page's next: ts,block,logIndex.

outcome
integer

One outcome index only.

side
enum<string>

One side only.

Available options:
BUY,
SELL

Response

OK

conditionId
string

Condition id: 0x and 64 hex, lowercase.

block
integer

The trades table's cursor (can run a batch ahead of positions).

complete
boolean

No gap open in the trade history.

trades
object[]
next
string | null

Send it as before.