Chocodata
public Via Universal scraper Social

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.

Request
curl "https://api.chocodata.com/api/v1/universal/get?api_key=YOUR_API_KEY&url=https://www.x.com/"
JSON Response
200 OK
{
  "success": true,
  "url": "https://www.x.com/",
  "status": 200,
  "content": "parsed X page content..."
  // + more fields
}
lan 235 targets
vpn_lock Residential proxy network
data_object Structured JSON
redeem 1,000 free requests/mo

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

check_small post text check_small author handle check_small post timestamp check_small like count check_small repost count check_small reply count

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.

data_object

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.

gpp_good

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.

api

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.

travel_explore

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

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.

check_circle

Audience And Influencer Research

Feed X search data into your own product or workflow for audience and influencer research.

check_circle

Brand And Sentiment Monitoring

Feed X search data into your own product or workflow for brand and sentiment monitoring.

check_circle

Content And Trend Analysis

Feed X search data into your own product or workflow for content and trend analysis.

check_circle

Lead Generation

Turn X search data into targeted lead lists and feed them into your CRM.

Why developers pick Chocodata for X

bolt

Fast at the tail

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

verified_user

Parity-checked output

The Universal scraper returns the live page faithfully in your chosen parse mode.

hub

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

$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 Scraper API FAQ

Is it legal to scrape X?

expand_more
Scraping publicly accessible X 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'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 without getting blocked?

expand_more
You scrape X without getting blocked by sending the URL to the Universal Web Scraper API, which fetches it through rotating residential proxies and retries on soft blocks. Your own IP is never used, so X's anti-bot layer sees ordinary residential traffic instead of a server.

What data does the X Scraper API return?

expand_more
Through the Universal Web Scraper API you get the X page back as JSON: rendered HTML, plain text, or auto-parsed content depending on the parse mode you pass. You choose the URL, Chocodata returns the data.

How much does the X Scraper API cost?

expand_more
The X 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 account or login?

expand_more
No X login is needed for public pages. You point the Universal Web Scraper API at a publicly accessible X URL with your Chocodata API key; you do not hand over any X credentials. Login-gated content is not supported.

Related scraper APIs

Start scraping X for free

1,000 free scraping API requests on signup across all 235 targets. No credit card required.