Skip to main content
GET
Fills by Market

Authorizations

Authorization
string
header
required

Your API key: codex_ and 48 hex characters.

Query Parameters

markets
string
required

1 to 100 condition ids, comma separated, no spaces, no repeats.

from
integer
required

Unix seconds, inclusive.

to
integer
required

Unix seconds, exclusive; at most 604,800 after from.

limit
integer
default:20000
Required range: 1 <= x <= 50000
after
string

The previous page's next.

Response

OK. Gzipped when you send Accept-Encoding: gzip.

block
integer

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

completeThroughTs
integer

Every fill at or before it is in the answer; 0: nothing claimable yet. Unix seconds.

next
string | null

Send it as after, with the same window.

fills
integer[][]

Integer rows.