Trades

Retrieve your trades. Your most recent trades will be retrieved by default, but a timestamp can be used to retrieve time-specific data.

Response Fields

IndexFieldTypeDescription
[0]IDintTrade database id
[1]SYMBOLstringSymbol (BTCUSD, …)
[2]MTSintExecution timestamp
[3]ORDER_IDintOrder id
[4]EXEC_AMOUNTfloatPositive means buy, negative means sell
[5]EXEC_PRICEfloatExecution price
[6]ORDER_TYPEstringOrder type
[7]ORDER_PRICEfloatOrder price
[8]MAKERint1 if true, -1 if false
[9]FEEfloatFee
[10]FEE_CURRENCYstringFee currency
[11]CIDintClient Order ID
🚧

Order type

For trades older than March 2020, the ORDER_TYPE field will not be set.


Rate Limit: 90 reqs/min (requests per minute)
Body Params
int64

If start is given, only records with MTS >= start (milliseconds) will be given as response.

int64

If start is given, only records with MTS <= end (milliseconds) will be given as response.

int32

Number of records in response (max. 2500).

int32

+1: sort in ascending order | -1: sort in descending order (by MTS field).

Response

Language
LoadingLoading…
Response
Choose an example:
application/json