Skip to main content
POST
/
v1
/
aster
/
fapi
/
v1
/
batchOrders
Place Multiple Orders
curl --request POST \
  --url https://api.hypereth.io/v1/aster/fapi/v1/batchOrders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'batchOrders=<string>' \
  --data recvWindow=123 \
  --data timestamp=123
[
  {
    "clientOrderId": "<string>",
    "cumQty": "<string>",
    "cumQuote": "<string>",
    "executedQty": "<string>",
    "orderId": 123,
    "avgPrice": "<string>",
    "origQty": "<string>",
    "price": "<string>",
    "reduceOnly": true,
    "side": "<string>",
    "positionSide": "<string>",
    "status": "<string>",
    "stopPrice": "<string>",
    "closePosition": true,
    "symbol": "<string>",
    "timeInForce": "<string>",
    "type": "<string>",
    "origType": "<string>",
    "activatePrice": "<string>",
    "priceRate": "<string>",
    "updateTime": 123,
    "workingType": "<string>",
    "priceProtect": true
  }
]

Authorizations

Authorization
string
header
required

HMAC SHA256 signature authentication for v1 endpoints

Body

application/x-www-form-urlencoded
batchOrders
string
required

JSON array of order objects

timestamp
integer
required
recvWindow
integer

Response

200 - application/json

Batch orders placed

clientOrderId
string
cumQty
string
cumQuote
string
executedQty
string
orderId
integer
avgPrice
string
origQty
string
price
string
reduceOnly
boolean
side
string
positionSide
string
status
string
stopPrice
string
closePosition
boolean
symbol
string
timeInForce
string
type
string
origType
string
activatePrice
string
priceRate
string
updateTime
integer
workingType
string
priceProtect
boolean