Skip to main content
GET
List trades

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

user
string | null

Address to filter by; omit for the market/event/global feed.

limit
integer<int32> | null

First-page size. Ignored when cursor is supplied (the cursor's size wins).

必填范围: 0 <= x <= 1000
cursor
string | null

Opaque pagination cursor from a prior response's next_cursor.

taker_only
boolean | null

Defaults to true: each fill is served once, on its taker side. false includes the maker rows too.

filter_type
string | null

CASH or TOKENS; defaults to TOKENS.

filter_amount
number<double> | null

Minimum trade size; defaults to 0.01, and 0 means the same.

start
integer<int64> | null

Window start on block_timestamp, epoch seconds (inclusive); honored on the user shape only. Omitted or 0 floors to three years back; start=1 asks for full history. The condition/event_id shapes serve a fixed three-year window and the bare feed the rolling current-plus-previous month, ignoring both bounds.

end
integer<int64> | null

Window end, epoch seconds (inclusive); honored on the user shape only; omitted or 0 means now plus one day.

condition
string | null

Condition id(s), comma-separated (at most 20 distinct values). condition_id / conditionId are accepted aliases.

event_id
string | null

Event id(s), comma-separated.

side
string | null

BUY or SELL.

响应

A page of trades

{ data, pagination } envelope for /v2/trades.

data
object[]
必填

The page's rows.

pagination
object
必填

Paging envelope: follow next_cursor until null.