Skip to main content
GET
/
users
/
me
Get current user
curl --request GET \
  --url https://api.agg.market/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'x-app-id: <api-key>'
{
  "id": "<string>",
  "username": "<string>",
  "avatarUrl": "<string>",
  "externalId": "<string>",
  "isLocationBlocked": true,
  "accounts": [
    {
      "type": "oauth",
      "provider": "wallet",
      "providerAccountId": "<string>"
    }
  ],
  "wallets": [
    {
      "chain": "evm",
      "address": "<string>"
    }
  ],
  "venueAccounts": [
    {
      "id": "<string>",
      "venue": "kalshi",
      "status": "<string>",
      "kycStatus": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.agg.market/llms.txt

Use this file to discover all available pages before exploring further.

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.

Response

200

id
string
required
username
string | null
required
avatarUrl
string | null
required
externalId
string | null
required
isLocationBlocked
boolean
required
accounts
object[]
required
wallets
object[]
required
venueAccounts
object[] | null
required