Place an order
trade/v1/ordersAuthorization
AuthorizationRequiredBearer <token>
Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….
In: header
Scope: orders:place
Request Body
application/jsonRequiredcollateral_amount_microstring
Collateral amount to spend, in micro units. The size for a MARKET
BUY. Exactly one of collateral_amount_micro and shares_micro may
be set.
expiration_unix_secondsinteger | null
Expiration in Unix seconds. Required for GTD and must be at least
30 seconds in the future; omit it for every other time-in-force.
"int64"post_onlyboolean | null
Post-only flag. LIMIT only; the order is rejected instead of
crossing the spread. Defaults to false.
price_microstring
Limit price in micro units. Required for LIMIT; rejected for MARKET.
shares_microstring
Shares amount in micro units. The size for a LIMIT order or a
MARKET SELL. Exactly one of collateral_amount_micro and
shares_micro may be set.
sideRequiredstring
Order side.
"BUY" | "SELL"time_in_forceRequiredstring
Time in force.
"FAK" | "FOK" | "GTC" | "GTD"token_idRequiredstring
Outcome token id.
typeRequiredstring
Order type.
"LIMIT" | "MARKET"Order accepted; engine match lands asynchronously.