Loading...
Loading...
Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.
npx skill4agent add axssbug/opentwitter-mcp twitter$TWITTER_TOKENhttps://ai.6551.ioAuthorization: Bearer $TWITTER_TOKENcurl -s -X POST "https://ai.6551.io/open/twitter_user_info" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk"}'curl -s -X POST "https://ai.6551.io/open/twitter_user_by_id" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"userId": "44196397"}'curl -s -X POST "https://ai.6551.io/open/twitter_user_tweets" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk", "maxResults": 20, "product": "Latest"}'| Parameter | Type | Default | Description |
|---|---|---|---|
| string | required | Twitter username (without @) |
| integer | 20 | Max tweets (1-100) |
| string | "Latest" | "Latest" or "Top" |
| boolean | false | Include reply tweets |
| boolean | false | Include retweets |
curl -s -X POST "https://ai.6551.io/open/twitter_search" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": "bitcoin", "maxResults": 20, "product": "Top"}'curl -s -X POST "https://ai.6551.io/open/twitter_search" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"fromUser": "VitalikButerin", "maxResults": 20}'curl -s -X POST "https://ai.6551.io/open/twitter_search" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"hashtag": "crypto", "minLikes": 100, "maxResults": 20}'| Parameter | Type | Default | Description |
|---|---|---|---|
| string | - | Search keywords |
| string | - | Tweets from specific user |
| string | - | Tweets to specific user |
| string | - | Tweets mentioning user |
| string | - | Filter by hashtag (without #) |
| boolean | false | Exclude reply tweets |
| boolean | false | Exclude retweets |
| integer | 0 | Minimum likes threshold |
| integer | 0 | Minimum retweets threshold |
| integer | 0 | Minimum replies threshold |
| string | - | Start date (YYYY-MM-DD) |
| string | - | End date (YYYY-MM-DD) |
| string | - | Language code (e.g. "en", "zh") |
| string | "Top" | "Top" or "Latest" |
| integer | 20 | Max tweets (1-100) |
# Get new followers
curl -s -X POST "https://ai.6551.io/open/twitter_follower_events" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk", "isFollow": true, "maxResults": 20}'
# Get unfollowers
curl -s -X POST "https://ai.6551.io/open/twitter_follower_events" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk", "isFollow": false, "maxResults": 20}'| Parameter | Type | Default | Description |
|---|---|---|---|
| string | required | Twitter username (without @) |
| boolean | true | true=new followers, false=unfollowers |
| integer | 20 | Max events (1-100) |
curl -s -X POST "https://ai.6551.io/open/twitter_deleted_tweets" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk", "maxResults": 20}'| Parameter | Type | Default | Description |
|---|---|---|---|
| string | required | Twitter username (without @) |
| integer | 20 | Max tweets (1-100) |
curl -s -X POST "https://ai.6551.io/open/twitter_kol_followers" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "elonmusk"}'| Parameter | Type | Default | Description |
|---|---|---|---|
| string | required | Twitter username (without @) |
{
"userId": "44196397",
"screenName": "elonmusk",
"name": "Elon Musk",
"description": "...",
"followersCount": 170000000,
"friendsCount": 500,
"statusesCount": 30000,
"verified": true
}{
"id": "1234567890",
"text": "Tweet content...",
"createdAt": "2024-02-20T12:00:00Z",
"retweetCount": 1000,
"favoriteCount": 5000,
"replyCount": 200,
"userScreenName": "elonmusk",
"hashtags": ["crypto", "bitcoin"],
"urls": [{"url": "https://..."}]
}curl -s -X POST "https://ai.6551.io/open/twitter_user_tweets" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "VitalikButerin", "maxResults": 10}'curl -s -X POST "https://ai.6551.io/open/twitter_search" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords": "bitcoin", "minLikes": 1000, "product": "Top", "maxResults": 20}'