Search Threads posts by keyword
search_threads_postsSearch Threads posts by keywords and return one deduplicated row per matching post with text, author, date, likes, replies, reposts, quotes, and links; filter by age, likes, replies, and new posts.
Instructions
Search Threads for keywords and return one flat row per post that contains the keyword: text, author, publish date, likes, replies, reposts, quotes, and the post link, plus one free summary row per keyword. By default a post is kept only when the keyword's words are in its text next to each other; a post found by several keywords is returned once. Threads shows a visitor who is not logged in about 20 to 25 posts per search. Reads the public Threads search page; no login or key. A run that does not succeed is returned as an error with its run ID. Read-only; requires an APIFY_TOKEN and is billed per post row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | No | Words or phrases to search Threads for, up to 50. | |
| only_new | No | Skip posts an earlier run returned (free). Default false. | |
| min_likes | No | Set aside posts with fewer likes. | |
| state_key | No | Optional name for the only new posts memory. | |
| match_mode | No | phrase keeps a post when the keyword's words are next to each other in its text; all_words when every word is somewhere; off keeps every result. Default phrase. | |
| proxy_mode | No | auto uses the Apify proxy pool with residential as the fallback; residential uses residential addresses for every search. Does not change the price. Default auto. | |
| since_days | No | Set aside posts older than this many days. | |
| max_charge_usd | No | Optional. The run stops before a charge that would pass this amount. | |
| include_replies | No | Return matching replies too. Default true. | |
| max_posts_per_keyword | No | Posts per keyword. Default 25. |