Get C2C Trade History (USER_DATA)
- If startTimestamp and endTimestamp are not sent, the recent 30-day data will be returned.
- The max interval between startTimestamp and endTimestamp is 30 days.
Weight(IP): 1
Query parameters
UTC timestamp in ms
UTC timestamp in ms
Default 1
default 100, max 100
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Trades history
Example response
{
"code": "000000",
"message": "success",
"data": [
{
"orderNumber": "20219644646554779648",
"advNo": "11218246497340923904",
"tradeType": "SELL",
"asset": "BUSD",
"fiat": "CNY",
"fiatSymbol": "¥",
"amount": "5000.00000000",
"totalPrice": "33400.00000000",
"unitPrice": "6.68",
"orderStatus": "COMPLETED",
"createTime": 1619361369000,
"commission": "0",
"counterPartNickName": "ab***",
"advertisementRole": "TAKER"
}
],
"total": 1
}Changes
Changed in 2 of the 26 revisions of this API.723
- ▲
the
queryrequest parametertradeTypebecame requiredrequest-parameter-became-required
- ▲
- ▲
for the
queryrequest parameterendTimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterpage, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrows, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
codebecame required for the status200response-property-became-required
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
databecame required for the status200response-property-became-required
- ○
the response property
data/items/advNobecame required for the status200response-property-became-required
- ○
the response property
data/items/advertisementRolebecame required for the status200response-property-became-required
- ○
the response property
data/items/amountbecame required for the status200response-property-became-required
- ○
the response property
data/items/assetbecame required for the status200response-property-became-required
- ○
the response property
data/items/commissionbecame required for the status200response-property-became-required
- ○
the response property
data/items/counterPartNickNamebecame required for the status200response-property-became-required
- ○
the response property
data/items/createTimebecame required for the status200response-property-became-required
- ○
the response property
data/items/fiatbecame required for the status200response-property-became-required
- ○
the response property
data/items/fiatSymbolbecame required for the status200response-property-became-required
- ○
the response property
data/items/orderNumberbecame required for the status200response-property-became-required
- ○
the response property
data/items/orderStatusbecame required for the status200response-property-became-required
- ○
the response property
data/items/totalPricebecame required for the status200response-property-became-required
- ○
the response property
data/items/tradeTypebecame required for the status200response-property-became-required
- ○
the response property
data/items/unitPricebecame required for the status200response-property-became-required
- ○
the response property
messagebecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
successbecame required for the status200response-property-became-required
- ○
the response property
totalbecame required for the status200response-property-became-required
- ▲