Loading...
Loading...
Extracts tweets, reply threads, and engagement metrics from a specific Twitter/X profile using apidojo's Twitter Profile Scraper on Apify. Triggers when the user asks to: get all tweets from a Twitter account, scrape tweets from a specific user's profile, export tweet history from a Twitter handle, get recent tweets from a Twitter account with engagement stats, fetch tweet timeline for a specific user, or collect posts from a Twitter profile by username. Returns tweet text, likes, retweets, replies, views, bookmarks, and author info per tweet. Ideal for social media monitors, journalists, and competitive intelligence teams.
npx skill4agent add apidojo-io/apidojo-skills scraping-twitter-profile-tweets| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | Optional | | Twitter profile URLs (x.com or twitter.com formats) |
| array | Optional | | Twitter usernames (without @) |
| string | Optional | — | Tweets after this date (YYYY-MM-DD or YYYY-MM-DD_HH:MM:SS_UTC) |
| string | Optional | — | Tweets before this date (YYYY-MM-DD or YYYY-MM-DD_HH:MM:SS_UTC) |
| boolean | Optional | | Include native retweets in results |
| boolean | Optional | | Only tweets containing images |
| boolean | Optional | | Include tweet replies |
| number | Optional | — | Minimum reply count threshold |
| boolean | Optional | | Fetch full profile about data |
| number | Optional | Unlimited | Maximum tweets to return |
| string | Optional | — | JavaScript function to transform each output object |
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["elonmusk"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["elonmusk"], "maxItems": 100}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~twitter-profile-scraper" --input '{"twitterHandles": ["elonmusk"], "maxItems": 100}' --output results.json --format jsoncurl -X POST "https://api.apify.com/v2/acts/apidojo~twitter-profile-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"twitterHandles": ["elonmusk"], "maxItems": 100}'call_actorapidojo~twitter-profile-scraper| Field | Type | Description |
|---|---|---|
| string | Always |
| string | Tweet ID |
| string | Tweet URL (x.com) |
| string | Tweet URL (twitter.com) |
| string | Tweet text content |
| number | Retweet count |
| number | Reply count |
| number | Like count |
| number | Quote tweet count |
| number | Bookmark count |
| string | Creation timestamp |
| string | Detected language |
| boolean | Whether this is a reply |
| boolean | Whether this is a retweet |
| boolean | Whether this is a quote tweet |
| string | Twitter client used |
| string | Author @username |
| string | Author display name |
| boolean | Legacy verification |
| boolean | Twitter Blue verification |
| string | Author profile picture URL |
| number | Author follower count |