---
title: "GroupMembers queries members of a group by group id."
method: GET
path: "/cosmos/group/v1/group_members/{group_id}"
tags: ["Query"]
---

# GroupMembers queries members of a group by group id.

`GET /cosmos/group/v1/group_members/{group_id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `group_id` string, uint64, required

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
  - `members` object[]: members are the members of the group with given group_id.
    - `group_id` string, uint64: group_id is the unique ID of the group.
    - `member` object: member is the member data.
      - `address` string: address is the member's account address.
      - `weight` string: weight is the member's voting weight that should be greater than 0.
      - `metadata` string: metadata is any arbitrary metadata attached to the member.
      - `added_at` string, date-time: added_at is a timestamp specifying when a member was added.
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-01-28** `7ee619f48b09`: 1 info
  - endpoint added
- **2024-03-22** `f6ed714cd62d`: 1 breaking
  - api path removed without deprecation
- **2024-03-22** `426ef0503938`: 1 info
  - endpoint added
- **2024-02-21** `9da39c06448a`: 1 breaking
  - api path removed without deprecation
- **2024-02-07** `0345868c59cf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/changes/cosmos/group/v1/group_members/:group_id/get.md)

---

[API](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/tellor-io/apis/layer-grpc-gateway-docs/revisions/52aa42be34ad?raw)
