threads_search_posts
Search public Threads posts by keyword or topic tag, then filter results by media type, author, or date range to find relevant discussions.
Instructions
Search for public Threads posts by keyword or topic tag via the /keyword_search endpoint. Results can be filtered by media type and author.
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": {
"q": "<q>"
},
"name": "threads_search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search keyword or topic tag to query | |
| limit | No | Number of results (default 25, max 100) | |
| since | No | Start date (Unix timestamp, must be >= 1688540400) | |
| until | No | End date (Unix timestamp) | |
| media_type | No | Filter results by media type | |
| search_mode | No | Treat q as a keyword or a topic tag (default: KEYWORD) | |
| search_type | No | Return most popular or most recent results (default: TOP) | |
| author_username | No | Filter results to an exact author username (no @) |