Skip to main content
GET
/
users
/
activity
Get user activity feed
curl --request GET \
  --url https://api.agg.market/users/activity \
  --header 'Authorization: Bearer <token>' \
  --header 'x-app-id: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "status": "<string>",
      "type": "trade",
      "venue": "<string>",
      "side": "<string>",
      "amountRaw": "<string>",
      "filledAmountRaw": "<string>",
      "executionPrice": "<string>",
      "marketQuestion": "<string>",
      "outcomeLabel": "<string>",
      "txHash": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "hasMore": true
}

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Authorization
string
header
required

JWT access token returned by POST /auth/verify. Required for user-tier routes.

Query Parameters

type
enum<string>
Available options:
trade,
withdrawal,
bridge,
deposit,
user_op
cursor
string
limit
integer
Required range: 1 <= x <= 100

Response

200

data
object[]
required
nextCursor
string | null
required
hasMore
boolean
required