Skip to main content
GET
Get user order history v2

Path Parameters

user_pubkey
string
required

Query Parameters

market_symbol
string

Optional market symbol filter

limit
integer<int64>
required

Top-level page limit (max 1000); nested TWAP children do not count toward this limit

cursor
string

Opaque cursor for the requested view. Start without a cursor when switching between flat and organized history.

organize_twap_orders
boolean

Default false: flat packets including TWAP children. True: terminal TWAP parents with children and standalone orders grouped inside data.

Response

200 - application/json

Successful response

Paginated response for order history V2

data
object[]
required
hasMore
boolean
required
nextCursor
string | null
prevCursor
string | null