Retrieve comprehensive transaction history including order fills, deposits, withdrawals, funding fees, and insurance fund reimbursements with pagination support.
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.
Copy
Ask AI
// Get transactions for January 2024const from = new Date('2024-01-01').getTime(); // 1704067200000const to = new Date('2024-02-01').getTime(); // 1706745600000