threads_search_hashtag
Search public Threads posts by hashtag, including niche tags via keyword fallback; filter by date and engagement and continue results with a cursor. Estimate credit costs before paid searches.
Instructions
Search Threads posts by HASHTAG. The default search only knows hashtags that are Threads topic tags (e.g. #motorcycle); niche hashtags need fallback_full=true: real keyword search at 3 credits per post. Returns slim posts, a summary (pages, matches, credits, why it stopped), top authors and next_cursor to continue.
Args:
hashtags: One or more hashtags, comma/space separated, e.g. "motogymkhana" or "#moto, #gymkhana". A post matches if it has ANY of them (checked in ext.hashtags and the text); results are merged and de-duplicated.
fallback_full: If a hashtag finds nothing, retry it once with real keyword search (3 credits per post).
mode: How hard to look. "quick" (default) = one page, at most 30 credits; "deep" = scroll until about 30 matches (up to 20 pages, at most 200 credits); "bulk" = scroll as far as the budget allows (up to 50 pages, at most 500 credits), for exports. State the mode you chose and why.
target_matches: Stop once this many matching posts are collected (0 = the mode's default).
min_engagement: Drop posts whose likes + comments are below this (views are not used).
start_date: Optional ISO date (YYYY-MM-DD) lower bound.
end_date: Optional ISO date (YYYY-MM-DD) upper bound.
cursor: next_cursor from a previous call, to continue where it stopped.
max_credits: Replace the mode's credit budget (0 = the mode's budget). The search stops before a page that would exceed it.
save_csv: File name (no folders), e.g. "moto_posts". Saves ALL matches to <data dir>/exports/<name>.csv (the reply says the exact path) and authors to <name>_authors.csv; the reply then carries only a 10-post preview.
dry_run: True = do not search, only return the credit estimate and the account balance for these exact arguments (free).
confirmed: Leave False. Without it nothing is run: you get the balance and the estimate. Set True only after the user has seen them and said yes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hashtags": "<hashtags>"
},
"name": "threads_search_hashtag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quick | |
| cursor | No | ||
| dry_run | No | ||
| end_date | No | ||
| hashtags | Yes | ||
| save_csv | No | ||
| confirmed | No | ||
| start_date | No | ||
| max_credits | No | ||
| fallback_full | No | ||
| min_engagement | No | ||
| target_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |