Search Twitter/X Tweets
twitter.tweets.searchSearch Twitter/X tweets by keyword, hashtag, or advanced query. Returns tweet text, author info, engagement metrics (likes, retweets, replies, views), and timestamps. 96% cheaper than official X API. Covers recent tweets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query — keywords, hashtags, or advanced operators (e.g. "AI agents", "#crypto", "from:elonmusk") | |
| cursor | No | Pagination cursor from previous response (for next page of results) | |
| sort_order | No | Sort order: "recency" for latest first, "relevancy" for most relevant (default recency) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |