
Search Threads By Keywords
Pricing
$8.00 / 1,000 results

Search Threads By Keywords
Fast and reliable scraper for searching posts on Threads by Meta. Perfect for social media monitoring, research, and business intelligence.
0.0 (0)
Pricing
$8.00 / 1,000 results
0
1
1
Last modified
8 minutes ago
Fast and reliable scraper for searching posts on Threads by Meta. Supports multiple output formats (JSON, CSV, Excel), advanced filtering options, and real-time data extraction. Perfect for social media monitoring, research, and business intelligence.
Features
- ๐ Keyword-based Search: Search for posts using multiple keywords, hashtags, usernames, or phrases
- ๐ Multiple Output Formats: Export data in JSON, CSV, or Excel format
- ๐ Real-time Data: Get the latest posts from Threads
- ๐ Engagement Metrics: Collect likes, replies, reposts, quotes, and view counts
- ๐ฏ Advanced Filtering: Sort by recent or relevant posts
- ๐ High Performance: Fast API-powered scraping with pagination support
- ๐ Deduplication: Automatically removes duplicate posts across keywords
Input Parameters
Required Fields
- Search Keywords (
keywords
): Array of keywords to search for- Examples:
["#AI", "Python", "Meta", "@username"]
- Each keyword is searched separately via individual API calls
- Examples:
Optional Fields
- Maximum Items Per Keyword (
maxItemsPerKeyword
): Maximum number of posts per keyword (1-2000, default: 50) - Sort By Recent (
sortByRecent
): Sort by recent posts (true) or relevant posts (false, default: true) - Output Format (
outputFormat
): Choose output format - JSON, CSV, or Excel (default: JSON) - Proxy Configuration (
proxyConfiguration
): Proxy settings for requests
Output Data
Each post includes the following fields:
Basic Information
id
: Unique post identifiertext
: Post content/captionauthor
: Username of the post authorauthor_name
: Display name of the authorauthor_id
: Unique author identifiercreated_at
: Post creation timestamp
Engagement Metrics
like_count
: Number of likesreply_count
: Number of repliesrepost_count
: Number of repostsquote_count
: Number of quotesview_count
: Number of views
Content Analysis
hashtags
: List of hashtags usedmentions
: List of mentioned usersurls
: List of URLs in the postmedia
: List of media attachmentslang
: Language of the post
Metadata
is_reply
: Whether the post is a replyis_repost
: Whether the post is a reposturl
: Direct link to the postverified
: Whether the author is verifiedfollower_count
: Author's follower countfollowing_count
: Author's following count
Usage Examples
Basic Search
{"keywords": ["#AI", "Python", "Meta"],"maxItemsPerKeyword": 100,"sortByRecent": true,"outputFormat": "json"}
Advanced Configuration
{"keywords": ["#MachineLearning", "@meta", "artificial intelligence"],"maxItemsPerKeyword": 200,"sortByRecent": false,"outputFormat": "excel","proxyConfiguration": {"useApifyProxy": true}}
Multiple Keywords Example
{"keywords": ["#TechNews","#Innovation","#Startup","@elonmusk","blockchain"],"maxItemsPerKeyword": 50,"sortByRecent": true,"outputFormat": "csv"}
API Endpoint
This actor uses the /threads/search/posts
endpoint with the following parameters:
query
: Search query stringcursor
: Pagination cursor for next page (optional)recent
: Sort by recent (1) or relevant (0) posts
Performance Notes
- The scraper uses pagination to collect large datasets efficiently
- Automatic retry logic with exponential backoff for reliability
- Rate limiting between requests to be respectful to the API
- Deduplication removes duplicate posts when using multiple keywords
- Maximum 20 items per API call for optimal performance
Output Formats
JSON (Default)
- Complete data including all fields and raw API response
- Best for programmatic processing and analysis
CSV
- Clean tabular format without raw data
- Perfect for spreadsheet analysis and data visualization
Excel (XLSX)
- Professional format with proper data types
- Ideal for business reports and presentations
Error Handling
The actor includes comprehensive error handling:
- Automatic retry on network failures
- Graceful handling of API rate limits
- Detailed logging for troubleshooting
- Validation of input parameters
Support
For questions, issues, or feature requests, please contact our support team or create an issue in the repository.
License
This project is licensed under the Apache-2.0 License.
On this page
Share Actor: