Skip to main content

Active Players Queries

These queries provide information about the number of users who have placed bets within the last hour.

totalActivePlayers​

Returns the count of total active players within the last hour, filtered by bet type.

Query​

query TotalActivePlayers($type: QueryUserBetType) {
totalActivePlayers(type: $type) {
count
formattedCount
}
}

Parameters​

ParameterTypeDescriptionRequired
typeQueryUserBetTypeFilter by bet type (SPORT, CASINO, BOTH)No

Response Structure​

type BetCountFormattedResponse {
count: number # The actual count of active players
formattedCount: string # The count formatted for display (e.g., "1.3K")
}

Example Response​

{
"data": {
"totalActivePlayers": {
"count": 1250,
"formattedCount": "1.3K"
}
}
}

Authorization​

This endpoint does not require authentication.

Use Cases​

  • Displaying active player statistics on the platform
  • Showing activity levels to potential users
  • Monitoring platform engagement