Trading
Create Order
Changed onPlace a buy or sell order on Polymarket, Opinion, or Limitless. Returns the resulting order with id, fill status, average price, fees, and the on-chain tx hash once it settles.
Most callers pass an outcome straight from client.fetch_markets():
market = client.fetch_markets({"query": "trump 2028"})[0]
order = client.create_order(outcome=market.yes, side="buy", amount=10, order_type="limit", price=0.55)
Need to show the order to a user before they sign it (custom approval UX)? Use buildOrderHosted + submitOrderHosted instead — together they do the same thing.
post/v0/trade/create-order
Request
- Base URLhttps://trade.pmxt.dev
- URLhttps://trade.pmxt.dev/v0/trade/create-order
- AuthHTTP bearer
Request body
Response
Order accepted by the hosted backend.
Changes
- info
added the new
limitlessenum value to the request property
- info
- info
api tag
Tradingadded - info
api tag
Trading (Hosted)removed
- info