💰 $0.35 per 1000 tweets / custom search query
This Apify Actor fetches tweets from X (formerly Twitter) based on provided search queries. It uses the X API to search for tweets and returns the data in a structured format.
The Actor accepts the following input parameters:
Field | Type | Description |
---|---|---|
searchQueries | Array | Array of search queries to fetch tweets from X (e.g., from:username since:2024-01-01 until:2024-01-31 ) |
X (Twitter) supports a variety of search operators that you can use to refine your search:
from:username
- Tweets from a specific userto:username
- Tweets replying to a specific usersince:YYYY-MM-DD
- Tweets after a specific dateuntil:YYYY-MM-DD
- Tweets before a specific date#hashtag
- Tweets containing a specific hashtagurl:example.com
- Tweets containing links to a specific domainfilter:media
- Tweets containing media (images, videos)filter:links
- Tweets containing linksfilter:replies
- Tweets that are repliesfilter:retweets
- Tweets that are retweetsmin_retweets:n
- Tweets with at least n retweetsmin_faves:n
- Tweets with at least n likesYou can combine these operators to create more specific searches.
A simple search query example:
from:apify since:2024-01-01 until:2024-01-31
A search query example with multiple operators:
from:apify since:2024-01-01 until:2024-01-31 filter:media
The Actor outputs the tweet data in a structured format, including:
Each tweet is returned as a JSON object with the following structure:
Field | Type | Description |
---|---|---|
url | String | The full URL to the tweet on X.com |
id | String | The unique identifier of the tweet |
text | String | The full text content of the tweet |
retweet_count | Number | Number of retweets |
reply_count | Number | Number of replies |
like_count | Number | Number of likes |
quote_count | Number | Number of quote tweets |
bookmark_count | Number | Number of bookmarks |
created_at | String | The timestamp when the tweet was created |
isretweet | Boolean | Whether the tweet is a retweet |
isquote | Boolean | Whether the tweet is a quote tweet |
media | Array | Array of media objects attached to the tweet |
search_query | String | The search query used to find this tweet |
For tweets with media, each item in the media
array has the following structure:
Field | Type | Description |
---|---|---|
type | String | The type of media (e.g., "photo", "video", "animated_gif") |
url | String | The URL to the media file |
display_url | String | The shortened URL displayed in the tweet |
expanded_url | String | The full URL to the media on X.com |
Example of a tweet without media:
1{ 2 "url": "https://x.com/username/status/1234567890123456789", 3 "id": "1234567890123456789", 4 "text": "@another_user This is an example tweet text showing what the output looks like!", 5 "retweet_count": 0, 6 "reply_count": 1, 7 "like_count": 2, 8 "quote_count": 0, 9 "bookmark_count": 0, 10 "created_at": "Sat Dec 28 15:12:37 +0000 2024", 11 "isretweet": false, 12 "isquote": false, 13 "media": [], 14 "search_query": "from:username since:2024-11-26 until:2024-12-31" 15}
Example of a tweet with media:
1{ 2 "url": "https://x.com/username/status/1234567890123456789", 3 "id": "1234567890123456789", 4 "text": "@another_user This is an example tweet with an image attached!", 5 "retweet_count": 0, 6 "reply_count": 0, 7 "like_count": 1, 8 "quote_count": 0, 9 "bookmark_count": 0, 10 "created_at": "Fri Dec 27 22:49:00 +0000 2024", 11 "isretweet": false, 12 "isquote": false, 13 "media": [ 14 { 15 "type": "photo", 16 "url": "https://pbs.twimg.com/media/example_image.jpg", 17 "display_url": "pic.x.com/example", 18 "expanded_url": "https://x.com/username/status/1234567890123456789/photo/1" 19 } 20 ], 21 "search_query": "from:username since:2024-11-26 until:2024-12-31" 22}
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!