Original:🇺🇸 English
Translated
3 scriptsChecked / no sensitive code detected
Twitter/X data lookup — search tweets, user profiles, followers, replies. Use when the user asks about Twitter activity, social signals, or wants to look up accounts.
152installs
Added on
NPX Install
npx skill4agent add starchild-ai-agent/official-skills twitterTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Twitter / X Data
Read-only access to Twitter/X via twitterapi.io. Use these tools to look up tweets, users, followers, and social activity.
Tool Decision Tree
"Search for tweets about a topic" →
Advanced query with operators: keywords, from:user, #hashtag, $cashtag, min_faves, date ranges.
twitter_search_tweets"Look up a specific tweet or set of tweets" →
Pass one or more tweet IDs directly.
twitter_get_tweets"Who is this Twitter account?" →
Profile data: bio, follower count, tweet count, verification.
twitter_user_info"What has this account been posting?" →
Recent tweets from a specific user.
twitter_user_tweets"Who follows this account?" →
List of followers for a user.
twitter_user_followers"Who does this account follow?" →
List of accounts a user follows.
twitter_user_followings"What are people saying in reply to this tweet?" →
Replies to a specific tweet by ID.
twitter_tweet_replies"Who retweeted this?" →
Users who retweeted a specific tweet.
twitter_tweet_retweeters"Find accounts related to a topic" →
Search users by name or keyword.
twitter_search_usersAvailable Tools
| Tool | Description | Key Params |
|---|---|---|
| Advanced tweet search | |
| Get tweets by ID | |
| User profile lookup | |
| User's recent tweets | |
| User's followers | |
| User's followings | |
| Replies to a tweet | |
| Who retweeted | |
| Search for users | |
Usage Patterns
Research an account
- — get profile, follower count, bio
twitter_user_info - — see what they've been posting
twitter_user_tweets - — who they follow (reveals interests)
twitter_user_followings
Track a topic or token
- with query like
twitter_search_tweets— find popular tweets"$SOL min_faves:50" - with the topic — find relevant accounts
twitter_search_users - Follow up with on interesting accounts
twitter_user_info
Analyze engagement on a tweet
- — get the tweet and its metrics
twitter_get_tweets - — see the conversation
twitter_tweet_replies - — see who amplified it
twitter_tweet_retweeters
Find influencers in a space
- with keyword (e.g. "DeFi analyst")
twitter_search_users - on top results to compare follower counts
twitter_user_info - to check content quality
twitter_user_tweets
Search Query Operators
The tool supports advanced operators:
twitter_search_tweets| Operator | Example | Description |
|---|---|---|
| keyword | | Tweets containing the word |
| exact phrase | | Exact phrase match |
| | Tweets by a specific user |
| | Tweets replying to a user |
| | Tweets with hashtag |
| | Tweets with cashtag |
| | Filter by language |
| | Tweets with images/video |
| | Tweets with URLs |
| | Only replies |
| | Minimum likes |
| | Minimum retweets |
| | Tweets after date |
| | Tweets before date |
Combine operators:
from:VitalikButerin $ETH min_faves:100 since:2024-01-01Pagination
Most endpoints support cursor-based pagination. When a response includes a cursor value, pass it as the parameter to get the next page. If no cursor is returned, you've reached the end.
cursorNotes
- API key required: Set environment variable. Tools will error without it.
TWITTER_API_KEY - Read-only: These tools only retrieve data. No posting, liking, or following.
- Usernames: Always pass without the prefix (e.g.
@not"elonmusk")."@elonmusk" - Tweet IDs: Use string format for tweet IDs to avoid integer overflow issues.
- Rate limits: The API has rate limits. If you get rate-limited, wait before retrying.