HTTP · Spot trading

Get Spot Fills

Returns execution details (fills) of spot orders.

GEThttps://api.koinsayang.com/api/v2/spot/trade/fills

Request parameters

NameTypeRequiredDescription
symbol
query
stringOptionalCurrency pair, e.g. USDT
orderId
query
stringOptionalOrder ID
startTime
query
stringOptionalQuery start time
endTime
query
stringOptionalQuery end time
idLessThan
query
stringOptionalLast ID from the previous page, for pagination
limit
query
stringOptionalNumber of records, default 100, max 100

Response fields

FieldTypeDescription
userIdstringUser
symbolstringCurrency pair
orderIdstringOrder ID
tradeIdstringTrade ID
orderTypestringOrder type
sidestringOrder side
priceAvgstringFill price
sizestringFilled quantity
amountstringTotal filled value (gross)
cTimestringCreation time
uTimestringLast update time
feeDetailobjectFee details
tradeScopestringTrade scope; see enumeration values: order trade scope

Response example

200 · application/json
{
"code": "00000",
"msg": "success",
"requestTime": 1766137735069,
"data": [
{
"userId": "1009178902657",
"symbol": "BTCUSD",
"orderId": "1385439562767183872",
"tradeId": "1385446196172169218",
"orderType": "limit",
"side": "buy",
"priceAvg": "100100.29",
"size": "0.1",
"amount": "10010.029",
"feeDetail": {
"deduction": "no",
"feeCoin": "BTC",
"totalDeductionFee": "",
"totalFee": "-0.0001"
},
"tradeScope": "maker",
"cTime": "1766042034190",
"uTime": "1766042034254"
}
]
}