Skip to main content
GET
Wallet Trades

Authorizations

Authorization
string
header
required

Your API key: codex_ and 48 hex characters.

Path Parameters

wallet
string
required

The wallet: 0x and 40 hex.

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

Query Parameters

limit
integer
default:50

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

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

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

market
string

One market's trades only (echoed back).

q
string

Search: trades whose market question or outcome contains the text. Limit defaults to 300.

Response

OK

wallet
string
block
integer

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

complete
boolean
truncated
boolean

Over 20,000 markets: older trades are out of reach.

q
string

Search only.

searched
boolean

Search only.

total
integer

Search only: rows returned.

capped
boolean

Search only: more matched.

trades
object[]
next
string | null

Send it as before; null on a search.