v1

latestOpenAPI 3.1.0Proprietary2026-07-2265155163.6 KB
Trader

Get user liquidation history

Handles GET /v1/users/{user_pubkey}/liquidation-history via get.v1.users.by_user_pubkey.liquidation_history.

get/v1/users/{user_pubkey}/liquidation-history

Path parameters

user_pubkeystring required

Query parameters

pdaIndexinteger

Trader PDA index to scope history. Defaults to 0.

subaccountIndexinteger nullable

Optional subaccount index. If omitted, all subaccounts under the PDA are included.

symbolstring nullable

Optional market symbol filter.

limitinteger

Maximum number of events to return (max 100, default 100).

cursorstring nullable

Opaque cursor for older or newer pagination.

Response

hasMoreboolean required

Whether there are more results available after this page

nextCursorstring nullable

Opaque cursor for fetching the next page of older results. Pass this value as the cursor parameter in the next request to load more.

prevCursorstring nullable

Opaque cursor for fetching newer items (for polling). Pass this value as the cursor parameter to get items newer than the first item in data.