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>"
}Execution
Place limit order
Places a venue-specific limit order. Funds or shares are reserved while the order is open and fills are reconciled asynchronously.
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
Your application ID. Required for all app-tier and user-tier routes.
JWT access token returned by POST /auth/verify. Required for user-tier routes.
Body
application/json
Available options:
kalshi, polymarket, limitless, opinion, predict, probable, myriad, hyperliquid Available options:
buy, sell Pattern:
^[1-9][0-9]*$Pattern:
^[1-9][0-9]*$Available options:
GTC, GTD, FOK, FAK, IOC, ALO Required string length:
1 - 128Response
200
Available options:
pending, open, partially_filled_open, filled, cancelled, expired, failed Available options:
kalshi, polymarket, limitless, opinion, predict, probable, myriad, hyperliquid ⌘I