Community

Community Members

Changed on

Returns a paginated list of user profiles for members of the specified Twitter/X Community. Each profile includes display name, bio, follower stats, avatar, account creation date, and verification status. Provide community_id or community_link; community_id takes precedence. Both fields accept an ID or community URL.

post/community-members

Request

Request body

community_idstring

Community ID or URL. Takes precedence over community_link.

community_linkstring

Community URL or ID. Required when community_id is absent.

next_cursorstring

Pagination cursor from a previous response.

Example request

{
  "community_id": "1966045657589813686",
  "community_link": "https://x.com/i/communities/1966045657589813686",
  "next_cursor": "123"
}

Response

OK

next_cursorstring

Cursor for fetching the next page of results. Null or absent if no more pages.

Example response

{
  "users": [
    {
      "display_name": "Elon Musk",
      "id": "44196397",
      "profile_image_url": "https://pbs.twimg.com/profile_images/123/photo.jpg",
      "username": "elonmusk",
      "verified": true
    }
  ]
}

Changes

    • info

      added the new optional request property

    • info

      the request property became optional