X (Twitter) Profile Posts Scraper avatar
X (Twitter) Profile Posts Scraper

Pricing

Pay per event

Go to Store
X (Twitter) Profile Posts Scraper

X (Twitter) Profile Posts Scraper

Developed by

Scraper One

Scraper One

Maintained by Community

Extract posts from X (Twitter) profiles. Retrieve URLs, IDs, content, publication dates, text and engagement metrics. Ideal for social media monitoring solutions.

0.0 (0)

Pricing

Pay per event

1

Total users

6

Monthly users

6

Runs succeeded

>99%

Last modified

3 days ago

Apify Actor

This Apify Actor extracts recent posts from X (Twitter) profiles provided as input URLs. It retrieves post content, author data, timestamps, media, and engagement statistics. Filter posts by time window e.g.: get posts published by the profile within the last 2 days. Perfect for social media monitoring, research, user tracking, and trend analysis solutions. πŸš€


🧩 Features

  • πŸ‘€ Scrape recent posts from multiple X (Twitter) profiles
  • πŸ•’ Filter by time window (last n days)
  • πŸ”’ Set result limit per profile
  • πŸ“Έ Extract media, author info, post text, ids, timestamp and engagement stats

πŸ“₯ Input Parameters

ParameterTypeRequiredDescription
profileUrlsstring[]βœ…List of X profile URLs to extract posts from (e.g., https://x.com/elonmusk)
timeWindownumber❌Fetch posts from the last n days (e.g., 3 = last 3 days). Minimum: 1
resultsLimitnumber❌Maximum number of posts to retrieve per profile (1–200). Default: 30

βœ… Example Input

{
"profileUrls": [
"https://x.com/elonmusk"
],
"timeWindow": 2,
"resultsLimit": 20
}

πŸ“€ Output Format

The scraper returns an array of post objects in JSON format with details such as text, author, and metrics.

Example Output

{
"postText": "🦾πŸ”₯",
"postUrl": "https://x.com/elonmusk/status/1938336472253534273",
"profileUrl": "https://x.com/elonmusk",
"timestamp": 1750970402000,
"conversationId": "1938336472253534273",
"postId": "1938336472253534273",
"media": [],
"author": {
"name": "Elon Musk",
"screenName": "elonmusk",
"followersCount": 221266053,
"favouritesCount": 153129,
"friendsCount": 1146,
"description": ""
},
"replyCount": 1558,
"quoteCount": 50,
"repostCount": 954,
"favouriteCount": 9609
}

πŸš€ Usage

  1. Go to Apify Console and create a new task using this actor.
  2. Paste input in JSON or use form view.
  3. Run the actor and monitor results in the console.
  4. Download results as JSON, CSV, or Excel.

⚠️ Limitations & Notes

  • Works only with public X profiles.
  • Avoid excessive usage to prevent rate-limiting or temporary IP bans.
  • Always ensure compliance with X (Twitter)'s Terms of Service.

Support & Contact

βœ‰οΈ Need help or want to suggest a feature? Open an issue or contact us at scraper1one@gmail.com.