Historical Data
Users can fetch historical data using various REST endpoints, mainly:
- accountInactiveOrders
- trades
- logs
- tx
- pnl
- deposit_history, transfer_history, withdraw_history
- candles
- fundings, positionFunding
- liquidations
- exchangeMetrics, executeStats
Alternatively, you can use export to obtain CSVs containing up to 12 months of trades, or up to 3 months of funding payments, for a specific account index.
For interested parties, you can access parquet files containing trade events (global), up to mainnet genesis (June 26th, 2026), using the historicalTrade endpoint. To obtain access, perform an in-app transfer of 300 USDG to 0x4FD058F25bE85E459ec552cA8e4C696FD1D34125. On-chain transfers are not supported; you must transfer from within the exchange directly (L2Transfer).
Updated 3 days ago
Did this page help you?