Twitter User List Memberships (V1) - Data API Endpoint

User List Memberships (V1) by bearer token, pagination cursor, user id and username.


Download Twitter User List Memberships (V1) data from the Official Twitter API | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Bearer Token access_token Required

Your Twitter app’s Bearer Token for collecting data with. If you don’t have one, see How to Get a Twitter API Key Without Approval or check out Twitter’s docs on Bearer Tokens for more information.

If you get the error client-not-enrolled, then make sure you’re not using a standalone app and try creating a new application with the Add App button under a project and NOT under the standalone section.

Pagination Cursor pagination_cursor Optional

Used for pagination. Leave this blank for the first request and look for “next cursor” in the response to feed here to get the 2nd page of results and so on.

User ID user_id Optional

The ID of the user for whom to return results.

E.g. 12345
Username username Optional

The user name of the user to get the followers of. Leave out the @.

E.g. noradio

📝 Notes

Scrapes all the lists that the given Twitter user is a member of. E.g. if you put in a popular user, like Elon Musk, you’ll get back a lot of lists, so this data will most likely be more useful if working with more niche-specific interests.

See the Twitter API List Memberships Endpoint for more information.

Posted by steve on Sept. 29, 2022, 6:30 a.m. 🚩  Report

⚡️ Endpoint

GET https://api.twitter.com/1.1/lists/memberships.json?user_id={{user_id}}&screen_name={{username}}&count=1000&cursor={{ pagination_cursor }}

Body

None

Headers

Authorization
Bearer {{access_token}}