Twitter/X Scraper API
Extract tweets, user profiles, engagement metrics, and trending topics from X (formerly Twitter). Full stealth browsing with residential proxies to handle X's aggressive bot detection.
X (formerly Twitter) has some of the most aggressive anti-scraping defenses on the web. Spider uses browser fingerprint rotation, residential proxies, and real browser rendering to reliably extract tweets, profiles, and engagement data at scale.
Your money, on the world’s most powerful network𝕏 Money is rolling out to U.S. Premium and Premium+ subscribers starting todaywe’ve completely rebuilt X for Android: faster, smoother and way more reliablescroll on company time, i wont tellRecord in segments, green screen any photo, video or post, and add captions in your style. A new way to create videos, now live on iOS.More tools are on the way. X will be the best place to create and earn from original content.## Log in or sign up for XSee what’s happening and join the conversationContinue with phoneContinue with AppleContinue with Google The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on x.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://x.com/OpenAI");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://x.com/OpenAI");
await page.content(12000);
const data = await page.evaluate(`(() => {
const tweets = [];
document.querySelectorAll("article[data-testid='tweet']").forEach(el => {
const text = el.querySelector("[data-testid='tweetText']")?.textContent?.trim();
const time = el.querySelector("time")?.getAttribute("datetime");
const likes = el.querySelector("[data-testid='like'] span")?.textContent?.trim();
const retweets = el.querySelector("[data-testid='retweet'] span")?.textContent?.trim();
if (text) tweets.push({ text: text.slice(0, 280), time, likes, retweets });
});
return JSON.stringify({ total: tweets.length, tweets: tweets.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
What teams build with x.com data.
Social Listening
Monitor brand mentions, competitor activity, and industry conversations across public tweets and threads.
Trend Analysis
Track trending topics, hashtags, and viral content to spot emerging narratives before they peak.
Influencer Research
Analyze engagement rates, follower counts, and posting patterns to identify high-value accounts for partnerships.
News Monitoring
Capture breaking news and real-time updates from journalist accounts, news outlets, and official sources.
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
Anti-bot bypass
Residential proxy rotation and fingerprint randomization to reliably access X pages despite aggressive bot detection.
Full React SPA
Complete JavaScript execution renders X's React interface, including lazy-loaded tweets and infinite scroll.
Rich tweet data
Extract text, engagement metrics, media, threads, and profile data in clean structured JSON.
What x.com costs to scrape.
The capture above cost $0.000383 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
Scraping x.com.
Can I scrape X/Twitter without API access?
Yes. Spider renders X pages in a real browser and extracts data from the DOM. No Twitter/X API keys or paid API tier required.
How does Spider handle X's anti-bot detection?
Spider uses residential proxy rotation, browser fingerprint randomization, and stealth browsing with real Chrome instances to avoid detection.
What data can I extract from X?
Tweet text, author info, likes, retweets, replies, timestamps, media attachments, hashtags, and full user profiles.
Can I scrape X search results?
Yes. Spider can render X search results pages and extract tweets matching any query, hashtag, or advanced search filter.
Does scraping X violate their terms?
Spider accesses only publicly visible content. The legality of scraping public social media data is supported by court precedent (hiQ v. LinkedIn).
More Social scrapers.
Reddit Scraper
Extract subreddit posts, comments, vote counts, and user data from Reddit. The fastest Reddit scraping API with full JavaScript rendering for new Reddit and old Reddit layouts.
LinkedIn Scraper
Extract public company profiles, employee counts, job listings, and professional data from LinkedIn. The most reliable LinkedIn scraping API with residential proxy rotation and stealth browsing to handle aggressive anti-bot protection.
Pinterest Scraper
Extract pins, board data, user profiles, and visual content from Pinterest.
Start scraping x.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.