POST
/
getExportReportStatus
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/getExportReportStatus \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-20863236",
  "report": "ledgers"
}'
{
  "error": [],
  "result": [
    {
      "id": "VSKC",
      "descr": "my_trades_1",
      "format": "CSV",
      "report": "trades",
      "subtype": "all",
      "status": "Processed",
      "flags": "0",
      "fields": "all",
      "createdtm": "1616669085",
      "expiretm": "1617878685",
      "starttm": "1616669093",
      "completedtm": "1616669093",
      "datastarttm": "1614556800",
      "dataendtm": "1616669085",
      "aclass": "forex",
      "asset": "all"
    },
    {
      "id": "TCJA",
      "descr": "my_trades_1",
      "format": "CSV",
      "report": "trades",
      "subtype": "all",
      "status": "Processed",
      "flags": "0",
      "fields": "all",
      "createdtm": "1617363637",
      "expiretm": "1618573237",
      "starttm": "1617363664",
      "completedtm": "1617363664",
      "datastarttm": "1617235200",
      "dataendtm": "1617363637",
      "aclass": "forex",
      "asset": "all"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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
string

(Required)

report
string

(Required) Type of reports to inquire about

Response

200 - application/json

The response is of type object.