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

Execute quote

Accepts a previously quoted smart-route quote and returns pending order IDs for the submitted fill execution.

POSThttps://api.agg.market/execution/fill

Accepts a previously quoted smart-route quote and returns pending order IDs for the submitted fill execution.

Loading code example
Loading code example

Authorizations

appIdstringheaderrequired

API key passed in the header.

Body

quoteIdstringrequired
mode"live" | "paper"
Allowed values: "live" | "paper"
fallbackToLatestobject
fallbackToLatest.outcomeIdstringrequired
fallbackToLatest.side"buy" | "sell"required
Allowed values: "buy" | "sell"
fallbackToLatest.maxSpendnumber
fallbackToLatest.sellSharesnumber
fallbackToLatest.allowedVenuesarray<"kalshi" | "polymarket" | "limitless" | "opinion" | "predict" | "probable" | "myriad" | "hyperliquid">

Response

application/json

200

quoteIdstringrequired
orderIdsarray<string>required
status"pending"required
Allowed values: "pending"
redeemIdstring
messagestring