Trading
Create Order
Place 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 body
Response
Order accepted by the hosted backend.