X Scraper API
One REST API for X data. Turn any tweet URL or status id into clean JSON, run keyword and hashtag search, and skip the login wall entirely, with rotating proxies and anti-bot handling built in.
Free 1,000 requests. Median response 2.6s. No X developer account.
curl "https://api.twitterscraperapi.com/api/v1/xtwitter/search?q=nasa&api_key=$API_KEY" Scrape X without getting blocked
Anti-bot bypass
Proxy rotation
JS rendering
Structured JSON
Pay for success
One REST call
Choose from multiple X Scraper API endpoints
Image & Video
Email & Lead
Profile & Account
Follower & Following
Search, Hashtag & Trends
Tweet & Post
Comment & Reply
What you can build
Brand and mention monitoring
Engagement tracking
Social listening datasets
Embed and archive tweets
Hashtag and campaign research
Topic and trend sampling
Simple, usage-based pricing
- All endpoints included
- Structured JSON output
- Anti-bot + rotating proxies
- 10 concurrent requests
- Community support
- Everything in Free
- Higher concurrency
- Email support
- Everything in Vibe
- Priority request routing
- Priority support
- Everything in Pro
- 500+ concurrent requests
- SLA + dedicated support
Pay-as-you-go top-ups run $0.90 per 1,000 successful requests. Median response 2.6s. You only pay for requests that succeed.
Drops into your stack
No-code
LLM and RAG
SDKs and REST
FAQ
It is a set of REST endpoints that take an X (Twitter) URL or id and return the data as structured JSON. The tweet endpoint turns any tweet URL or status id into text, author, and engagement, and the search endpoint runs keyword and hashtag queries. We handle the proxies, anti-bot checks, and parsing, so you call one endpoint with your api_key and get clean fields back.
No. You authenticate with a single api_key. There is no X developer account to apply for, no OAuth flow, and no paid X API tier, which since 2023 starts around 100 dollars a month. The free tier includes 1,000 requests so you can test first.
The tweet endpoint reads a single public tweet by URL or id and returns its text, author, timestamp, language, entities, media, and engagement. The search endpoint runs a keyword, phrase, or hashtag query and returns the tweets X embeds for it. Search is beta because X heavily walls logged-out queries, and there is no standalone profile endpoint because X hard-walls guest profile timelines.
Scraping publicly visible X pages is generally treated as lawful in the United States, though X's Terms of Service restrict automated access without permission, so review the terms and your use case. Our X scraping legality guide walks through the details.
Responses return in a median of about 2.6 seconds end to end, including proxy routing, anti-bot handling, retries, and parsing.
The free tier covers 1,000 requests, Pro pricing runs about $0.60 per 1,000 requests, and pay-as-you-go top-ups are $0.90 per 1,000 successful requests. You are billed for successful results.