Skip to main content
Returns paginated account activity: deposits, withdrawals, liquidations, and funding payments.
The examples on this page use Hyperliquid (provider: 'hyperliquid'). Replace the provider value with any supported DEX from getProviders().

Filtering by type

Parameters

Returns

ActivitiesResponse:

ActivityType enum

Activity item fields

All items share id, provider, type, and timestamp. Additional fields depend on type: DEPOSIT (DepositActivity): amount, explorerLink? (block-explorer URL for the on-chain deposit tx) WITHDRAWAL (WithdrawalActivity): amount, fee, explorerLink? (block-explorer URL for the on-chain withdrawal tx) FUNDING (FundingActivity): market (MarketDisplay), amount (negative = paid), positionSize, fundingRate LIQUIDATION (LiquidationActivity): liquidatedNotionalPosition, accountValue, leverageType, liquidatedPositions[] (each with market: MarketDisplay and size) TRANSFER (TransferActivity): direction ('IN' or 'OUT', relative to the queried account), counterpartyAccountIndex? (L2 account integer — Lighter), counterpartyAddress? (wallet address — Hyperliquid), asset (string symbol), amount, meta?, explorerLink? (block-explorer URL for the on-chain transfer tx). At least one of counterpartyAccountIndex / counterpartyAddress is always present; either may appear alone or alongside the other.

Classification enums

Fill.classification values are drawn from FillClassification. Activity items that originate from non-fill events use one of three single-value classification enums (typically not user-facing — they describe the on-chain event that produced the activity): API Reference: GET /activity