Account Data

Request Export Report

Request export of trades or ledgers.

API Key Permissions Required: Data - Export data

post/private/AddExport

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/private/AddExport
  • Auth: API key in header API-Key and API key in header API-Sign

Request body

nonceinteger required

Nonce used in construction of API-Sign header

report'trades' | 'ledgers' required

Type of data to export

format'CSV' | 'TSV'

File format to export

descriptionstring required

Description for the export

fieldsstring

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
starttminteger

UNIX timestamp for report start time (default 1st of the current month)

endtminteger

UNIX timestamp for report end time (default now)

Example request

{
  "nonce": 1695828490,
  "report": "trades",
  "description": "yearly report",
  "format": "CSV",
  "starttm": 1695728276,
  "endtm": 1695828276
}

Response

Export request made

errorstring[]

Example response

{
  "error": [],
  "result": {
    "id": "TCJA"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.