Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
/v1/accounts/{accountId}/history/exportGET
Authorization
bearerAuth *Bearer <token>
Token in: header
Path Parameters
accountId *string
Min length: 1
Query Parameters
dataset?"deals" | "orders"
Default: "deals"
limit?integer
Default: 100Min: 1Max: 50000
cursor?string
exportToken?string
Response
200 · Certified deal or order history export
Certified deal or order history export
202 · The account session is warming; retry the same request
error *object | object
400 · Invalid request
error *object | object
401 · Invalid API key
error *object | object
403 · Insufficient API key scope or connected account slot limit
error *object | object
404 · Resource not found
error *object | object
409 · Account is not active
error *object | object
410 · Pagination cursor expired
error *object | object
422 · The broker or terminal rejected the operation
error *object | object
429 · Rate limit exceeded
error *object | object
500 · Unexpected failure
error *object | object
503 · Capacity exhausted, upstream unavailable, or history coverage unsettled
error *object | object
504 · Upstream request timed out
error *object | object
Request example
curl -X GET "https://api.fivesocket.com/v1/accounts/<accountId>/history/export" \ -H "Authorization: Bearer <token>"