Get X user replies
Get a user's Replies tab by handle (x.com/<handle>/with_replies) — their replies, newest first, plus the user's own tweets that sit at the root of those reply threads (self-threads). Standalone posts and reposts are not on this tab: use get_user_posts for the Posts tab, and X keeps reposts on a separate Reposts tab. Owner-authored rows only — the thread-context tweets X shows from other accounts are excluded. Returns per tweet: id, url, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to {id, author_handle} (null on a plain post) so replies are distinguishable and the parent is fetchable via get_tweet. Count is capped by how far X paginates before throttling.
Input
handle requiredX handle without the @, e.g. BernieSanders
count optionalMax rows to collect. Capped by how far X's timeline paginates before throttling.
Default: 100Output
None
FAQ
Search X tweets
Search X for tweets, supporting all X search operators; the tab arg picks 'top' (ranked sample, default) or 'latest' (chronological). Returns per tweet a canonical record: id, url, author {id, handle, name}, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus followers (the author's follower count, a search-only enrichment), and the top-level query and count. Top is a ranked sample, not exhaustive.
Delete tweet
Delete one of your own tweets given its URL. Returns the deleted tweet id and a deleted flag.
Get X user posts
Get a user's Posts tab by handle (x.com/<handle>) — their own tweets and self-threads, newest first. Excludes replies to others (see get_user_replies for the Replies tab), and excludes reposts, which X keeps on a separate Reposts tab. The post count shown on the profile header includes replies, so expect fewer items than that number. Returns per tweet: id, url, text, created_at, lang, likes, retweets, replies, quotes, views, bookmarks, is_retweet, is_quote. Count is capped by how far X paginates before throttling.
