Threads Search Scraper
Searches Threads by keyword, phrase or hashtag without logging in and returns the matching public posts — text, author, like, reply, repost and quote counts, media URLs, links, hashtags and mentions.
What it extracts
Every field below comes from the Actor’s published dataset schema.
| Field | Description | Type |
|---|---|---|
searchQuery | Query | text |
username | Author | text |
text | Text | text |
likeCount | Likes | number |
replyCount | Replies | number |
repostCount | Reposts | number |
mediaType | Media | text |
createdAt | Posted | date |
url | Post URL | link |
Input parameters
Generated from the Actor’s input schema — the same fields the Apify console shows.
| Parameter | Type | Required | Description |
|---|---|---|---|
searchQueries | array | Required | Keywords, phrases, hashtags (with or without #) or Threads search URLs (https://www.threads.com/search?q=...). Each query is searched separately. For an account's posts use logical_scrapers/threads-profile-scraper; for a post by its URL use logical_scrapers/threads-post-scraper. |
searchType | string | Optional | Which Threads search tab to read. Top returns the posts Threads ranks highest, Recent the newest posts, Tags the posts filed under the matching topic tag. All reads the three tabs in that order and removes duplicates, which returns the most posts per query. When Threads does not serve Top results to a logged-out visitor, the Actor reads Recent instead. |
maxItems | integer | Optional | Maximum number of posts to save per search query. Threads shows a logged-out visitor one page per search tab, so a single tab returns roughly 15 to 35 posts; use the All search type to get more. |
includeReplies | boolean | Optional | Search results sometimes carry a reply underneath the matching post. Turn this on to save those replies as their own items; off saves only the top-level posts. |
postedAfter | string | Optional | Keep only posts published on or after this date (YYYY-MM-DD, UTC). Applied to the posts Threads returns; it does not make Threads search further back. |
postedBefore | string | Optional | Keep only posts published before this date (YYYY-MM-DD, UTC). |
proxyConfiguration | object | Optional | Proxies are included in the price and chosen automatically, so you can leave this as it is. To route requests through your own proxies, select "Own proxies" and enter their URLs. |
API access
Run this Actor from your own code over the Apify API.
{
"searchQueries": [
"nature"
]
}curl -X POST \
"https://api.apify.com/v2/acts/logical_scrapers~threads-search-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchQueries":["nature"]}'import { ApifyClient } from 'apify-client'
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' })
const run = await client.actor('logical_scrapers~threads-search-scraper').call({
"searchQueries": [
"nature"
]
})
const { items } = await client.dataset(run.defaultDatasetId).listItems()
console.log(items)from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("logical_scrapers~threads-search-scraper").call(run_input={
"searchQueries": [
"nature",
],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)Runs are executed on Apify. Create an API token in your Apify account, then call the Actor over REST or with the official client for your language. The same input object works in the Apify console, so you can test interactively before automating.
Use it in n8n
Workflow templates that run this Actor through Apify’s n8n node. Import one, connect your Apify account and edit a single settings node.
Use cases
Brand and keyword monitoring
Search for a brand, product or campaign hashtag on a schedule and log the posts that mention it.
Trend and hashtag research
See which posts Threads ranks on top for a topic and what is being posted about it now.
Creator discovery
Find accounts posting about a niche by searching its keywords or topic tag, then compare their engagement.
Datasets for analysis and AI
Build keyword datasets for sentiment or share-of-voice studies, or feed fresh posts on a topic to an agent.
Pricing
Pay per event — you are charged for each successfully scraped result item.
Current rates are published on the Apify listing and can change, so they are not duplicated here. See pricing on Apify
Reliability
Measured across all public Goldmine Actors on Apify, 2026-11-12. This is an account-level figure, not a per-Actor benchmark — per-Actor speed and completeness benchmarks are not yet published. Source.
Limitations
What this Actor does not do, so you can tell before you run it whether it fits.
- Threads shows a logged-out visitor one page per search tab, roughly 15 to 35 posts, with no further pages. Reading the Top, Recent and Tags tabs together (`searchType: "all"`) returns the most posts per query.
- Threads often does not serve Top results to logged-out visitors. The Actor detects that and reads the Recent tab instead; each item records the tab it came from in `searchType`.
- `postedAfter` and `postedBefore` filter the posts Threads returned. They do not make Threads search further back in time.
- Author filtering is a logged-in Threads feature and is not available. Filter on `username` in the exported data instead.
- Threads search matches on words, tags and topics it associates with a query, so results can include loosely related posts.
Frequently asked questions
Does it need a Threads account or cookies?
No. It reads what Threads shows a logged-out visitor, so there is nothing to log in with and no account of yours involved.
What is the difference between Top, Recent and Tags?
Top is what Threads ranks highest for the query, usually the posts with the most engagement. Recent is the newest posts mentioning it. Tags is the posts filed under the matching topic tag, which is what a hashtag search shows on Threads.
How many posts can one query return?
`maxItems` caps posts per search query. A single tab cannot exceed the one page Threads serves, roughly 15 to 35 posts; `searchType: "all"` reads the three tabs together and removes duplicates.
Used for
Workflows this Actor is part of, and the other scrapers it chains with.