GETusers

Bulk Fetch User Profiles by IDs

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

Code Examples

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));
Response
{
  "data": [
    { "id": "44196397", "username": "elonmusk", "followers_count": 170000000 },
    { "id": "783214", "username": "Twitter", "followers_count": 65000000 },
    { "id": "17874544", "username": "TwitterSupport", "followers_count": 8000000 }
  ]
}

API Reference

GET/v1/twitter/users/batch_by_ids
ParameterTypeRequiredDescription
user_idsstringRequiredComma-separated list of numeric user IDs (max 100)

Use Cases

Audience Analysis

Profile your audience by analyzing follower demographics, interests, activity patterns, and engagement behavior.

Lead Generation

Find potential customers by monitoring purchase-intent keywords, industry discussions, and competitor dissatisfaction signals.

Recruitment & Talent

Discover and research potential hires by analyzing their public Twitter activity, expertise signals, and professional network.

Bot Detection

Identify automated accounts and inauthentic behavior by analyzing posting patterns, account metadata, and network structures.

Influencer Research

Identify and vet influencers by analyzing follower quality, engagement rates, audience demographics, and content authenticity.

Academic Research

Collect large-scale Twitter datasets for computational social science, NLP research, political analysis, and network studies.

Frequently Asked Questions

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.