Skip to main content
GET
Trade Counts

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

wallets
string
required

Up to 200 wallets, comma separated. Malformed entries are skipped.

Response

OK

conditionId
string

Condition id: 0x and 64 hex, lowercase.

block
integer

The finalized block the answer reflects.

complete
boolean

Codex holds the market's whole history.

counts
object

Fills by wallet: one per order the wallet owned in a match. Splits, merges and redemptions are not trades.

lastTs
object

Latest activity by wallet, unix seconds; 0 when none.