Skip to main content
POST
/
execution
/
limit-orders
Place limit order
curl --request POST \
  --url https://api.agg.market/execution/limit-orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-app-id: <api-key>' \
  --data '
{
  "venueMarketOutcomeId": "<string>",
  "limitPriceRaw": "<string>",
  "sizeRaw": "<string>",
  "postOnly": true,
  "expiresAt": "2023-11-07T05:31:56Z",
  "clientOrderId": "<string>"
}
'
{
  "orderId": "<string>",
  "limitPriceRaw": "<string>",
  "limitSizeRaw": "<string>",
  "filledSizeRaw": "<string>",
  "remainingSizeRaw": "<string>",
  "venueOrderId": "<string>",
  "reservedCostRaw": "<string>"
}

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Authorization
string
header
required

JWT access token returned by POST /auth/verify. Required for user-tier routes.

Body

application/json
venue
enum<string>
required
Available options:
kalshi,
polymarket,
limitless,
opinion,
predict,
probable,
myriad,
hyperliquid
venueMarketOutcomeId
string
required
side
enum<string>
required
Available options:
buy,
sell
limitPriceRaw
string
required
Pattern: ^[1-9][0-9]*$
sizeRaw
string
required
Pattern: ^[1-9][0-9]*$
timeInForce
enum<string>
required
Available options:
GTC,
GTD,
FOK,
FAK,
IOC,
ALO
postOnly
boolean
expiresAt
string<date-time>
clientOrderId
string
Required string length: 1 - 128

Response

200

orderId
string
required
status
enum<string>
required
Available options:
pending,
open,
partially_filled_open,
filled,
cancelled,
expired,
failed
venue
enum<string>
required
Available options:
kalshi,
polymarket,
limitless,
opinion,
predict,
probable,
myriad,
hyperliquid
limitPriceRaw
string
required
limitSizeRaw
string
required
filledSizeRaw
string
required
remainingSizeRaw
string
required
venueOrderId
string | null
reservedCostRaw
string | null