x_search
Search X/Twitter tweets with the full operator set — keyword, exact phrase, from-user, language, date range, media type, minimum likes/retweets, verified-only — or search user profiles by keyword. Billed per tweet returned against your resultsLimit cap. Built for tracking what people say about a topic, brand, or ticker in real time.
Guidance: type=search-tweets (default): q required, resultsLimit MANDATORY (billed per tweet returned). Supports the full filter set: fromUser, language, sinceDate/untilDate, mediaType, minFaves, verifiedOnly, exactPhrase, excludeWords, advancedQuery, and more. type=search-users: q required; returns one results page per call — follow report.next_cursor for the next page (each page is a separate paid call).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Search query (X operator syntax supported for tweets). | |
| type | No | Search tweets (default) or users. | |
| cursor | No | search-users: pagination cursor from a previous call's report.next_cursor. | |
| fromUser | No | ||
| language | No | ||
| minFaves | No | ||
| mediaType | No | ||
| sinceDate | No | YYYY-MM-DD | |
| untilDate | No | YYYY-MM-DD | |
| minReplies | No | ||
| exactPhrase | No | ||
| minRetweets | No | ||
| excludeWords | No | ||
| resultsLimit | No | search-tweets: MANDATORY max tweets returned, billed per tweet. | |
| verifiedOnly | No | ||
| advancedQuery | No | Raw X search operator string appended to q. |