X Scraper API: Extract Tweet Data Without Blocks
X Scraper API efficiently allows you to extract views, retweets, likes, bookmarks, X handle, and many more data points by passing the URL of the Tweets.
{
"views": "76M",
"retweets": "41.2K",
"quotes": "17k",
"likes": "409.7k",
"bookmarks": "3,528",
"tweet": "We're purging accounts that have had no activity at all for several years...",
"name": "Elon Musk",
"profile_handle": "@elonmusk",
"profile_url": "https://www.twitter.com/elonmusk",
"tweet_timing": "4:21 PM",
"tweet_date": "May 8, 2023",
"tweet_id": "1655608985058267139",
"tweet_url": "https://www.twitter.com/elonmusk/status/1655608985058267139"
}How It Works Behind the API
import requests
api_key = "APIKEY"
url = "https://api.scrapingdog.com/twitter/"
params = {
"api_key": api_key,
"parsed": "true",
"url": "https://twitter.com/elonmusk/status/1655608985058267139"
}
response = requests.get(url, params=params)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code: {response.status_code}"){
"views": "76M",
"retweets": "41.2K",
"quotes": "17k",
"likes": "409.7k",
"bookmarks": "3,528",
"tweet": "…",
"name": "Elon Musk"
}X Scraper API Response (Structured JSON Data)
Tweet Content
tweettweet_idtweet_urltweet_datetweet_timingEngagement Metrics
viewslikesretweetsquotesbookmarksAuthor Profile
nameprofile_handleprofile_urlIdentifiers & Links
tweet_idtweet_urlprofile_urlReplies & Threads
replytweetprofile_handleRequest Parameters
api_keyurlparsedX Scraper API Features That Make Scraping Easy
Rotating Proxy Network
Our API includes a built-in rotating proxy system that automatically changes IP addresses for every request.
Automatic CAPTCHA
Scrapingdog automatically bypasses CAPTCHA and anti-bot protection on X, so you can send requests without blocks.
Comprehensive Tweet Extraction
Extract views, retweets, likes, bookmarks, quotes, and tweet text as ready-to-use structured JSON.
Real-Time Data Retrieval
Extract live data directly from X, ensuring you always have the most current engagement information.
User Profile Information
Retrieve the author name, profile handle, and profile URL alongside every tweet you scrape.
Fast Response Time
Receive parsed tweet data in just a few seconds with our high-performance X scraping API.
What you can build with an X Scraper API
Competitor Analysis
Track how competitor brands and accounts perform on X by scraping their tweet engagement and reach.
Customer Sentiment Tracking
Analyze likes, retweets, and replies to gauge how audiences feel about products, campaigns, or topics.
Influencer Marketing
Measure the reach and engagement of influencer tweets to identify the right partners for your campaigns.
Trend Analysis
Detect emerging trends and viral topics by monitoring tweet views, retweets, and engagement over time.
Event Monitoring
Follow live conversations around events by tracking tweet activity and engagement metrics in real time.
Market Research
Gather structured tweet data for research into audience behavior, public opinion, and market dynamics.
Built for teams of every size and background
Get Started with Our X Scraper API in Minutes
- 1
Create free account
Sign up and get free credits to start testing the X Scraper API.
- 2
Get Your API Key
Access your unique API key from the dashboard and use it to scrape the data.
- 3
Send a Tweet URL
Pass a tweet URL with parsed=true to fetch its live engagement data.
- 4
Receive Parsed Tweet JSON
Get tweet objects with views, likes, retweets, quotes, bookmarks, and the author handle.
Transparent & Simple Pricing
Start your web scraping journey with 100 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.
FREE
- 100 Requests Credits
- 1 Concurrency
- Access To All APIs
- No Credit Card Required
- Community Support
- Team Support
LITE
- 200,000 Requests Credits
- 5 Concurrency
- Access To All APIs
- Geotargeting
- Email Support
- No Team Support
STANDARD
- 1,000,000 Requests Credits
- 50 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- No Team Support
PRO
- 3,000,000 Requests Credits
- 100 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
PREMIUM
- 6,000,000 Requests Credits
- 150 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS
- 9,000,000 Requests Credits
- 200 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PLUS
- 19,000,000 Requests Credits
- 250 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PRO
- 29,000,000 Requests Credits
- 300 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE
- 42,000,000 Requests Credits
- 350 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PLUS
- 55,000,000 Requests Credits
- 400 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PRO
- 65,000,000 Requests Credits
- 450 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE STARTER
- 90,000,000 Requests Credits
- 500 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE PLUS
- 120,000,000 Requests Credits
- 600 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ENTERPRISE PRO
- 150,000,000 Requests Credits
- 650 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL STARTER
- 185,000,000 Requests Credits
- 700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PLUS
- 220,000,000 Requests Credits
- 800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PRO
- 255,000,000 Requests Credits
- 850 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL ELITE
- 295,000,000 Requests Credits
- 900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ULTRA STARTER
- 360,000,000 Requests Credits
- 1,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PLUS
- 430,000,000 Requests Credits
- 1,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PRO
- 500,000,000 Requests Credits
- 1,300 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN STARTER
- 580,000,000 Requests Credits
- 1,400 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PLUS
- 660,000,000 Requests Credits
- 1,500 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PRO
- 740,000,000 Requests Credits
- 1,700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN ELITE
- 830,000,000 Requests Credits
- 1,800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA STARTER
- 920,000,000 Requests Credits
- 1,900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PLUS
- 1,010,000,000 Requests Credits
- 2,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PRO
- 1,100,000,000 Requests Credits
- 2,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
Trusted by Developers worldwide
4.8 TrustScoreScrapingDog on my first test try knocked out a complex scrape that I'd been unable to do with various other methods.
The API is one of the best in the market for me. The API is simple to grasp and powerful to use.
A lifesaver service. Allowed us to solve the last piece of the puzzle.
Reliable, and simple to use! It’s also inexpensive and has packaged solutions for every need (Google, LinkedIn). Highly recommend.
Frequently Asked Questions
What is an X scraper API?
Scrapingdog's X API allows you to extract data from Tweets. You can scale your process of getting data points like retweets, likes, views & more from a single tweet.
What other social media APIs does Scrapingdog have?
Scrapingdog also provides the YouTube Search Scraper API, Instagram Scraper API, Facebook Scraper API, LinkedIn Profile Scraper API & LinkedIn Jobs API.
What's the difference between credits and requests?
Each API request consumes a certain number of credits based on the dedicated API you're using.
Is scraping X legal?
Scraping publicly available data like views, retweets, and profile handle is considered legal.
Try Scrapingdog for Free!
Get 100 free credits to spin the API. No credit card required!