ToolSocket / Tools / X (Twitter)
X (Twitter) data for AI agents
ToolSocket gives Claude, ChatGPT, Cursor, Codex and any MCP or REST client live access to X (Twitter) — tweets, profiles, followers, search and trends — through 25 ready-made tools. No X (Twitter) account, scraper or API key of your own is needed: connect https://toolsocket.top/mcp once and pay per call (most calls $0.0015).
ToolSocket 让 Claude、ChatGPT、Cursor、Codex 等任何支持 MCP 或 REST 的 AI 智能体,直接读取X (Twitter)的实时数据:推文、用户、粉丝、搜索和趋势数据,共 25 个工具。不用注册X (Twitter)账号、不用写爬虫,接入一个地址即可,按次计费(大多 $0.0015/次)。
- 25 tools
- Most calls $0.0015
- MCP + REST
- Failed calls refunded
What you can get
- Trending & rankings · 热榜与排行Trending (web)1 tool
- Search · 搜索Search (web) · Search communities (web)2 tools
- Posts & videos · 作品与内容Get single tweet data (web) · Get user post (web) · Get comments (web)8 tools
- Users & creators · 用户与创作者Get user profile (web) · Get user post (web) · Get user tweet replies (web)12 tools
- Comments · 评论Get comments (web) · Get the latest tweet comments (web)2 tools
- Live · 直播Check user live status (web)1 tool
Connect in one step
Claude.ai, ChatGPT, Cursor, VS Code: add the MCP URL https://toolsocket.top/mcp and sign in. Claude Code:
claude mcp add --transport http toolsocket https://toolsocket.top/mcp
Any agent that reads skills (Claude Code, Codex, OpenClaw…): tell it set up https://toolsocket.top/SKILL.md. Setup for every client is in the docs.
Example
「X 上大家怎么评价这次发布?」
Or call the tool directly over REST:
curl -s -X POST https://toolsocket.top/v1/run \
-H "Authorization: Bearer $TOOLSOCKET_API_KEY" \
-H "content-type: application/json" \
-d '{"tool":"twitter#web/fetch_trending","input":{"country":"UnitedStates"},"wait":30}'All X (Twitter) tools (25)
| Tool | ID | Price |
|---|---|---|
| X (Twitter) · Get single tweet data (web)X(推特) · 获取单个推文数据(web) Get single tweet data | twitter#web/fetch_tweet_detail | $0.0015 / call |
| X (Twitter) · Get user profile (web)X(推特) · 获取用户资料(web) Get user profile | twitter#web/fetch_user_profile | $0.0015 / call |
| X (Twitter) · Get user post (web)X(推特) · 获取用户发帖(web) Get user post | twitter#web/fetch_user_post_tweet | $0.0015 / call |
| X (Twitter) · Search (web)X(推特) · 搜索(web) Search | twitter#web/fetch_search_timeline | $0.0015 / call |
| X (Twitter) · Get comments (web)X(推特) · 获取评论(web) Get comments under the tweet | twitter#web/fetch_post_comments | $0.0015 / call |
| X (Twitter) · Get the latest tweet comments (web)X(推特) · 获取最新的推文评论(web) Get the latest tweet comments | twitter#web/fetch_latest_post_comments | $0.0015 / call |
| X (Twitter) · Get user tweet replies (web)X(推特) · 获取用户推文回复(web) Get user tweet replies | twitter#web/fetch_user_tweet_replies | $0.0015 / call |
| X (Twitter) · Get user media (web)X(推特) · 获取用户媒体(web) Get user media | twitter#web/fetch_user_media | $0.0015 / call |
| X (Twitter) · ReTweet User list (web)X(推特) · 转推用户列表(web) Get ReTweet User list | twitter#web/fetch_retweet_user_list | $0.0015 / call |
| X (Twitter) · Trending (web)X(推特) · 趋势(web) Get Trending | twitter#web/fetch_trending | $0.0015 / call |
| X (Twitter) · User Followings (web)X(推特) · 用户关注(web) Get User Followings | twitter#web/fetch_user_followings | $0.0015 / call |
| X (Twitter) · User Followers (web)X(推特) · 用户粉丝(web) Get User Followers | twitter#web/fetch_user_followers | $0.0015 / call |
| X (Twitter) · Get community info (web)X(推特) · 获取社区详情(web) Get community info | twitter#web/fetch_community_info | $0.0015 / call |
| X (Twitter) · Get community members (no pagination) (web)X(推特) · 获取社区成员(无分页)(web) Get community members | twitter#web/fetch_community_members | $0.0015 / call |
| X (Twitter) · Get community timeline (web)X(推特) · 获取社区帖子(web) Get community timeline | twitter#web/fetch_community_timeline | $0.0015 / call |
| X (Twitter) · Search communities (web)X(推特) · 搜索社区(web) Search communities | twitter#web/fetch_search_communities | $0.0015 / call |
| X (Twitter) · Get user about profile (web)X(推特) · 获取用户账号档案信息(web) Get user about profile | twitter#web/fetch_user_about | $0.0015 / call |
| X (Twitter) · Get user affiliates (web)X(推特) · 获取用户关联子账号(web) Get user affiliates | twitter#web/fetch_user_affiliates | $0.0015 / call |
| X (Twitter) · Get profiles by rest ids (web)X(推特) · 批量根据用户ID获取用户资料(web) Get profiles by rest ids | twitter#web/fetch_user_profiles_by_rest_ids | $0.0015 / call |
| X (Twitter) · Check follow (web)X(推特) · 检查用户是否关注了另一个用户(web) Check follow | twitter#web/fetch_check_follow | $0.0015 / call |
| X (Twitter) · Check retweet (web)X(推特) · 检查用户是否转推了某条推文(web) Check retweet | twitter#web/fetch_check_retweet | $0.0015 / call |
| X (Twitter) · Get list timeline (web)X(推特) · 获取列表帖子(web) Get list timeline | twitter#web/fetch_list_timeline | $0.0015 / call |
| X (Twitter) · Get list members (web)X(推特) · 获取列表成员(web) Get list members | twitter#web/fetch_list_members | $0.0015 / call |
| X (Twitter) · Get list followers (web)X(推特) · 获取列表关注者(web) Get list followers | twitter#web/fetch_list_followers | $0.0015 / call |
| X (Twitter) · Check user live status (web)X(推特) · 检查用户是否正在直播(web) Check user live status | twitter#web/fetch_user_live_status | $0.0015 / call |
Machine-readable: /tools/twitter.md · llms.txt · /v1/tools
FAQ
How can my AI agent get X (Twitter) data?
Connect the ToolSocket MCP server (https://toolsocket.top/mcp) to Claude, ChatGPT, Cursor, Codex or any MCP client, or call the REST API. Your agent searches the 25 X (Twitter) tools with discover_tools, reads the input schema with inspect_tool and runs it with run_tool.
Do I need a X (Twitter) account or API key?
No. ToolSocket handles the upstream access. You only need a ToolSocket account with a prepaid balance.
How much does it cost?
Most X (Twitter) calls cost $0.0015. You pay per call from a prepaid balance, there is no subscription, and failed calls are refunded automatically.
Which AI agents work with it?
Claude.ai and Claude Desktop, Claude Code, ChatGPT (developer mode), Cursor, VS Code Copilot, Windsurf, Codex, and any agent that can read a Markdown skill or make HTTP requests.
Other platforms
Douyin (抖音)TikTokXiaohongshu (小红书)WeChat (微信)Weibo (微博)Bilibili (B站)Kuaishou (快手)Zhihu (知乎)Toutiao (今日头条)Xigua Video (西瓜视频)Pipixia (皮皮虾)Lemon8InstagramYouTubeThreadsRedditLinkedInTelegramDefiLlama (DeFi & crypto)Web search & page readerOpen data