✏️ User Stats

Get Global Message Stats

Global message statistics across all servers. Corresponds to MessageStatsDetailed schema.

get/api/v1/users/{user_id}/stats/global/messages

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/users/{user_id}/stats/global/messages
  • Auth: HTTP bearer

Path parameters

user_idstring required

Discord User ID

Query parameters

period'alltime' | '3years' | '2years' | '1year' | '180days' | '90days' | '30days' | '7days'

Response

Successful Response

successboolean
periodstring required
user_idstring required
server_idstring nullable
statsobject required
insightsstring[] required

Example response

{
  "stats": {
    "average_per_day": 50.8,
    "channel_breakdown": [],
    "daily_distribution": {},
    "hourly_distribution": {},
    "server_breakdown": [],
    "timeline": [],
    "total_messages": 1523,
    "trend": {
      "change": 203,
      "direction": "up",
      "percentage": 15.3
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.