v2
latestOpenAPI 3.1.02026-08-075421692.0 MBSearch recent tweets
Search public tweets from the last 7 days matching an X search query, e.g. to discover tweets to reply to. The query string is passed through to X unchanged and supports X's search operators (from:user, -is:retweet, is:reply, lang:en, "exact phrase", conversation_id:123, boolean OR, ...). Note that standalone operators like is: / has: / lang: must be combined with a keyword or from: clause.
To reply to a found tweet, pass its id as the twitter platform entry's platformSpecificData.replyToTweetId when creating a post.
Rate limit: 300 requests per 15-min window per connected account.
Query parameters
The social account ID
X search query, max 512 characters. Operators are passed through unchanged; X rejects malformed queries with a 400.
Results per page. X requires a minimum of 10; values below 10 are rejected.
Only return tweets with an ID greater than (more recent than) this numeric tweet ID. Non-numeric values are rejected with 400.
Only return tweets with an ID less than (older than) this numeric tweet ID. Non-numeric values are rejected with 400.
Oldest UTC timestamp (ISO 8601, inclusive), within the last 7 days
Newest UTC timestamp (ISO 8601, exclusive), within the last 7 days
Pagination cursor from a previous response
Response
Matching tweets
Example response
{
"status": "success",
"tweets": [
{
"platform": "twitter"
}
],
"meta": {
"platform": "twitter"
}
}