Redeem winnings for resolved positions
curl --request POST \
--url https://api.agg.market/execution/redeem \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"venueMarketOutcomeIds": [
"<string>"
]
}
'{
"redeemId": "<string>",
"results": [
{
"venueMarketOutcomeId": "<string>",
"callsId": "<string>",
"pendingUserOpId": "<string>",
"txHash": "<string>",
"reason": "<string>"
}
]
}Execution
Redeem winnings for resolved positions
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.
POST
/
execution
/
redeem
Redeem winnings for resolved positions
curl --request POST \
--url https://api.agg.market/execution/redeem \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-app-id: <api-key>' \
--data '
{
"venueMarketOutcomeIds": [
"<string>"
]
}
'{
"redeemId": "<string>",
"results": [
{
"venueMarketOutcomeId": "<string>",
"callsId": "<string>",
"pendingUserOpId": "<string>",
"txHash": "<string>",
"reason": "<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
Required array length:
1 - 20 elements⌘I