Skip to main content
GET
List account activity

授权

Authorization
string
header
必填

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

查询参数

user
string | null

Required; the feed is user-anchored.

limit
integer<int32> | null

Page size; default 100, max 1000, past-cap rejected.

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

Opaque cursor from a prior response's next_cursor; binds the sort direction it was minted under.

type
string | null

Activity type(s), comma-separated (TRADE, SPLIT, MERGE, REDEEM, …).

TIP is opt-in: it is never in the default set, so it is only returned when you name it here. A tip is a user↔user pUSD transfer that is not a trade-settlement leg; size is the amount and side carries the direction (IN received / OUT sent).

condition
string | null

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

event_id
string | null

Gamma event id(s), comma-separated; resolves to the events' markets. Mutually exclusive with condition.

side
string | null

BUY or SELL.

start
integer<int64> | null

Window start on block_timestamp, epoch seconds (inclusive). Omitted or 0 floors to three years back; pass start=1 for full history.

end
integer<int64> | null

Window end, epoch seconds (inclusive); omitted or 0 means now plus one day.

sort_by
string | null

Only TIMESTAMP is supported (v2 pages by keyset).

sort_direction
string | null

ASC or DESC (default). The keyset seeks in the chosen direction; the minted cursor binds it, so pass it consistently when paging.

exclude_deposits_withdrawals
boolean | null

Defaults to true.

响应

A page of activity events

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

data
object[]
必填

The page's rows.

pagination
object
必填

Paging envelope: follow next_cursor until null.