Exports the trading history and account events for a specified smart account address as a CSV file, using the same filters as GET /v2/account_history.
This endpoint is currently in Beta and has not been fully validated in production yet.
The response is a downloadable CSV (Content-Type: text/csv; charset=utf-8) with a leading UTF-8 byte-order mark (BOM) for spreadsheet compatibility, and a Content-Disposition: attachment header. Each event is rendered as one wide row across all event types (trade, transfer, settlement, funding).
Pagination is not supported. Unlike GET /v2/account_history, the export streams the full matching result set in a single response. Supplying any of cursor, offset, or limit (even with an empty value) returns HTTP 400.
Row cap: the export returns up to a server-configured maximum number of rows (see the X-Export-Max-Rows response header). When the result set exceeds the cap, the response is truncated and X-Export-Truncated is set to true.
Response headers:
Content-Disposition:attachmentwith a generated filename, e.g.account-history-0x24a90351-20240101-all.csv(address is truncated to a short lowercased prefix; an omitted start/end bound renders asall).X-Export-Row-Count: number of data rows written.X-Export-Truncated:truewhen the result set was clipped to the row cap, otherwisefalse.X-Export-Max-Rows: the maximum number of rows the export will return.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
