Skip to main content

Request Export Report

POST 

/private/AddExport

Request export of trades or ledgers.

API Key Permissions Required: Data - Export data

Request

Body

required
    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

    • trades: ordertxid, time, ordertype, price, cost, fee, vol, margin, misc, ledgers
    • ledgers: refid, time, type, subtype, aclass, asset, amount, fee, balance, wallet
    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

Export request made

Schema
    result object
    id string

    Report ID

    error string[]
Loading...