X Scraper API
Access any X page using our X Scraper API. Point one API request at a X URL and get structured JSON back while we get past CAPTCHAs, IP rate limiting, IP blocking, and headless-browser detection through residential proxies. Get back fields like post text, author handle, post timestamp, like count as structured JSON.
check_circle 1,000 free requests/month. No credit card. Residential proxies.
curl "https://api.chocodata.com/api/v1/universal/get?api_key=YOUR_API_KEY&url=https://www.x.com/" {
"success": true,
"url": "https://www.x.com/",
"status": 200,
"content": "parsed X page content..."
// + more fields
} X is served through the Universal Web Scraper API
You scrape X with Chocodata's Universal Web Scraper API: point it at any X URL and get the page back as structured JSON. Residential proxies, rotation, and retries are handled for you, with no X-specific setup. The same API key and credits work here as on every dedicated endpoint.
About X
X, formerly Twitter, is a real-time social platform for short public posts. Its search and results pages expose post text, author handles, timestamps, and engagement counts that are worth scraping for monitoring.
Scraping note: X renders timelines client-side and gates much of search and scrolling behind login, so an authenticated session in a headless browser is typically required.
Example X page
https://x.com/search?q=web%20scraping&src=typed_query Pass a URL like this as url= to the Universal Web Scraper API and get it back as JSON.
Fields you can extract from X
Common use: Monitor real-time brand mentions and trending topics by collecting public posts matching a search query.
Everything you need to scrape X
You never expose your own IP, you get validated JSON instead of raw HTML, and the free tier covers x scraper at 1,000 requests a month with no card required.
Clean structured JSON
The X page comes back as JSON in the parse mode you choose: auto, html, text, or json. No selectors to maintain for x scraper.
Bypasses CAPTCHAs and anti-bot defenses
We get past CAPTCHAs, IP rate limiting, IP blocking, and headless-browser detection on X using rotating, country-matched residential proxies, so requests look like real users and your own IP stays private.
One API call
Scraping X is one simple API call. The same key works across our whole web scraping API: all 235 targets, any language, no SDK required.
Geo-targeting and JS rendering
Pass a country for proxy geo-targeting and turn on JavaScript rendering when a X page needs it. x data api handles dynamic content and region-locked results.
Scrape X in one API request
Send one API request to the Universal Web Scraper API with a X URL and read the page back as JSON. Chocodata routes it through residential proxies and retries soft blocks, so x api works without a X-specific integration.
- check_circle JSON in the parse mode you choose
- check_circle Residential-proxy infrastructure
- check_circle Only successful 2xx responses are billed
Request
curl "https://api.chocodata.com/api/v1/universal/get?api_key=YOUR_API_KEY&url=https://www.x.com/" Response
{
"success": true,
"url": "https://www.x.com/",
"status": 200,
"content": "parsed X page content..."
// + more fields
} Parameters
X routes through the Universal Web Scraper API, so the parameters are the universal ones: the URL to fetch, an optional parse mode, and an optional country for proxy geo-targeting.
| Parameter | Type | Required | Example |
|---|---|---|---|
| url | string | required | https://example.com |
| parse | enum | optional | auto |
| country | string | optional | us |
Enum parameters accept a fixed set of values. For example, parse
accepts auto, html, text, json.
What you can build with X data
Once the scraping API returns X search data as clean JSON, these are the patterns teams reach for most.
Audience And Influencer Research
Feed X search data into your own product or workflow for audience and influencer research.
Brand And Sentiment Monitoring
Feed X search data into your own product or workflow for brand and sentiment monitoring.
Content And Trend Analysis
Feed X search data into your own product or workflow for content and trend analysis.
Lead Generation
Turn X search data into targeted lead lists and feed them into your CRM.
Why developers pick Chocodata for X
Fast at the tail
Median 2.6 s per request with multi-tier retry, so latency stays predictable even when X fights back.
Parity-checked output
The Universal scraper returns the live page faithfully in your chosen parse mode.
One key, 235 targets
The same scraping API key that scrapes X works across every other target, with official Node, Python, and Go SDKs.
Simple pricing that scales with you
Start free with 1,000 requests a month and 5,000 credits, no credit card. Scale on monthly plans from $19, or top up pay-as-you-go at $0.90 per 1,000 successful requests. Only successful 2xx responses are billed, and every plan covers the full scraping API: all 235 targets and every endpoint.
Free
Forever free on signup
- check_circle1,000 requests / month (5,000 credits)
- check_circle10 concurrent requests
- check_circleAll 237 targets
- check_circleFull dashboard + analytics
- check_circleTop-up at $0.90 / 1k
- check_circleCommunity support
Vibe
$0.70 / 1k effective
- check_circle27,000 requests / month (135,000 credits)
- check_circle30 concurrent requests
- check_circleAll 237 targets + content-language
- check_circleCountry-matched residential IPs
- check_circlePer-API-key usage tracking
- check_circleTop-up at $0.90 / 1k
- check_circleEmail support (1 business day)
Pro
$0.60 / 1k effective
- check_circle82,000 requests / month (410,000 credits)
- check_circle50 concurrent requests
- check_circlePriority routing queue
- check_circleCountry-matched residential IPs
- check_circleTeam seats (up to 5)
- check_circleTop-up at $0.90 / 1k
- check_circleEmail + chat support
Custom
Flat $0.50 / 1k effective at every level
- check_circle200k - 4M+ requests / month
- check_circle100-500+ concurrent requests
- check_circlePriority queue (highest)
- check_circlePremium proxy pool + SLA on request
- check_circleUnlimited team seats
- check_circleWire / invoice / annual PO
- check_circleDedicated Slack channel
Pay-as-you-go top-up
$0.90 / 1,000 successful requests
Available on every plan including Free. Top up any time when included credits run out. Only 2xx responses charged. Balance never expires.
X Scraper API FAQ
Is it legal to scrape X?
expand_more
How do I scrape X without getting blocked?
expand_more
What data does the X Scraper API return?
expand_more
How much does the X Scraper API cost?
expand_more
Do I need a X account or login?
expand_more
Related scraper APIs
Start scraping X for free
1,000 free scraping API requests on signup across all 235 targets. No credit card required.