Skip to content
API reference /Account & trading

Submit multiple orders

Place two ETH limit buys at different prices.

Endpoint & access

POST
/api/v1/spot/batch_order

Whitelist Required

Request whitelist approval for your API key. This endpoint is available only after approval.

Rate limit

  • 1 request / 1 second

JSON body

Content-Type: application/json

The request is an array of objects. Each object contains the following parameters:

Field Data type Required Meaning
instrument_id string YES Trading pair, for example ETH/USDT
direction string YES Order direction: 1 for buy, 2 for sell.
price string YES Order price
quantity string YES Order quantity

Returned fields

Field Data type Meaning
order_id string Order ID

Example input

JSON request body:

[
  {
    "instrument_id": "ETH/USDT",
    "direction": "1",
    "price": "2420",
    "quantity": "0.50"
  },
  {
    "instrument_id": "ETH/USDT",
    "direction": "1",
    "price": "2400",
    "quantity": "0.30"
  }
]

Example result

{
  "code": 200,
  "data": [
    {
      "order_id": "7402100000000061001",
      "code": "200",
      "message": ""
    },
    {
      "order_id": "7402100000000061002",
      "code": "200",
      "message": ""
    }
  ]
}