Look up to 100 Twitter profiles at once by numeric IDs. Perfect for enriching user datasets, CRM imports, and bulk profile analysis.
Average response time: 100ms
const ids = '44196397,783214,17874544';
const response = await fetch(
`https://scrapebadger.com/v1/twitter/users/batch_by_ids?user_ids=${ids}`,
{ headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const users = await response.json();
users.data.forEach(u => console.log(u.username, u.followers_count));{
"data": [
{ "id": "44196397", "username": "elonmusk", "followers_count": 170000000 },
{ "id": "783214", "username": "Twitter", "followers_count": 65000000 },
{ "id": "17874544", "username": "TwitterSupport", "followers_count": 8000000 }
]
}/v1/twitter/users/batch_by_ids| Parameter | Type | Required | Description |
|---|---|---|---|
user_ids | string | Required | Comma-separated list of numeric user IDs (max 100) |
Profile your audience by analyzing follower demographics, interests, activity patterns, and engagement behavior.
Find potential customers by monitoring purchase-intent keywords, industry discussions, and competitor dissatisfaction signals.
Discover and research potential hires by analyzing their public Twitter activity, expertise signals, and professional network.
Identify automated accounts and inauthentic behavior by analyzing posting patterns, account metadata, and network structures.
Identify and vet influencers by analyzing follower quality, engagement rates, audience demographics, and content authenticity.
Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.
Up to 100 user IDs per request. For larger datasets, batch your requests.
Invalid or suspended user IDs are silently skipped. Only valid, active profiles are returned.
Credits are charged per user returned, same rate. But batch requests save network overhead and are much faster overall.
Yes. Pass any valid numeric Twitter user IDs regardless of how you obtained them.
Sign up for free and get 1,000 API credits instantly. No credit card required.