Get Transaction Log
Retrieve comprehensive transaction history including order fills, deposits, withdrawals, funding fees, and insurance fund reimbursements with pagination support.Endpoint
Parameters
RSA public key identifier for authentication
Base64-encoded RSA signature of the request payload.
Payload format:
GET:/api/v1/accounts/transaction-logStart timestamp in milliseconds.
Default: 365 days ago from current time
Default: 365 days ago from current time
End timestamp in milliseconds.
Default: Current time
Default: Current time
Maximum number of transaction logs to return (1-1000).
Default:
Maximum:
Default:
100Maximum:
1000Pagination cursor from previous response to retrieve next page
Units for response values. Either “btc” or “sats”.
Default:
Default:
satsExample Request
Response
Response Fields
Transaction log data
Indicates if the request failed
Transaction Types
OrderFill
OrderFill
Records trade executions. Includes:
- Order and trade IDs
- Fill price and execution details
- Position changes (before/after)
- Taker/maker flag
- Trading fees
Deposit
Deposit
Records account deposits. Includes:
- Deposit amount
- Balance changes
Withdraw
Withdraw
Records account withdrawals. Includes:
- Withdrawal amount
- Balance changes
FundingFee
FundingFee
Records funding fee payments for perpetual positions. Includes:
- Current funding rate
- Position size
- Fee amount (positive = received, negative = paid)
- Symbol and side
InsuranceFundReimbursement
InsuranceFundReimbursement
Records insurance fund payouts to traders. Includes:
- Reimbursement amount
- Balance changes
Pagination
The transaction log endpoint supports cursor-based pagination:- Initial Request: Make a request without a cursor to get the first page
- Check Cursor: If the response includes a
cursorvalue, more data is available - Next Page: Include the cursor in your next request to get the next page
- Repeat: Continue until
cursorisnull
Example Pagination Flow
Notes
Time Range Defaults: If no time range is specified, the endpoint returns transactions from the last 365 days up to the current time.
Maximum Limit: The maximum value for
limit is 1000. If you specify a higher value, it will be capped at 1000.Large Time Ranges: Requesting transaction logs for very large time ranges may result in multiple pages of results. Use pagination to retrieve all data efficiently.
Filtering by Date: To get transactions for a specific date range, use Unix timestamps in milliseconds for the
from and to parameters.Use Cases
- Account Reconciliation: Track all balance changes and verify account state
- Trade Analysis: Analyze trading performance and fee costs
- Tax Reporting: Export transaction history for tax calculations
- Funding Rate Tracking: Monitor funding fee payments over time
- Position History: Review position entry/exit points and PnL