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

string
required
Which subaccount (and its credentials + limits) to trade under.
string
required
The unified mkt_ market identifier.
string
required
The outcome token to trade, read from the market’s orderbook.
string
required
buy or sell.
string
required
limit or market.
string
required
Decimal number of shares, as a string (e.g. "5").
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:
string
Lifecycle state — see the table below.
string
Filled and outstanding size.
string
Weighted average fill price so far.
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.