SuperAPI AI 工具集

x-twitter-scraper

数据与分析

查看项目

更新于 10-16 08:08

技能介绍

用途:通过 Xquik 平台获取与监控 X(Twitter)数据,覆盖推文搜索、用户资料、批量提取、抽奖抽取、账号监控和趋势话题。

主要能力:REST API(基础地址 https://xquik.com/api/v1,认证头 x-api-key: xq_...)、MCP 服务器(https://xquik.com/mcp,StreamableHTTP)与 HMAC Webhook。MCP 提供 22 个工具,包括 search-tweets、lookup-tweet、get-user-info、check-follow、get-trends、add-monitor、run-draw、estimate-extraction、run-extraction、get-extraction 等。批量提取含 19 种工具类型,如 follower_explorer、reply_extractor、repost_extractor、community_extractor、list_member_extractor、space_explorer、people_search 等。监控事件类型有 tweet.new、tweet.reply、tweet.quote、tweet.retweet、follower.gained、follower.lost。

使用方式:需 Xquik 账号与有效订阅,并在控制台生成 API Key。MCP 客户端(Claude Desktop、Claude Code、Cursor、VS Code 等)配置示例:{"mcpServers":{"xquik":{"type":"streamable-http","url":"https://xquik.com/mcp","headers":{"x-api-key":"xq_YOUR_KEY_HERE"}}}}。批量提取流程为先 estimate-extraction 估算成本,再 run-extraction 创建任务,最后 get-extraction 分页取结果。抽奖用 POST /draws,可配置 mustRetweet、mustFollowUsername、filterMinFollowers、filterAccountAgeDays、filterLanguage、requiredKeywords、requiredHashtags、requiredMentions、uniqueAuthorsOnly 等过滤条件。监控用 POST /monitors 创建,POST /webhooks 注册回调。

限制:速率限制为持续 10 req/s、突发 20;定价 $20/月含 1 个监控,额外监控 $5/月/个。搜索仅覆盖近期推文而非完整存档;基础搜索结果不含互动指标,需 lookup-tweet 获取。MCP 用户资料返回字段为子集,完整资料需用 REST API。导出 CSV/XLSX/MD 上限 50,000 行。Webhook 密钥仅创建时显示一次,需校验 X-Xquik-Signature,并在 10 秒内响应。错误处理仅对 429 与 5xx 重试,402 表示配额耗尽。ID 为字符串,时间戳为 ISO 8601 UTC,游标不透明,分页用 hasMore + nextCursor。趋势接口免费不消耗配额。

适用场景:社媒数据分析、竞品与账号监控、粉丝/互动者名单提取、抽奖活动、趋势追踪。