Twitter User Details (V1) - Data API Endpoint

User Details (V1) by bearer token, user id and username.


Download Twitter User Details (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.

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 tweets from.

E.g. noradio

📝 Notes

Scrape any Twitter user’s public details per the Official Twitter API documentation. You can enter in either the Twitter username or the user ID, and you’ll get back data including the users’ follower counts, account age, profile photo and public bio, which sometimes contains email and phone number.

As of late 2021 however, Twitter is in the process of deprecating the V1 API. We instead recommend using the new V2 version of the Twitter API linked to on this page, specifically either the user details by username or user details by ID (they are now two separate endpoints).

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

⚡️ Endpoint

GET https://api.twitter.com/1.1/users/lookup.json?user_id={{user_id}}&screen_name={{username}}

Body

None

Headers

Authorization
Bearer {{access_token}}