Skip to main content
POST
Place a signed order

Authorizations

X-Auth-Apikey
string
header
required

HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and X-Auth-Signature.

Body

application/json
market_id
number
required

The market. A JSON number; a numeric string ("12") is accepted too. Anything else is a 422.

Example:

12

ord_type
enum<string>
required
Available options:
limit
Example:

"limit"

side
enum<string>
required

The OUTCOME this order is about — never buy/sell. Pair it with direction: a sell of yes and a buy of no are different orders that happen to sit on the same side of the book.

Available options:
yes,
no
Example:

"yes"

signed_order
object
required

The EIP-712-signed order. Validated before anything is placed — a signature the server cannot verify is rejected, never rested.

volume
string
required

Number of contracts, with at most the market's amount_precision decimals (2): 8.47 is valid, 8.475 is rejected, not rounded.

Example:

"100"

client_order_id
string

Your own id for this order, 1–64 characters of A-Z a-z 0-9 _ -. Echoed on the order and its websocket frames, and filterable on the order list. A second order with an id you used in the last 7 days is rejected with 409 order.duplicate_client_order_id, so a retried placement can never create two orders.

Example:

"bot-7f3a-0001"

direction
enum<string>

Whether you are opening or closing. buy posts collateral and acquires the outcome; sell offers outcome tokens you already hold, so it locks INVENTORY rather than cash and its locked is zero. Defaults to buy, which is how every order behaved before position exit. See /account/positions for how much of a holding is sellable.

Available options:
buy,
sell
Example:

"buy"

ioc
boolean

Immediate-or-cancel. Set it on a marketable order — the "market" order a signed wallet has to send as a limit at a price ceiling: whatever the book cannot fill on arrival is refunded instead of resting at that ceiling. Ignored together with post_only. Recorded on the order as ioc.

Example:

false

post_only
boolean

Reject the order if it would take liquidity. A post-only order reserves no taker fee, because it can only ever rest as a maker.

Example:

false

price
string

Limit price, 0.01–0.99, in whole cents (e.g. 0.27, not 0.275) — an order finer than the market precision is rejected, not rounded. Required for a limit order.

Example:

"0.6"

Response

avg_price
string | null
required

Average price of the filled part, in the order's own outcome price space. Null while nothing has filled.

Example:

"0.61"

client_order_id
string | null
required

The client_order_id you sent; null when none was.

Example:

"bot-7f3a-0001"

contracts_count
number
required

Contracts formed from this order.

Example:

1

created_at
string
required

RFC 3339, UTC.

Example:

"2026-08-07T10:00:00Z"

direction
enum<string>
required
Available options:
buy,
sell
Example:

"buy"

event_slug
string | null
required

The parent event's slug, for linking. Null when unknown.

Example:

"btc-above-70k-december-2026"

expires_at
string | null
required

When the order's signature lapses (RFC 3339, UTC); null when it has none. The engine never matches an order within 30 seconds of it.

Example:

"2026-08-07T11:00:00Z"

fee
string
required

Taker fee charged to this order so far, in quote_currency. "0" for a maker.

Example:

"0.17"

filled_cost
string | null
required

Cash for the filled part at the fill prices: paid on a buy, received before fees on a sell. Excludes fee. "0" while nothing has filled.

Example:

"36.6"

filled_volume
string
required
Example:

"60"

id
number
required
Example:

90311

ioc
boolean
required

Immediate-or-cancel: the unfilled remainder is refunded, never rested.

Example:

false

locked
string
required

Collateral still locked. A separate taker-fee reserve is held alongside it and released when unused. Zero on a sell, which locks inventory instead.

Example:

"24.68"

market_id
number
required

The market.

Example:

12

market_title
string | null
required

The market's title. Null when the engine does not know the market's metadata.

Example:

"Will BTC close above $70,000 on 31 Dec 2026?"

ord_type
enum<string>
required
Available options:
limit
Example:

"limit"

origin_locked
string
required

Collateral locked when the order was placed.

Example:

"61.68"

origin_volume
string
required
Example:

"100"

post_only
boolean
required

Rejected rather than allowed to take liquidity.

Example:

false

price
string
required

Limit price, 0.01–0.99.

Example:

"0.6"

quote_currency
string
required
Example:

"usdc"

remaining_volume
string
required

Unmatched remainder.

Example:

"40"

side
enum<string>
required

The outcome traded.

Available options:
yes,
no
Example:

"yes"

state
enum<string>
required
Available options:
wait,
done,
cancel,
reject
Example:

"wait"

token_id
string | null
required

The on-chain ERC-1155 token for side, as a decimal string (a uint256 — do not parse as a number). Null when the market has no on-chain token.

Example:

"52114319501245915516055106046884209969926127482827954674443846427813813222426"

updated_at
string
required

RFC 3339, UTC.

Example:

"2026-08-07T10:05:00Z"

volume
string
required

Unmatched remainder (same as remaining_volume).

Example:

"40"