Skip to main content

Get History Transactions

Get history transactions for a futures symbol with advanced filtering options.

HTTP Request

GET /api/v1/future/market/fills-history

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesTrading pair symbol (e.g., BTCUSDT)
limitnumberNoNumber of trades to return (default: 500, max: 1000)
idLessThannumberNoReturn trades with ID less than this value
startTimenumberNoStart time in milliseconds (Unix timestamp)
endTimenumberNoEnd time in milliseconds (Unix timestamp)

Request Example

Basic Request

curl -X GET "https://open-api.bydoxe.com/api/v1/future/market/fills-history?symbol=BTCUSDT&limit=500"

Request with Time Range

curl -X GET "https://open-api.bydoxe.com/api/v1/future/market/fills-history?symbol=BTCUSDT&startTime=1732000000000&endTime=1732086400000&limit=500"

Request with ID Filter

curl -X GET "https://open-api.bydoxe.com/api/v1/future/market/fills-history?symbol=BTCUSDT&idLessThan=123456789&limit=500"

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataarrayArray of historical trade data
> symbolstringTrading pair symbol
> tradeIdstringUnique trade ID
> pricestringTrade execution price
> sizestringTrade size (quantity)
> sidestringTrade side: "BUY" or "SELL"
> tsnumberTrade timestamp in milliseconds (Unix timestamp)

Response Example

Success Response

{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": [
{
"symbol": "BTCUSDT",
"tradeId": "123456789",
"price": "91210.20",
"size": "0.001",
"side": "BUY",
"ts": 1763459280833
}
]
}

Error Codes

CodeMessage
40034symbol does not exist
40034idLessThan and startTime/endTime cannot be sent together
40034startTime and endTime must be less than 1 hour
50010Upstream response invalid