Users
Get user by ID
Get a user profile by their numeric Twitter ID. Returns comprehensive profile data including bio, follower/following counts, verification status, and account metadata. Use this when you have the numeric ID and need full profile details.
get/v1/twitter/users/{user_id}/by_id
Request
- Base URLhttps://scrapebadger.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
Example:44196397
The unique numeric ID of the user.
Response
Successfully retrieved user profile.
Example response
{
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"description": "Mars & Cars, Chips & Dips",
"location": "Mars",
"created_at": "Tue Jun 02 20:12:29 +0000 2009"
}Changes
No recorded changes to this operation across all 1 revision of this API.