Community statistics
vk_stats_getRetrieve community statistics including reach, visitors, and activity for specified time intervals. Requires admin privileges.
Instructions
Read a community's statistics by period: reach, visitors and activity. The token owner must be an administrator of that community, otherwise VK denies access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>"
},
"name": "vk_stats_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | Community ID or its short name (e.g. apiclub). Positive and without the minus sign — the minus belongs to owner_id on a wall, not here. | |
| interval | No | ||
| intervals_count | No | Number of intervals |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Total number of matches on VK, which is usually larger than the returned page | |
| items | Yes | One entry per statistics period | |
| pagination | No | Where this page sits in the whole result. Call the tool again with offset set to next_offset to continue; when next_offset is null there is nothing left to fetch. |