Fetch public Twitter (X) user profiles by ID or username, run batch lookups, and retrieve timelines, followers, following, mentions, subscriptions, and long-form Articles as structured JSON.
{
"data": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"bio": "Mars & Cars, Chips & Dips",
"followers_count": 170000000,
"following_count": 500,
"tweet_count": 45000,
"verified": true,
"created_at": "2009-06-02T20:12:29Z",
"profile_image_url": "https://pbs.twimg.com/..."
}
}All endpoints return structured JSON and authenticate with your API key in the x-api-key header.
Get a complete user profile by numeric Twitter ID. Returns bio, follower/following counts, verification status, join date, and profile images.
/v1/twitter/users/{user_id}/by_idLook up any Twitter user by their @username. Get the complete profile including bio, stats, verification status, and profile images in one call.
/v1/twitter/users/{username}/by_usernameLook up to 100 Twitter profiles at once by numeric IDs. Perfect for enriching user datasets, CRM imports, and bulk profile analysis.
/v1/twitter/users/batch_by_idsPass up to 100 Twitter usernames and get complete profile data for all of them in a single API call.
/v1/twitter/users/batch_by_usernamesGet all tweets from any user's timeline with text, media, engagement metrics, and metadata. Paginate through their entire tweet history.
/v1/twitter/users/{username}/latest_tweetsGet the full list of followers for any Twitter account with complete profile data. Analyze audiences, find leads, and research influencer reach.
/v1/twitter/users/{username}/followersRetrieve the complete following list of any Twitter account. Discover who they follow, analyze network connections, and map social graphs.
/v1/twitter/users/{username}/followingsSee which premium accounts a user subscribes to. Analyze creator economy patterns and subscription-based engagement on Twitter.
/v1/twitter/users/{user_id}/subscriptionsFind Twitter users by searching names, usernames, and bios. Get full profile data for each result. Perfect for prospecting and audience discovery.
/v1/twitter/users/search_usersGet every tweet that mentions a specific user. Perfect for brand monitoring, customer feedback tracking, and reputation management.
/v1/twitter/users/{username}/mentionsRetrieve all long-form articles published by a specific Twitter user. Ideal for content analysis, curation, and competitive research.
/v1/twitter/users/{user_id}/articlesFailed requests never consume credits, and the exact charge is returned in the X-Credits-Used response header.
Start with pay-as-you-go credits (never expire) or save up to 64% with a monthly or annual subscription. No hidden fees, no lock-in.
Everything you need to know about the Twitter Users API.
Sign up free and get 1,000 API credits. No credit card required.
Disclaimer: ScrapeBadger is not affiliated with, endorsed by, or in any way officially connected with X Corp. (formerly Twitter, Inc.) or any of its subsidiaries or affiliates. The names Twitter, X, and related trademarks are the property of their respective owners.