$4.7 / 1k results
Search Threads for posts and users matching a searchQuery, returning post content and user details
Endpoint
POST /api/v1/agents/threads/search/run
Parameters
string
required
Text · Enter keywords, topics, hashtags, or phrases to search for in Threads posts. Example: ‘trump’, ‘artificial intelligence’, ‘#tech’, etc.
string
default:"top"
Dropdown · Choose how to sort search results. ‘top’ shows most relevant/popular posts first, ‘recent’ shows newest posts first.Options:
top, recentstring
Text · Only posts from this username (e.g. ‘foxnews’, ‘meta’). Leave empty to search all users.
date
Date picker · Earliest post date. Leave blank for no lower bound.
date
Date picker · Latest post date. Leave blank for no upper bound.
integer
default:50
Number · Maximum number of posts to scrape from search results. Use 0 for all (minimum: 10).
Response columns
Example
Example response
Response