Twitter Followers API
Move from one profile into its audience graph.
Twitter Followers API →Workflow · Twitter profile API
Turn a public username into one application-ready profile snapshot: account fields and recent posts in the same normalized response.
Copyable request + contract response example
The example is generated from the same endpoint documentation manifest as the API reference. The OpenAPI-backed schema remains the contract for field types.
curl 'https://api.xfetch.io/v1/profiles/by-username/elonmusk' \ -H "Authorization: Bearer $XFETCH_API_KEY"
{
"data": {
"user": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"description": "https://t.co/dDtDyVssfm",
"created_at": "2009-06-02T20:12:29.000Z",
"verified": true,
"protected": false,
"profile_image_url": "https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_normal.jpg",
"follower_count": 239956432,
"following_count": 1332,
"tweet_count": 102633,
"media_count": 4489,
"status": "active"
},
"recent_tweets": [
{
"id": "2055734812669865997",
"text": "These come from court transcripts",
"author_id": "44196397",
"created_at": "2026-05-16T19:39:07.000Z",
"lang": "en",
"conversation_id": "2055734812669865997",
"possibly_sensitive": false,
"like_count": 45028,
"retweet_count": 9207,
"reply_count": 2190,
"quote_count": 236,
"bookmark_count": 3116,
"is_quote_status": true,
"entities": {
"hashtags": [],
"urls": [],
"mentions": []
},
"display_text_range": [
0,
33
],
"quoted_tweet_id": "2055714457343471890"
}
]
},
"meta": {
"request_id": "req_01HXFETCHEXAMPLE",
"credits": {
"charged": 2,
"remaining": 998
}
}
}One workflow
Use this workflow when an account is the unit of research: qualify a creator, enrich a lead, or give an agent current profile context before it reasons.
Pass the public username in the profile-by-username path.
Read the user block for identity, account status, and public profile metrics.
Use recent_tweets as the account's current activity sample.
Code-derived cost
The rule and worked charge below come from the shared endpoint-pricing catalog used by billing and the API reference.
Current rule
The profile is covered by the base lookup. Recent posts returned in the same workflow are the priced items.
Documented response example
2 creditsThe example contains 1 primary record. Failed validation, authentication, insufficient-credit, rate-limit, service-side, and internal failures are not charged.
FAQ
Google sign-in opens the dashboard playground with this endpoint selected.