Retrieve members of an X list with profile details and follower counts
cURL
curl --request GET \ --url https://api.example.com/x/lists/{id}/members \ --header 'x-api-key: <x-api-key>'
curl "https://xquik.com/api/v1/x/lists/1234567890/members" \ -H "x-api-key: xq_YOUR_KEY_HERE" | jq
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_list_id", "message": "List ID required" }
{ "error": "unauthenticated" }
{ "error": "no_subscription" }
Was this page helpful?