export
Export trade or funding history for an account. Supply both start_timestamp and end_timestamp in Unix milliseconds, or omit both for available history. If supplied, start_timestamp must be on or after 2025-01-01 UTC and earlier than end_timestamp. Exports are processed asynchronously; large histories may require smaller date ranges. The current implementation limits output to 40 GiB and processing to four hours; a completed export URL is valid for six hours.
Account index to query.
-1Public market identifier returned by orderBooks or events.
255Select one of the listed record types.
Inclusive start of the requested time range, as a Unix timestamp in milliseconds.
End of the requested time range, as a Unix timestamp in milliseconds.
Position or trade side filter.
allPossible values: Select fills where the account was the maker or taker, or all fills.
allPossible values: Trade type to include in the export.
allPossible values: Include remaining fills for the last order on the page; requires account_index.
falseAuth token in the Authorization header.
A successful response.
200Bad request
GET /api/v1/export?type=funding HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Accept: */*
{
"code": 200,
"message": "text",
"data_url": "text"
}Last updated
Was this helpful?