X
Available Tools
Like a post/tweet by its ID. Requires like.write scope.
Unlike a post/tweet by its ID. Removes your like from the post.
Retweet a post by its ID. Shares the post with your followers.
Undo a retweet by its original tweet ID. Removes the retweet from your profile.
Bookmark a post/tweet for later. Private bookmarks are only visible to you.
Remove a post from your bookmarks by its tweet ID.
Get your bookmarked posts. Returns up to 100 posts per page with pagination.
Get users who liked a tweet. Returns up to 100 users with pagination.
Get tweets a user has liked. Use get_me first to get your own user ID.
Get users who retweeted a post. Returns up to 100 users.
Get quote tweets of a post. Returns tweets that quote the specified tweet.
Create a new post/tweet. Max 280 chars. Supports replies (reply_to_tweet_id), quotes (quote_tweet_id), and polls (2-4 options).
Delete a post/tweet by its ID. You can only delete your own posts.
Get a single post/tweet by its ID. Returns text, author, metrics, and referenced tweets.
Search posts from the last 7 days. Supports operators: from:user, to:user, -is:retweet, has:media, lang:en. Max 100 results per page.
Follow a user by their user ID. Use get_user_by_username first if you only have the @handle.
Unfollow a user by their user ID. Also cancels pending follow requests.
Mute a user by their user ID. Their posts won’t appear in your timeline but they can still follow you.
Unmute a user by their user ID. Their posts will appear in your timeline again.
Get your list of muted users. Muted users’ posts don’t appear in your timeline.
Get a user’s recent tweets by user ID. Can exclude retweets/replies. Use get_me first to get your own user ID.
Get tweets that mention a user by their user ID. Use get_me first to get mentions of yourself.
Get the authenticated user’s profile including ID, username, name, bio, and metrics. Use this first to get your user ID for other operations.
Get a user’s profile by their unique ID. Returns username, name, bio, follower counts, and verification status.
Get a user’s profile by @username (without the @ symbol). Returns ID, name, bio, metrics, and verification status.
Get a list of users who follow the specified user. Returns up to 1000 followers per request with pagination.
Get a list of users that the specified user follows. Returns up to 1000 accounts per request with pagination.