Fetch Members

This guide will help you with fetching Group members from Lens API.


Fetch Groups Members

Use the paginated groupMembers query to fetch a list of group members based on the provided group address.

The Fetch Account guide provides a more detailed explanation of how to fetch an account.

query {  groupMembers(    request: {      # the group to fetch members for      group: "0x1234…"    }  ) {    items {      address {        username        metadata {          name          picture        }      }    }    pageInfo {      prev      next    }  }}

See the Pagination guide for more information on how to handle paginated results.