v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Futures Algo

Query Historical Algo Orders (USER_DATA)

  • You need to enable Futures Trading Permission for the api key which requests this endpoint.
  • Base URL: https://api.binance.com

Weight(IP): 1

get/sapi/v1/algo/futures/historicalOrders

Query parameters

symbolstring
Example:BNBUSDT

Trading symbol, e.g. BNBUSDT

side'SELL' | 'BUY'
Example:SELL
startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

pageinteger
Example:1

Default 1

pageSizestring

MIN 1, MAX 100; Default 100

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Historical Algo Orders

totalinteger required

Example response

{
  "total": 1,
  "orders": [
    {
      "algoId": 14517,
      "symbol": "ETHUSDT",
      "side": "SELL",
      "positionSide": "SHORT",
      "totalQty": "5.00",
      "executedQty": "0.000",
      "executedAmt": "0.00000000",
      "avgPrice": "0.00",
      "clientAlgoId": "d7096549481642f8a0bb69e9e2e31f2e",
      "bookTime": 1649756817004,
      "endTime": 1649757088101,
      "algoStatus": "WORKING",
      "algoType": "VP",
      "urgency": "LOW"
    }
  ]
}