Request Export Report
POST/private/AddExport
Request export of trades or ledgers.
API Key Permissions Required: Data - Export data
Request
- application/json
Body
required
trades
:ordertxid
,time
,ordertype
,price
,cost
,fee
,vol
,margin
,misc
,ledgers
ledgers
:refid
,time
,type
,subtype
,aclass
,asset
,amount
,fee
,balance
,wallet
nonce int64required
Nonce used in construction of API-Sign
header
report stringrequired
Possible values: [trades
, ledgers
]
Type of data to export
format string
Possible values: [CSV
, TSV
]
Default value: CSV
File format to export
description stringrequired
Description for the export
fields string
Default value: all
Comma-delimited list of fields to include
starttm integer
UNIX timestamp for report start time (default 1st of the current month)
endtm integer
UNIX timestamp for report end time (default now)
Responses
- 200
Export request made
- application/json
- Schema
- Example (from schema)
Schema
result object
id string
Report ID
error string[]
{
"error": [],
"result": {
"id": "TCJA"
}
}
Loading...