List community members
vk_groups_get_membersRetrieve members of a VK community. Returns user IDs or selected profile fields, but many communities hide their member list, leading to an access error.
Instructions
List the members of a community. Returns bare user IDs unless you ask for fields, in which case it returns profiles. Many communities hide their member list, which comes back as an access error rather than an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: id_asc, id_desc, time_asc, time_desc | |
| count | No | Number of members to return (max 1000) | |
| fields | No | Additional profile fields to return (e.g. photo_200,online,sex,city) | |
| filter | No | Filter: managers, editors, mods, advertisers, friends, unsure | |
| offset | No | Offset for pagination | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Total number of matches on VK, which is usually larger than the returned page | |
| items | Yes | Member IDs, or profiles when fields are requested | |
| 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. |