List PositionsGET
Returns one page of closed-position history for the authenticated user, newest creation time first. There is no maximum date range. When more positions match, the response carries `next_token`; pass it back to fetch the next page. An absent `next_token` means this is the last page.
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Path Parameters
account_idRequiredstringAccount ID to fetch position history for
Query Parameters
fromstringInclusive start date (YYYY-MM-DD, UTC). Omit for all history.
toRequiredstringInclusive end date (YYYY-MM-DD, UTC).
limitintegerMaximum number of positions to return in one page (default 25, max 500)
25Minimum: 1Maximum: 500next_tokenstringOpaque cursor from the previous page's next_token. Send it unchanged, with the same
from/to; omit it for the first page.
Successfully retrieved position history
List Orders
Returns one page of order history for the authenticated user, newest creation time first. There is no maximum date range. When more orders match, the response carries `next_token`; pass it back to fetch the next page. An absent `next_token` means this is the last page.
Funding Rates History
Returns raw historical funding rates for a perpetual symbol. If `to` is omitted, defaults to the current UTC time.