Your scrapers are breaking. Your IP is blocked. There is a better way to get Twitter user data.
If you’re reading this, you’ve probably seen the "Something went wrong" error screen more times than you can count.
Scraping Twitter (now X) has transformed from a simple weekend project into a constant battle against rate limits, dynamic classes, and "guest token" obsolescence. For developers building analytics platforms, influencer finders, or CRM enrichments, this volatility isn't just annoying—it's an existential threat to your product.
You don't need another headless browser script that breaks next Tuesday. You need a data pipeline that just works.
Enter ImbueData
We built the Twitter User Data API to turn the chaos of X scraping into a boring, reliable utility. No more maintaining cookies, rotating residential proxies, or parsing minified React code.
Just one API call.
The Solution
Our endpoint abstracts the entire complexity of the Twitter/X internal GraphQL API into a clean, developer-friendly REST interface.
Why Switch?
- Zero Infrastructure: Retire your fleet of Puppeteer/Playwright instances.
- Production Reliability: Built on high-availability edge networks (Cloudflare Workers) to handle concurrency.
- Rich Data Model: Get the full, unadulterated user object (legacy verification, follower counts, media metrics, etc.).
- Simple Auth: Standard API key header authentication.
Integration in < 60 Seconds
Here is the exact code you need to get a full user profile.
The Endpoint
GET https://imbuedata.com/api/v1/twitter/user
Usage Example
cURL
curl "https://imbuedata.com/api/v1/twitter/user?screenName=imbuedata" \
-H "x-api-key: YOUR_API_KEY"
Node.js / JavaScript
const getUserProfile = async (handle) => {
const response = await fetch(
`https://imbuedata.com/api/v1/twitter/user?screenName=${handle}`,
{
headers: {
'x-api-key': process.env.IMBUE_DATA_API_KEY
}
}
);
if (!response.ok) {
throw new Error(`Error: ${response.status}`);
}
const data = await response.json();
console.log(data); // Full user profile object
};
getUserProfile('imbuedata');
Python
import requests
url = "https://imbuedata.com/api/v1/twitter/user"
params = {"screenName": "imbuedata"}
headers = {"x-api-key": "YOUR_API_KEY"}
response = requests.get(url, headers=headers, params=params)
print(response.json())
What You Get Back
We don't just give you the bio and the name. You get the deep metrics that matter for meaningful analysis:
- Identity:
rest_id,screen_name,is_blue_verified - Metrics:
followers_count,friends_count,statuses_count(tweet count),media_count - Metadata:
creation_date(account age),location,description(bio)
{
"data": {
"user": {
"result": {
"__typename": "User",
"is_blue_verified": true,
"legacy": {
"screen_name": "imbuedata",
"followers_count": 10502,
"verified": false,
"description": "Data intelligence for the modern web."
}
// ... and much more
}
}
}
}
Ready to build?
Stop fighting the frontend. Start shipping features.
Get your API Key at ImbueData.com
Building something cool with Twitter data? Tag us @imbuedata and let us know.
Top comments (0)