Place prediction market order
Orders
Place prediction market order
Place an order on a Polymarket prediction market. Specify the market with conditionId and outcome. You can pass tokenId to assert the expected outcome token, or let Docent resolve it for you. Docent automatically funds the trade from your unified balance if needed.
POST
Place prediction market order
Documentation Index
Fetch the complete documentation index at: https://docs.trydocent.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in the format dk_live_.... Pass as Authorization: Bearer dk_live_...
Body
application/json
Polymarket market condition ID
Outcome to trade
Available options:
Yes, No Available options:
BUY, SELL Number of shares
Example:
50
Tick-aligned limit price between 0.01 and 0.99
Required range:
0.01 <= x <= 0.99Example:
0.65
Optional token ID for the chosen outcome. If omitted, Docent resolves it from conditionId and outcome.