Modbot Docs
APIAPI referenceAnalytics

Get member count

GET/api/analytics/group/member-count

Every reading the group-info sync took of VRChat's memberCount and onlineMemberCount, about one every five minutes, over the last day, week (the default), month or all recorded time. Long ranges are thinned to at most about 500 points: the window is cut into equal steps and the last reading in each is kept, so every point is a number VRChat reported at the time given. Time from before the first stored reading comes from group-info facts, one point per day. Readings older than the presence retention window are deleted when one is set.

Needs the ViewAnalytics permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Query Parameters

range?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/analytics/group/member-count"
{  "range": "string",  "from": "2019-08-24T14:15:22Z",  "to": "2019-08-24T14:15:22Z",  "stepSeconds": 0,  "points": [    {      "at": "2019-08-24T14:15:22Z",      "members": 0,      "online": 0,      "carried": false    }  ],  "generatedAt": "2019-08-24T14:15:22Z",  "daysWithoutReadings": [    "2019-08-24"  ]}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.