AGG is currently in alpha. APIs, components, and docs may change.
Agg.market — Prediction Market Aggregator logo

Place limit order

Places a venue-specific limit order. Funds or shares are reserved while the order is open and fills are reconciled asynchronously.

POSThttps://api.agg.market/execution/limit-orders

Places a venue-specific limit order. Funds or shares are reserved while the order is open and fills are reconciled asynchronously.

Loading code example
Loading code example

Authorizations

appIdstringheaderrequired

API key passed in the header.

Body

venue"kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"required
Allowed values: "kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"
venueMarketOutcomeIdstringrequired
side"buy" | "sell"required
Allowed values: "buy" | "sell"
limitPriceRawstringrequired
Pattern: ^[1-9][0-9]*$
sizeRawstringrequired
Pattern: ^[1-9][0-9]*$
timeInForce"GTC" | "GTD" | "FOK" | "FAK" | "IOC" | "ALO"required
Allowed values: "GTC" | "GTD" | "FOK" | "FAK" | "IOC" | "ALO"
postOnlyboolean
expiresAtstring<date-time>
clientOrderIdstring
Length: >= 1, <= 128

Response

application/json

200

orderIdstringrequired
status"pending" | "open" | "partially_filled_open" | "filled" | "cancelled" | "expired" | "failed"required
Allowed values: "pending" | "open" | "partially_filled_open" | "filled" | "cancelled" | "expired" | "failed"
venue"kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"required
Allowed values: "kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid"
venueOrderIdstring
reservedCostRawstring
limitPriceRawstringrequired
limitSizeRawstringrequired
filledSizeRawstringrequired
remainingSizeRawstringrequired