Retrieve members of an X community with profile details and follower counts
cURL
curl --request GET \ --url https://api.example.com/x/communities/{id}/members \ --header 'x-api-key: <x-api-key>'
curl https://xquik.com/api/v1/x/communities/1234567890/members \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq
Show user object
cursor
{ "users": [ { "id": "987654321", "username": "xquikcom", "name": "Xquik", "followers": 10000, "verified": true, "profilePicture": "https://pbs.twimg.com/profile_images/xquik/photo.jpg" } ], "has_next_page": true, "next_cursor": "DAACCgACGE..." }
{ "error": "invalid_community_id" }
{ "error": "unauthenticated" }
{ "error": "no_subscription" }
{ "error": "x_api_unavailable" }
Was this page helpful?