π Overview
This Apify actor allows users to search tweets using the Basic X (Twitter) Search API from Datura.ai. With this tool, you can extract tweets based on various filters such as keywords, engagement metrics, dates, and media types.π Features
- Search tweets using advanced query operators
- Filter results by language, engagement, date, and media type
- Retrieve tweet details, including user info, retweets, and likes
- Exclude images, videos, or quotes
- Fetch up to 100 tweets per query
π How to Use
1οΈβ£ Open the Apify Actor UI 2οΈβ£ Configure search parameters (e.g., query, date range, filters) 3οΈβ£ Run the actor and retrieve tweets 4οΈβ£ Download results in JSON formatπ Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | String | β Yes | Search term (e.g., "Bittensor"). Use Twitter Search Operators for advanced queries. |
sort | String | β No | Sort by "Top" or "Latest" (default: "Top"). |
start_date | String | β No | Start date in format YYYY-MM-DD. |
end_date | String | β No | End date in format YYYY-MM-DD. |
lang | String | β No | Language filter (en, fr, es, etc.). |
min_likes | Number | β No | Minimum number of likes. |
min_retweets | Number | β No | Minimum number of retweets. |
min_replies | Number | β No | Minimum number of replies. |
blue_verified | Boolean | β No | Filter for Twitter Blue users (default: false). |
is_image | Boolean | β No | Include tweets with images (true/false). |
is_video | Boolean | β No | Include tweets with videos (true/false). |
count | Number | β No | Number of tweets to retrieve (default: 10, max: 100). |
π₯ Expected Output
The actor outputs a JSON file containing the retrieved tweets. Example format:π Twitter Search Operators
This actor supports Twitterβs advanced search operators to refine results.π Examples:
#hashtagβ Tweets with a specific hashtagfrom:userβ Tweets from a specific usermin_retweets:10β Tweets with at least 10 retweetsfilter:videosβ Tweets with videossince:YYYY-MM-DDβ Tweets from a certain date