Skip to main content
POST /api/v1/orders Places a new order on the specified exchange.

Parameters

exchange
string
required
Exchange identifier: polymarket, kalshi, limitless, opinion, or predictfun.

Body

market_id
string
required
The market to place the order on.
outcome
string
required
The outcome to trade (e.g., "Yes" or "No").
side
string
required
Order side: "buy" or "sell".
price
number
required
Limit price between 0 and 1 (e.g., 0.65 for 65 cents).
size
number
required
Order size in contracts/shares.
params
object
Optional exchange-specific parameters.
KeyValuesDescription
order_typelimit (default), iocOrder type. ioc (Immediate-or-Cancel) fills what it can and cancels the rest.

Response

success
boolean
Whether the request succeeded.
data
Order
# Limit order (default)
curl -X POST \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "market_id": "0x1234abcd",
    "outcome": "Yes",
    "side": "buy",
    "price": 0.65,
    "size": 100
  }' \
  "https://api.parsecapi.com/api/v1/orders?exchange=polymarket"

# IOC order
curl -X POST \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "market_id": "0x1234abcd",
    "outcome": "Yes",
    "side": "buy",
    "price": 0.65,
    "size": 100,
    "params": { "order_type": "ioc" }
  }' \
  "https://api.parsecapi.com/api/v1/orders?exchange=polymarket"
{
  "success": true,
  "data": {
    "id": "order_abc123",
    "market_id": "0x1234abcd",
    "outcome": "Yes",
    "side": "buy",
    "price": 0.65,
    "size": 100.0,
    "filled": 0.0,
    "status": "open",
    "created_at": "2025-01-26T12:00:00Z",
    "updated_at": null
  }
}