Skip to content

Current Online Data ​

Parameters ​

ParameterDescriptionExample
dateRequest date. Return the data of the specified date. If this parameter is not set, the current online count should be returned.2022-09-01
serveridServer range. Return the data of the specified servers. If there is no server split, this parameter is not required. Multiple servers should be separated by ,.1001,1002
signSignature for data requests. Both parties may define the algorithm. It may be omitted when not required.Example: MD5(date + serid + "key"); the key is provided separately, for example, 8-32 characters using uppercase and lowercase letters.

Response ​

FieldDescriptionExample
dateOnline statistics time or current time2022-09-01 08:10:00
serveridServer ID1001
onlineCurrent online user countTotal online count under current conditions

Result Description

For the current online count, return detailed records if detailed time-period records are available. If there are no detailed records, return data within 10 to 20 minutes of the current time.

Response Example ​

json
[
  {"date":"2021-01-01 16:00:00","online":100,"serverid":20001},
  {"date":"2021-01-01 16:00:00","online":101,"serverid":20002}
]