Skip to main content
POST
/
requestExportReport
Request Export Report
curl --request POST \
  --url https://gateway.varchev.com/crypto/requestExportReport \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "nonce": 75100193,
  "report": "trades",
  "description": "laboris i",
  "format": "CSV",
  "fields": "all",
  "starttm": 75322482,
  "endtm": "-65934851"
}
'
{
  "error": [],
  "result": {
    "id": "TCJA"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.varchev.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
integer

(Required)

Example:

75100193

report
string

(Required) Type of data to export

Example:

"trades"

description
string

(Required) Description for the export

Example:

"laboris i"

format
string

File format to export

Example:

"CSV"

fields
string

Comma-delimited list of fields to include

  • trades: ordertxid, time, ordertype, price, cost, fee, vol, margin, misc, ledgers
  • ledgers: refid, time, type, aclass, asset, amount, fee, balance
Example:

"all"

starttm
integer

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

Example:

75322482

endtm
string

UNIX timestamp for report end time (default now)

Example:

"-65934851"

Response

200 - application/json

OK

The response is of type object.