GETusers

Lookup Twitter User by ID Instantly

Get a complete user profile by numeric Twitter ID. Returns bio, follower/following counts, verification status, join date, and profile images.

Average response time: 70ms

Code Examples

const response = await fetch(
  'https://scrapebadger.com/v1/twitter/users/44196397/by_id',
  { headers: { 'x-api-key': 'YOUR_API_KEY' } }
);
const user = await response.json();
console.log(user.data.username, user.data.followers_count);
Response
{
  "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/..."
  }
}

API Reference

GET/v1/twitter/users/{user_id}/by_id
ParameterTypeRequiredDescription
user_idstringRequiredThe numeric Twitter user ID

Use Cases

Audience Analysis

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

Influencer Research

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

Bot Detection

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

Recruitment & Talent

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

Competitor Analysis

Track competitor accounts, engagement rates, and content strategies to benchmark performance and identify opportunities.

Growth Tracking

Monitor follower growth, engagement trends, and content performance over time to optimize your Twitter strategy.

Frequently Asked Questions

You can get a user's numeric ID from any tweet they authored (the author.id field) or use the Get User by Username endpoint.

Suspended accounts return a 404 error. The API only returns data for active, public accounts.

The profile response includes a pinned_tweet field when available. For latest tweets, use the Get User Tweets endpoint.

For bulk lookups, use the Batch Get Users by IDs endpoint which accepts up to 100 IDs per request.