Authorizations
Body
application/json
Maximum length:
10curl --request POST \
--url https://api.hypereth.io/v2/hyperliquid/batchPlaceOrder \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"orders": [
{
"symbol": "<string>",
"side": "buy",
"type": "limit",
"amount": "<string>",
"price": "<string>",
"clientOrderId": "<string>",
"reduceOnly": true,
"timeInForce": "GTC",
"stopPrice": "<string>",
"positionSide": "LONG",
"orderExpiry": 123
}
]
}'{
"success": true,
"results": [
{
"index": 0,
"success": true,
"order": {
"id": "1234567890",
"clientOrderId": "0x1234567890abcdef1234567890abcdef",
"symbol": "BTC",
"side": "buy",
"type": "limit",
"status": "open",
"price": "65000.0",
"amount": "0.01",
"filled": "0",
"remaining": "0.01",
"average": null,
"reduceOnly": false,
"positionSide": "LONG",
"createdAt": 1710000000000
}
},
{
"index": 1,
"success": false,
"error": {
"code": "insufficient_balance",
"message": "Insufficient balance for order",
"retriable": false
}
}
],
"successCount": 1,
"failureCount": 1,
"dataTime": 1710000000000
}Create multiple trading orders in a single request (max 10 orders)
curl --request POST \
--url https://api.hypereth.io/v2/hyperliquid/batchPlaceOrder \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"orders": [
{
"symbol": "<string>",
"side": "buy",
"type": "limit",
"amount": "<string>",
"price": "<string>",
"clientOrderId": "<string>",
"reduceOnly": true,
"timeInForce": "GTC",
"stopPrice": "<string>",
"positionSide": "LONG",
"orderExpiry": 123
}
]
}'{
"success": true,
"results": [
{
"index": 0,
"success": true,
"order": {
"id": "1234567890",
"clientOrderId": "0x1234567890abcdef1234567890abcdef",
"symbol": "BTC",
"side": "buy",
"type": "limit",
"status": "open",
"price": "65000.0",
"amount": "0.01",
"filled": "0",
"remaining": "0.01",
"average": null,
"reduceOnly": false,
"positionSide": "LONG",
"createdAt": 1710000000000
}
},
{
"index": 1,
"success": false,
"error": {
"code": "insufficient_balance",
"message": "Insufficient balance for order",
"retriable": false
}
}
],
"successCount": 1,
"failureCount": 1,
"dataTime": 1710000000000
}10Show child attributes