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

Redeem winnings for resolved positions

Converts a user's winning prediction-market positions to USDC.

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

Converts a user's winning prediction-market positions to USDC. EVM venues submit gas-sponsored transactions and complete asynchronously via ws redeem_event; Kalshi via dFlow credits synchronously after Solana confirmation.

Loading code example
Loading code example

Authorizations

appIdstringheaderrequired

API key passed in the header.

Body

venueMarketOutcomeIdsarray<string>required
Required array length: 1 - 20 elements

Response

application/json

200

redeemIdstringrequired
resultsarray<object>required
results.venueMarketOutcomeIdstringrequired
results.status"submitted" | "confirmed" | "ineligible" | "rejected"required
Allowed values: "submitted" | "confirmed" | "ineligible" | "rejected"
results.callsIdstringrequired
results.pendingUserOpIdstringrequired
results.txHashstringrequired
results.reasonstringrequired