x_posts_search
Searches recent posts for several queries in parallel. Recent search reaches back seven days only.
- queries []string required
- Run in parallel, capped at
POSTS_MAX_QUERIES(5). 512 characters each at most. Operators go inside the query string:from:,to:,lang:,is:reply,has:media,url:,conversation_id:, quoting, grouping and-for NOT. - max_results int = 10
- Posts per query, 1..100. Every one of them is billed.
- sort_order string
recency(newest first) orrelevancy(best match).- days int = 7
- How far back, 1..7. The API cannot go further.
- include_retweets bool = false
- When false the server appends
-is:retweetto every query. - timeout_ms int64 = 15000
- Whole-call timeout, clamped to
[2000, 60000].