Place multiple orders in one request.
Each order is processed independently — individual failures don’t block the rest. The batch size is limited by your API tier.
curl --request POST \
--url https://staging-api.polysimulator.com/v1/orders/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"orders": [
{
"market_id": "<string>",
"side": "BUY",
"outcome": "<string>",
"quantity": "<string>",
"order_type": "market",
"price": "<string>",
"time_in_force": "GTC",
"client_order_id": "<string>",
"max_slippage_bps": 5000
}
]
}
'{
"results": [
{
"order_id": 123,
"status": "<string>",
"order_type": "<string>",
"side": "<string>",
"outcome": "<string>",
"price": "<string>",
"quantity": "<string>",
"notional": "<string>",
"fee": "<string>",
"filled_at": "<string>",
"price_source": "<string>",
"slippage_bps": 123,
"account_balance": "<string>",
"position": {}
}
],
"succeeded": 123,
"failed": 123
}Your PolySimulator API key
1 - 20 elementsShow child attributes
Was this page helpful?
curl --request POST \
--url https://staging-api.polysimulator.com/v1/orders/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"orders": [
{
"market_id": "<string>",
"side": "BUY",
"outcome": "<string>",
"quantity": "<string>",
"order_type": "market",
"price": "<string>",
"time_in_force": "GTC",
"client_order_id": "<string>",
"max_slippage_bps": 5000
}
]
}
'{
"results": [
{
"order_id": 123,
"status": "<string>",
"order_type": "<string>",
"side": "<string>",
"outcome": "<string>",
"price": "<string>",
"quantity": "<string>",
"notional": "<string>",
"fee": "<string>",
"filled_at": "<string>",
"price_source": "<string>",
"slippage_bps": 123,
"account_balance": "<string>",
"position": {}
}
],
"succeeded": 123,
"failed": 123
}