X (Twitter) tweets by handle or search
twitterTweets from X (Twitter) for one account or a search query. {"mode":"profile","query":"nasa"} returns that account's tweets, mode search takes keywords, and limit is 1-20. Each tweet has text, createdAt, url, lang, likeCount, retweetCount, replyCount, quoteCount, viewCount, isReply, isRetweet and an author object with userName, name, followers and isBlueVerified. No X developer account needed; pay per call in USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | profile=account's tweets, search=keyword→tweets | |
| limit | No | number of posts wanted, 1 to 20 (default 5). A larger value is lowered to 20 and 0 or a negative one means the default; the quote follows the value used. | |
| query | Yes | handle without @ (profile) or search keywords |