v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
CLOB

Submit order

Submit a new order to the CLOB.

post/orders/v1/insert_order

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Request body

OR
OR
OR
OR

Example request

{
  "account": "firms/F-PLAT01/accounts/CUST01-customlabel",
  "user": "firms/F-PLAT01/user/CUST01",
  "cash_order_qty": "0",
  "clord_id": "1245567889",
  "good_till_time": "2025-09-12T18:07:22.155905574Z",
  "min_qty": "0",
  "order_capacity": "ORDER_CAPACITY_INDIVIDUAL",
  "order_qty": "200000",
  "price": "420000",
  "self_match_prevention_instruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
  "session_id": "string",
  "side": "SIDE_BUY",
  "stop_price": "0",
  "symbol": "ETH/USD",
  "time_in_force": "TIME_IN_FORCE_GOOD_TILL_CANCEL",
  "trigger_method": "CONDITION_TRIGGER_METHOD_UNDEFINED",
  "type": "ORDER_TYPE_LIMIT"
}

Response

A successful response

order_idstring

The unique ID for the order generated by zerohash

Example response

{
  "order_id": "4RHK6N1G05ZF"
}