Spot Trading
Bulk limit order
The endpoint creates bulk limit trading orders. Each order in the batch follows the same validation rules as a single limit order. The stopOnFail parameter controls whether processing stops at the first failure or continues through all orders. The response contains a result-or-error pair for each submitted order.
<Warning> Limit: From 1 to 20 orders per request. </Warning> <Note> - RPI orders do not appear in public order book feeds (`depth`, `bookTicker`). RPI orders are visible only in private active orders and in the exchange UI order book (web/mobile). - RPI orders are post-only by design and cannot be used with the IOC flag. The API returns error code `40` when both `rpi=true` and `ioc=true` are used. - `retail=true` marks the order as a retail-source taker eligible to match RPI-maker liquidity. The Retail flag must be enabled on the account; contact the account manager to enable it. - `retail=true` and `rpi=true` cannot be combined. The API returns error code `41` when both flags are set on an item. - `retail=true` has no effect on a `postOnly=true` item. Post-only orders are makers and cannot be retail takers. </Note> <Accordion title="Error Codes"> - `30` - default validation error code - `31` - market validation failed - `32` - amount validation failed - `33` - price validation failed - `36` - clientOrderId validation failed - `37` - `ioc=true` cannot be combined with `postOnly=true` - `40` - `ioc=true` cannot be combined with `rpi=true` - `41` - `retail=true` cannot be combined with `rpi=true` - `42` - `retail=true` is not allowed for the account - `43` - `rpi=true` is not allowed for the account </Accordion> <Accordion title="Errors">post/api/v4/order/bulk
Request
- Base URLhttps://whitebit.com
- AuthAPI key in header X-TXC-APIKEY and API key in header X-TXC-PAYLOAD and API key in header X-TXC-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Changes
No recorded changes to this operation across all 1 revision of this API.