Submit Order
Trading
Submit Order
Place buy and sell orders on prediction markets
POST
Submit Order
Submit Order
Place a new order on a prediction market. Orders are routed to the optimal platform automatically.Endpoint
Request Body
The market ID to trade on
Order side:
buy or sellOrder type:
market or limitOrder amount in USD
Limit price (required for limit orders). Value between 0.01 and 0.99.
Time in force:
GTC (Good Til Cancelled), IOC (Immediate or Cancel), FOK (Fill or Kill)Specific wallet to use (optional, defaults to primary wallet)
Example Request
Response
Whether the order was submitted successfully
Order details
Example Response
Market Orders
Market orders execute immediately at the best available price.Market orders may experience slippage if liquidity is thin. For large orders, consider using limit orders.
Limit Orders
Limit orders only execute at your specified price or better.Time in Force Options
| Value | Description |
|---|---|
GTC | Good Til Cancelled - Order remains open until filled or cancelled |
IOC | Immediate or Cancel - Execute immediately; cancel unfilled portion |
FOK | Fill or Kill - Execute entire order immediately or cancel entirely |
Order Routing
Matchr automatically routes orders to the best platform based on:- Price - Best available price across platforms
- Liquidity - Sufficient depth to fill the order
- Fees - Platform fee comparison
- Slippage - Expected price impact
Routing Override
Force an order to a specific platform:Batch Orders
Submit multiple orders in a single request.Endpoint
Request Body
Response
Error Codes
| Code | Description |
|---|---|
400 | Invalid order parameters |
401 | Missing or invalid API key |
402 | Insufficient balance |
403 | Trading not enabled for this account |
404 | Market not found |
409 | Market closed or suspended |
422 | Order validation failed |
429 | Rate limit exceeded |
500 | Server error |
