Skip to main content
POST /v1/orders is the canonical trade. Mithril risk-checks it, signs it with your attached venue credentials, submits it, and maps the venue’s response to one status model.

Place an order

Request fields

subaccount_id
string
required
Which subaccount (and its credentials + limits) to trade under.
market_id
string
required
The unified mkt_ market identifier.
token_id
string
required
The outcome token to trade, read from the market’s orderbook.
action
string
required
buy or sell.
order_type
string
required
limit or market.
quantity
string
required
Decimal number of shares, as a string (e.g. "5").
price
string
Limit price — a probability in (0, 1] as a string. Required for limit orders.
The idempotency-key header is required. See Idempotency.

Response

Both placing and fetching an order return the same OrderView:
status
string
Lifecycle state — see the table below.
traded_qty / remaining_qty
string
Filled and outstanding size.
average_price
string
Weighted average fill price so far.
reject_reason
string
Present only when status is rejected — e.g. a guardrail message.

Track an order

Order statuses

Cancel

A cancel only marks the order terminal once the venue confirms — so the API never reports a cancellation that didn’t actually happen.

List orders

Next: Smart execution

Work large orders into thin books instead of clipping the print.