Get user positions
curl --request GET \
--url https://api.agg.market/execution/positions \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'{
"data": [
{
"targetMarketId": "<string>",
"resolutionDate": "<string>",
"venueMarket": {
"venueEventId": "<string>",
"question": "<string>",
"image": "<string>",
"venueMarketOutcomes": [
{
"label": "<string>",
"title": "<string>",
"venueBreakdown": [
{
"venueMarketId": "<string>",
"size": 123,
"venueMarketOutcomeId": "<string>"
}
],
"totalSize": 123,
"avgEntryPrice": 123,
"currentPrice": 123,
"totalValue": 123,
"unrealizedPnl": 123,
"unrealizedPnlPercent": 123,
"winner": true
}
]
},
"eventId": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}Users
Get user positions
Returns open positions grouped by matched market with per-venue breakdown and current pricing.
GET
/
execution
/
positions
Get user positions
curl --request GET \
--url https://api.agg.market/execution/positions \
--header 'Authorization: Bearer <token>' \
--header 'x-app-id: <api-key>'{
"data": [
{
"targetMarketId": "<string>",
"resolutionDate": "<string>",
"venueMarket": {
"venueEventId": "<string>",
"question": "<string>",
"image": "<string>",
"venueMarketOutcomes": [
{
"label": "<string>",
"title": "<string>",
"venueBreakdown": [
{
"venueMarketId": "<string>",
"size": 123,
"venueMarketOutcomeId": "<string>"
}
],
"totalSize": 123,
"avgEntryPrice": 123,
"currentPrice": 123,
"totalValue": 123,
"unrealizedPnl": 123,
"unrealizedPnlPercent": 123,
"winner": true
}
]
},
"eventId": "<string>"
}
],
"nextCursor": "<string>",
"hasMore": true
}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.
⌘I