POST
GetUserQuickStats
GetUserQuickStats returns a summary of the user's engagement (watchlist count, likes, etc.).
/api.v1.user.UserService/GetUserQuickStats Bearer required01
Request
GetUserQuickStatsRequest
GetUserQuickStatsRequestapi.v1.user.GetUserQuickStatsRequest1 fields
GetUserQuickStatsRequest specifies the target user for quick statistics.
userIdoptionaluint32Optional user ID. If omitted, refers to the authenticated user.
{
"userId": 1
}02
Response
GetUserQuickStatsResponse
GetUserQuickStatsResponseapi.v1.user.GetUserQuickStatsResponse4 fields
GetUserQuickStatsResponse provides summary counts of user interactions.
recentWatchCountint64Total number of anime in the user's recent watch history.
likedCountint64Total number of episodes the user has liked.
dislikedCountint64Total number of episodes the user has disliked.
watchlistCountint64Total number of items in the user's watchlist.
{
"recentWatchCount": "1",
"likedCount": "1",
"dislikedCount": "1",
"watchlistCount": "1"
}03
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.