Chocodata
data_object Structured JSON endpoint Social

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.

Request
curl "https://api.chocodata.com/api/v1/xtwitter/tweet?api_key=YOUR_API_KEY&id=20"
JSON Response
live sample 200 OK
{
  "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
}
lan 235 targets
vpn_lock Residential proxy network
data_object Structured JSON
redeem 1,000 free requests/mo

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.

data_object

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.

gpp_good

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.

api

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.

travel_explore

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
Get your free API key

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.

check_circle

Audience And Influencer Research

Feed X (Twitter) tweet data into your own product or workflow for audience and influencer research.

check_circle

Brand And Sentiment Monitoring

Feed X (Twitter) tweet data into your own product or workflow for brand and sentiment monitoring.

check_circle

Content And Trend Analysis

Feed X (Twitter) tweet data into your own product or workflow for content and trend analysis.

check_circle

Lead Generation

Turn X (Twitter) tweet data into targeted lead lists and feed them into your CRM.

Why developers pick Chocodata for X (Twitter)

bolt

Fast at the tail

Median 2.6 s per request with multi-tier retry, so latency stays predictable even when X (Twitter) fights back.

verified_user

Parity-checked output

Fields are regression-tested on every extractor change, so 2xx responses match the live page.

hub

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

$0

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
Start free
Most popular

Vibe

$19 / month

$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)
Get Vibe

Pro

$49 / month

$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
Get Pro

Custom

$100-$2k / month

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
Pick Custom level

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
Scraping publicly accessible X (Twitter) data is generally legal in the US under the Ninth Circuit's hiQ v. LinkedIn ruling, which held that scraping public web data does not violate the Computer Fraud and Abuse Act. It does not override X (Twitter)'s own Terms of Service, which are a contract matter, so check those for your use case and comply with data laws such as GDPR. This is general information, not legal advice.

How do I scrape X (Twitter) without getting blocked?

expand_more
You scrape X (Twitter) without getting blocked by letting Chocodata route every request through country-matched residential proxies with automatic rotation and retries. Because the traffic looks like real users from real networks, the X (Twitter) Scraper API gets through anti-bot defenses that block datacenter IPs, and you never expose your own address.

What data does the X (Twitter) Scraper API return?

expand_more
The X (Twitter) Scraper API returns X (Twitter) tweet data as structured JSON: the core fields parsed from the page, ready to store or query. Exact fields depend on the tweet type, and only successful (2xx) responses are billed.

How much does the X (Twitter) Scraper API cost?

expand_more
The X (Twitter) Scraper API costs nothing to start: the Free plan includes 1,000 requests per month (5,000 credits) across all 235 targets. After that, monthly plans begin at $19, or you top up pay-as-you-go at $0.90 per 1,000 successful requests. One request is 5 credits, and non-2xx responses are never charged.

Do I need a X (Twitter) account or login?

expand_more
No X (Twitter) account or login is required. The X (Twitter) Scraper API reads publicly accessible tweet pages, so you only need a Chocodata API key, not X (Twitter) credentials. Pages that sit behind a X (Twitter) login are out of scope.

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.