Users
Batch get users by IDs
Fetch multiple user profiles by their numeric IDs in a single request. Returns comprehensive user profile data for each requested ID. More efficient than making individual requests when you need data for multiple users.
get/v1/twitter/users/batch_by_ids
Request
- Base URLhttps://scrapebadger.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
user_idsstring required
Example:44196397,50393960
Comma-separated list of numeric user IDs.
Response
Successfully retrieved users.
Example response
{
"data": [
{
"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.