v1
latestOpenAPI 3.0.12026-07-2683220192.3 KBGet Activities
Get activities for a user including trades, position resolutions, and account balance changes
Query parameters
Maximum number of activities to return per page. Use with cursor for pagination. Default: 100. Example: 50
Pagination cursor from a previous response's nextCursor field. Use to fetch the next page of results. Omit for the first request
Filter activities by a specific market slug. Returns only activities (trades, resolutions) related to that market. Example: will-team-a-win
Filter by activity types. When specified, only returns activities of the selected types. TRADE (order executions), POSITION_RESOLUTION (market settlements), ACCOUNT_DEPOSIT/WITHDRAWAL (fund transfers)
Sort order for activities by timestamp. DESCENDING returns newest first (default), ASCENDING returns oldest first
Response
List of activities
Example response
{
"activities": [
{
"positionResolution": {
"beforePosition": {
"cost": {
"value": "123.45"
},
"realized": {
"value": "123.45"
},
"cashValue": {
"value": "123.45"
}
},
"afterPosition": {
"cost": {
"value": "123.45"
},
"realized": {
"value": "123.45"
},
"cashValue": {
"value": "123.45"
}
}
},
"accountBalanceChange": {
"amount": {
"value": "123.45"
}
}
}
]
}