Use code BLACKDOG15 to get 15% off any Scrapingdog plan this Black Fridayfor 15% off this Black Friday

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.

GET GET / twitter 200 OK
{
    "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

</> GET Python
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}")
live api response
{
  "views": "76M",
  "retweets": "41.2K",
  "quotes": "17k",
  "likes": "409.7k",
  "bookmarks": "3,528",
  "tweet": "…",
  "name": "Elon Musk"
}

X Scraper API Response (Structured JSON Data)

Try Scrapingdog for Free

Tweet Content

tweettweet_idtweet_urltweet_datetweet_timing

Engagement Metrics

viewslikesretweetsquotesbookmarks

Author Profile

nameprofile_handleprofile_url

Identifiers & Links

tweet_idtweet_urlprofile_url

Replies & Threads

replytweetprofile_handle

Request Parameters

api_keyurlparsed

X 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

Social Listening TeamsBrand Monitoring TeamsJournalists & NewsroomsSentiment AnalystsMarket Intelligence TeamsPR & Comms TeamsData ScientistsQuant & Trading DesksCrisis & Reputation ManagersInfluencer Marketing TeamsResearchers & AcademicsGrowth Marketers

Get Started with Our X Scraper API in Minutes

  1. 1

    Create free account

    Sign up and get free credits to start testing the X Scraper API.

  2. 2

    Get Your API Key

    Access your unique API key from the dashboard and use it to scrape the data.

  3. 3

    Send a Tweet URL

    Pass a tweet URL with parsed=true to fetch its live engagement data.

  4. 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

$0forever
  • 100 Requests Credits
  • 1 Concurrency
  • Access To All APIs
  • No Credit Card Required
  • Community Support
  • Team Support
Start for Free

LITE

$40/month
  • 200,000 Requests Credits
  • 5 Concurrency
  • Access To All APIs
  • Geotargeting
  • Email Support
  • No Team Support
Start Trial

STANDARD

$90/month
  • 1,000,000 Requests Credits
  • 50 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • No Team Support
Start Trial
Popular

PRO

$200/month
  • 3,000,000 Requests Credits
  • 100 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

PREMIUM

$350/month
  • 6,000,000 Requests Credits
  • 150 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS

$500/month
  • 9,000,000 Requests Credits
  • 200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS PLUS

$1,000/month
  • 19,000,000 Requests Credits
  • 250 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

BUSINESS PRO

$1,500/month
  • 29,000,000 Requests Credits
  • 300 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE

$2,000/month
  • 42,000,000 Requests Credits
  • 350 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE PLUS

$2,500/month
  • 55,000,000 Requests Credits
  • 400 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

CORPORATE PRO

$3,000/month
  • 65,000,000 Requests Credits
  • 450 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

ENTERPRISE STARTER

$4,000/month
  • 90,000,000 Requests Credits
  • 500 Concurrency
  • Access To All APIs
  • Geotargeting
  • Priority Email Support
  • Team Support
Start Trial

ENTERPRISE PLUS

$5,000/month
  • 120,000,000 Requests Credits
  • 600 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

ENTERPRISE PRO

$6,000/month
  • 150,000,000 Requests Credits
  • 650 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL STARTER

$7,000/month
  • 185,000,000 Requests Credits
  • 700 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL PLUS

$8,000/month
  • 220,000,000 Requests Credits
  • 800 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL PRO

$9,000/month
  • 255,000,000 Requests Credits
  • 850 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

GLOBAL ELITE

$10,000/month
  • 295,000,000 Requests Credits
  • 900 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Support
  • Team Support
Start Trial

ULTRA STARTER

$12,000/month
  • 360,000,000 Requests Credits
  • 1,000 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

ULTRA PLUS

$14,000/month
  • 430,000,000 Requests Credits
  • 1,200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

ULTRA PRO

$16,000/month
  • 500,000,000 Requests Credits
  • 1,300 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN STARTER

$18,000/month
  • 580,000,000 Requests Credits
  • 1,400 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN PLUS

$20,000/month
  • 660,000,000 Requests Credits
  • 1,500 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN PRO

$22,000/month
  • 740,000,000 Requests Credits
  • 1,700 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

TITAN ELITE

$24,000/month
  • 830,000,000 Requests Credits
  • 1,800 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA STARTER

$26,000/month
  • 920,000,000 Requests Credits
  • 1,900 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA PLUS

$28,000/month
  • 1,010,000,000 Requests Credits
  • 2,000 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial

NOVA PRO

$30,000/month
  • 1,100,000,000 Requests Credits
  • 2,200 Concurrency
  • Access To All APIs
  • Geotargeting
  • Dedicated Account Manager
  • Team Support
Start Trial
$0$30,000

Trusted by Developers worldwide

4.8 TrustScore
ScrapingDog on my first test try knocked out a complex scrape that I'd been unable to do with various other methods.
Jay SmithUnited States
The API is one of the best in the market for me. The API is simple to grasp and powerful to use.
Abdul-Rahman ChammaUnited Arab Emirates
A lifesaver service. Allowed us to solve the last piece of the puzzle.
Kristers GelassLatvia
Reliable, and simple to use! It’s also inexpensive and has packaged solutions for every need (Google, LinkedIn). Highly recommend.
John TylerFrance

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?
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!

Start Your Free TrialRead Documentation