VOOZH about

URL: https://apify.com/scraplib/x-user-profile-tweets-scraper

โ‡ฑ X(twitter) user profile and tweets scraper ยท Apify


๐Ÿ‘ X(twitter) user profile and tweets scraper avatar

X(twitter) user profile and tweets scraper

Pricing

$10.00/month + usage

Go to Apify Store

X(twitter) user profile and tweets scraper

scrapes user timelines from X (Twitter) to extract tweets, user information, and engagement metrics. It works in guest mode without requiring authentication and can retrieve tweets from any public Twitter account.

Pricing

$10.00/month + usage

Rating

0.0

(0)

Developer

๐Ÿ‘ Scraplib

Scraplib

Maintained by Community

Actor stats

1

Bookmarked

13

Total users

2

Monthly active users

7 months ago

Last modified

Share

X (Twitter) User Timeline Actor

This Apify Actor scrapes user timelines from X (Twitter) to extract tweets, user information, and engagement metrics. It works in guest mode without requiring authentication and can retrieve tweets from any public Twitter account.

Features

  • Timeline scraping - Extract tweets from any public X (Twitter) user timeline
  • User information - Retrieve user profile data including verification status
  • Engagement metrics - Get retweet, like, and reply counts for each tweet
  • Media detection - Identify tweets with attached media (images, videos)
  • Guest mode operation - Works without authentication requirements
  • Proxy support - Uses Apify's residential proxy for reliable requests
  • Structured output - Results include comprehensive tweet and user data
  • Configurable limits - Control the number of tweets retrieved

Input Parameters

FieldTypeRequiredDescription
usernameStringYesThe username of the Twitter account to scrape (without @ symbol)
countNumberNoNumber of tweets to retrieve (default: 20, max: 100)
includeRepliesBooleanNoWhether to include reply tweets in the results (default: false)
includeRetweetsBooleanNoWhether to include retweets in the results (default: true)

Example Input

{
"username":"elonmusk",
"count":10,
"includeReplies":false,
"includeRetweets":true
}

How It Works

  1. The actor validates the input parameters (username and count)
  2. It initializes a proxy configuration using Apify's residential proxy
  3. It fetches the user's timeline page from X (Twitter)
  4. It parses the HTML to extract tweet data, user information, and engagement metrics
  5. Results are pushed to the dataset with structured tweet and user information

Output

The actor outputs a structured object containing:

{
"username":"elonmusk",
"user_id":"44196397",
"tweet_count":20,
"tweets":[
{
"id":"1234567890",
"text":"Tweet content here",
"created_at":"2025-07-07T12:34:56",
"retweet_count":1000,
"favorite_count":5000,
"reply_count":200,
"is_retweet":false,
"is_reply":false,
"user":{
"id":"44196397",
"name":"Elon Musk",
"screen_name":"elonmusk",
"verified":true
},
"media":[
{
"type":"photo",
"url":"https://pbs.twimg.com/media/example.jpg"
}
]
}
]
}

Example Usage

Get Elon Musk's Timeline

{
"username":"elonmusk",
"count":10
}

Get Timeline with Replies

{
"username":"nasa",
"count":20,
"includeReplies":true,
"includeRetweets":false
}

Limitations

  • Works in guest mode, so some data may be limited compared to authenticated access
  • Rate limiting may apply based on Twitter's policies
  • Some tweets or media might not be accessible in guest mode
  • Private accounts cannot be scraped

You might also like

X(twitter) User Profile & Tweets Scraper

logical_scrapers/x-twitter-user-profile-tweets-scraper

[$0.001/profile] scrapes full user information, tweets, replies from X(Twitter) profiles. It works in guest mode without requiring authentication and can retrieve tweets from any public Twitter account.

Twitter User Tweets Scraper

twittapi/twitter-user-tweets-scraper

Twitter User Tweets Scraper

196

3.2

Twitter User Tweets

monumental_world/twitter-user-tweets

Get Twitter user tweets.

Twitter Scraper - Scrape Tweets from X Profiles

logiover/x-tweet-scraper

Scrape tweets from any X / Twitter profile without an API key or login. Twitter timeline scraper with full engagement; export tweets to CSV/JSON.