keyword_search
Search keywords and hashtags across social media platforms to retrieve posts and analytics. Use Boolean syntax to refine results.
Instructions
Create a keyword/hashtag search across social media platforms (X, Reddit, YouTube, Facebook, Instagram, Threads, Bluesky, and more). Polls until the search is complete and returns the full results. Oversized responses are truncated (truncated: true, largest post arrays shortened) — retrieve complete post data with get_keyword_search_posts. A status of results_pending means the search succeeded but results are still being written; fetch them with get_keyword_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. Expects KEYWORDS, not prose — a plain multi-word query is token-OR-matched server-side (each word matched independently), which pulls in unrelated posts and pollutes the sentiment/coordination analytics. ALWAYS prefer boolean syntax: AND = both required (Tesla AND battery); OR = synonyms/variants (EV OR "electric vehicle"); NOT = exclude noise (Tesla NOT "Nikola Tesla"); quotes = exact phrase ("Sherrod Brown"); parentheses = grouping. Example: "Sherrod Brown" AND (Husted OR "Ohio Senate") NOT satire. For broad topics, run several focused boolean searches rather than one wide query. | |
| end_date | No | End date (YYYY-MM-DD) | |
| max_post | No | Maximum number of posts to retrieve (default: 100) | |
| platforms | No | Platforms to search (default: twitter, reddit, bluesky, youtube) | |
| start_date | No | Start date (YYYY-MM-DD) |