X (Twitter) Scraper API
Access X (Twitter) tweet data using our X (Twitter) Scraper API. One API request returns clean, structured JSON while we get past CAPTCHAs, IP rate limiting, IP blocking, and headless-browser detection with rotating residential proxies. Get back fields like post text, author handle, display name, post timestamp as structured JSON.
check_circle 1,000 free requests/month. No credit card. Residential proxies.
curl "https://api.chocodata.com/api/v1/xtwitter/tweet?api_key=YOUR_API_KEY&id=20" {
"id": "20",
"id_str": "20",
"url": "https://x.com/jack/status/20",
"socialPlatform": "twitter",
"text": "just setting up my twttr",
"full_text": "just setting up my twttr",
"lang": "en",
"created_at": "2006-03-21T20:50:14.000Z",
"favorite_count": 311965,
"reply_count": 17944,
"conversation_count": 17944,
"retweet_count": null,
"quote_count": null,
"views": null,
"possibly_sensitive": null,
"is_edited": false,
"user.screen_name": "jack",
"user.name": "jack"
// + more fields
} Everything you need to scrape X (Twitter)
You never expose your own IP, you get validated JSON instead of raw HTML, and the free tier covers twitter scraper at 1,000 requests a month with no card required.
Clean structured JSON
Fields come back parsed and validated, not a dump of HTML. Store X (Twitter) tweet records straight into your database instead of writing brittle selectors for twitter scraper.
Bypasses CAPTCHAs and anti-bot defenses
We get past CAPTCHAs, IP rate limiting, IP blocking, and headless-browser detection on X (Twitter) using rotating, country-matched residential proxies, so requests look like real users and your own IP stays private.
One API call
The X (Twitter) Scraper API 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 (Twitter) page needs it. twitter scraping api handles dynamic content and region-locked results.
Scrape X (Twitter) in one API request
Send one API request to the X (Twitter) Scraper API and read back typed fields. Chocodata routes the request through country-matched residential proxies, retries soft blocks, and parses the page, so scrape tweets stays reliable as X (Twitter)'s markup shifts.
- check_circle Validated, parsed JSON fields
- check_circle Residential-proxy infrastructure
- check_circle Only successful 2xx responses are billed
Request
curl "https://api.chocodata.com/api/v1/xtwitter/tweet?api_key=YOUR_API_KEY&id=20" Response
{
"id": "20",
"id_str": "20",
"url": "https://x.com/jack/status/20",
"socialPlatform": "twitter",
"text": "just setting up my twttr",
"full_text": "just setting up my twttr",
"lang": "en",
"created_at": "2006-03-21T20:50:14.000Z",
"favorite_count": 311965,
"reply_count": 17944,
"conversation_count": 17944,
"retweet_count": null,
"quote_count": null,
"views": null,
"possibly_sensitive": null,
"is_edited": false,
"user.screen_name": "jack",
"user.name": "jack"
// + more fields
} Parameters
Pass these as query-string values alongside your API key. Only the required ones are mandatory; the rest have sensible defaults.
| Parameter | Type | Required | Example |
|---|---|---|---|
| id | string | required | 20 |
| url | string | optional | https://x.com/jack/status/20 |
What you can build with X (Twitter) data
Once the scraping API returns X (Twitter) tweet data as clean JSON, these are the patterns teams reach for most.
Audience And Influencer Research
Feed X (Twitter) tweet data into your own product or workflow for audience and influencer research.
Brand And Sentiment Monitoring
Feed X (Twitter) tweet data into your own product or workflow for brand and sentiment monitoring.
Content And Trend Analysis
Feed X (Twitter) tweet data into your own product or workflow for content and trend analysis.
Lead Generation
Turn X (Twitter) tweet data into targeted lead lists and feed them into your CRM.
Why developers pick Chocodata for X (Twitter)
Fast at the tail
Median 2.6 s per request with multi-tier retry, so latency stays predictable even when X (Twitter) fights back.
Parity-checked output
Fields are regression-tested on every extractor change, so 2xx responses match the live page.
One key, 235 targets
The same scraping API key that scrapes X (Twitter) 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 (Twitter) Scraper API FAQ
Is it legal to scrape X (Twitter)?
expand_more
How do I scrape X (Twitter) without getting blocked?
expand_more
What data does the X (Twitter) Scraper API return?
expand_more
How much does the X (Twitter) Scraper API cost?
expand_more
Do I need a X (Twitter) account or login?
expand_more
Related scraper APIs
Start scraping X (Twitter) for free
1,000 free scraping API requests on signup across all 235 targets. No credit card required.