private/get-transactions
POSTFetches recent transactions./private/get-transactions
Request
Body
required
Request id (echoed in response)
Must be "private/get-transactions"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
E.g. BTCUSD-PERP. Omit for 'all'.
Possible values: [TRADING, TRADE_FEE, ONCHAIN_WITHDRAWAL, ONCHAIN_DEPOSIT, FUNDING, REALIZED_PNL, INSURANCE_FUND, SOCIALIZED_LOSS, LIQUIDATION_FEE, SESSION_RESET, ADJUSTMENT, SESSION_SETTLE, UNCOVERED_LOSS, ADMIN_ADJUSTMENT, DELIST, SETTLEMENT_FEE, AUTO_CONVERSION, MANUAL_CONVERSION, SUBACCOUNT_TX, FIAT_WITHDRAWAL_CANCEL, MARGIN_TRADE_INTEREST]
Journal / transaction type
Start time in Unix time format (inclusive), ms or ns. Default: end_time - 1 day. Nanosecond recommended for accurate pagination.
End time in Unix time format (exclusive), ms or ns. Default: current system timestamp. Nanosecond recommended for accurate pagination.
Maximum number of transactions to retrieve before end_time. Default: 100. Max: 100.
Optional filter for transactions of a particular isolated position. Omit for 'all'.
Schema
- Array [
- ]
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
data object[]
Account ID.
Event date.
Possible values: [TRADING, TRADE_FEE, ONCHAIN_WITHDRAWAL, ONCHAIN_DEPOSIT, FUNDING, REALIZED_PNL, INSURANCE_FUND, SOCIALIZED_LOSS, LIQUIDATION_FEE, SESSION_RESET, ADJUSTMENT, SESSION_SETTLE, UNCOVERED_LOSS, ADMIN_ADJUSTMENT, DELIST, SETTLEMENT_FEE, AUTO_CONVERSION, MANUAL_CONVERSION, SUBACCOUNT_TX, FIAT_WITHDRAWAL_CANCEL, MARGIN_TRADE_INTEREST]
Journal / transaction type
Journal ID.
Transaction quantity.
Transaction cost.
Realized PNL.
Order ID.
Trade ID.
Trade match ID; applicable to trades only; non-trade transactions may have zero or null.
Event timestamp in milliseconds.
Event timestamp in nanoseconds.
Client Order ID (can be empty).
Possible values: [MAKER, TAKER]
Maker or taker side of the trade
Possible values: [BUY, SELL]
BUY or SELL
E.g. BTCUSD-PERP.
Isolation ID of the order if under isolated position.
Possible values: [ISOLATED_MARGIN]
Isolation type
Present when code !== 0.
Present when code !== 0.