Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Search recent tweets
TWITTER_RECENT_SEARCHSearches Tweets from the last seven days using X query syntax, with optional fields, expansions, sorting, and time or ID bounds. Timestamp and ID bounds cannot be combined in the same request. Requests for more than 100 results are automatically paginated up to 2,000; use the returned next token to continue when more results are available.
Retrieve DM conversation events
TWITTER_RETRIEVE_DM_CONVERSATION_EVENTSRetrieves Direct Message (DM) events for a specific conversation ID on Twitter, useful for analyzing messages and participant activities.
Retrieve posts that quote a post
TWITTER_RETRIEVE_POSTS_THAT_QUOTE_A_POSTRetrieves Tweets that quote a specified Tweet, requiring a valid Tweet ID.
Retrieve liked tweets by user ID
TWITTER_RETURNS_POST_OBJECTS_LIKED_BY_THE_PROVIDED_USER_IDRetrieves Tweets liked by a specified Twitter user, provided their liked tweets are public or accessible.
Get full archive search counts
TWITTER_SEARCH_FULL_ARCHIVE_COUNTSReturns a count of Tweets from the full archive that match a specified query, aggregated by day, hour, or minute; `start_time` must be before `end_time` if both are provided, and `since_id`/`until_id` cannot be used with `start_time`/`end_time`.
Search X news
TWITTER_SEARCH_NEWSSearches X for AI-generated news stories matching text.
Fetch recent tweet counts
TWITTER_SEARCH_RECENT_COUNTSRetrieves the count of Tweets matching a specified search query within the last 7 days, aggregated by 'minute', 'hour', or 'day'.
Search for spaces
TWITTER_SEARCH_SPACESSearches for Twitter Spaces by a textual query, optionally filtering by state (live, scheduled, all) to discover audio conversations.
Search users
TWITTER_SEARCH_USERSSearches X accounts by name or @username and returns one page of profiles.
Get tweets label stream
TWITTER_STREAM_POST_LABELSStream real-time Tweet label events (apply/remove). Requires Enterprise access and App-Only OAuth 2.0 auth. Returns PublicTweetNotice or PublicTweetUnviewable events. 403 errors indicate missing Enterprise access or wrong auth type.
Get user reverse chronological timeline
TWITTER_USER_HOME_TIMELINE_BY_USER_IDRetrieves the authenticated Twitter user's reverse chronological home timeline, including posts from followed accounts and the user's own posts. The user ID is fetched automatically when omitted; a supplied ID that differs from the authenticated user's ID is replaced with the authenticated ID.
Look up user by username
TWITTER_USER_LOOKUP_BY_USERNAMEFetches public profile information for a valid and existing Twitter user by their username, optionally expanding related data like pinned Tweets; results may be limited for protected profiles not followed by the authenticated user.
Look up users by username
TWITTER_USER_LOOKUP_BY_USERNAMESRetrieves detailed information for 1 to 100 Twitter users by their usernames (each 1-15 alphanumeric characters/underscores), allowing customizable user/tweet fields and expansion of related data like pinned tweets.
Get authenticated user
TWITTER_USER_LOOKUP_MEReturns profile information for the currently authenticated X user, customizable via request fields.