Search X posts
Search public X posts from the last 7 days. The query is passed to X unchanged, so its operators work (from:user, to:user, -is:retweet, conversation_id:123, "exact phrase", boolean OR). Standalone operators like is:/has:/lang: must be combined with a keyword or from: clause. Use this to find mentions to answer; reply by creating a post with platform_data.twitter.replyToTweetId set to the id you found. Rate limit: 300 requests per 15-minute window per connected account.
Authorizations
API key in the format: Bearer {api_token}
Query Parameters
X search query, max 512 characters.
Connected X account to act as (sacct_ prefix id). Optional: a platform connects once per account, so the X account is resolved automatically.
Results per page, 10-100. X rejects anything below 10.
10 <= x <= 100Only posts newer than this numeric post id — the cursor for a polling loop.
Only posts older than this numeric post id.
Oldest UTC timestamp, inclusive (ISO 8601). Within the last 7 days.
Newest UTC timestamp, exclusive (ISO 8601). Within the last 7 days.
Opaque pagination cursor from a previous response's next_cursor.
recency (default) or relevancy.
recency, relevancy 
