twitter-scraper
Twitter Scraper API
抓取 Twitter/X 个人资料、推文和搜索结果。无需 API 密钥。返回结构化 JSON,包含个人简介、数据统计、推文、互动指标。面向 AI 智能体的社交情报层。通过 x402 按次付费(使用 Base L2 上的 USDC)——无需 API 密钥、无需注册、无速率限制。
作为 klymax402 平台的一部分——面向 AI 智能体的 100 个 x402 微支付 API,一个钱包,基于 Base 的 USDC。
快速开始 -- MCP
添加到 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中:
{
"mcpServers": {
"twitter-scraper": {
"url": "https://twitter-scraper.api.klymax402.com/mcp"
}
}
}Related MCP server: Spectre
快速开始 -- HTTP (x402)
curl -X POST "https://twitter-scraper.api.klymax402.com/api/profile" \
-H "Content-Type: application/json" \
-d '{"username":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body任何支持 x402 的客户端(@x402/fetch、x402-agent-tools、ATXP)都会自动完成 402 -> 签名 -> 重试 的循环。
工具
工具 | 方法 | 路径 | 价格 | 描述 |
| POST |
| $0.012 | 抓取一个 Twitter/X 用户资料——bio、统计、头像、banner、置顶推文、认证状态。 |
| POST |
| $0.012 | 在 Twitter/X 搜索与查询匹配的推文——最多返回 20 条结果,包含文本、互动量、作者、时间戳。 |
| POST |
| $0.012 | 获取某个 Twitter/X 用户的最近推文——返回其最新推文及互动指标。 |
twitter_scrape_profile
你需要按用户名或 URL 查找一个有 Twitter/X 用户资料时使用此工具。返回结构化 profile 数据,包括 bio、关注者/关注数、推文数、认证状态和近期动态。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 不带 @ 的 Twitter/X 用户名(如 |
**返回 **
username-- @handlerdisplayName-- 全名bio-- 资料描述文本followers-- 关注者数目following-- 正在关注的数目tweetCount-- 推文总数verified-- 蓝勾认证状态createdAt-- 账号创建日期avatarUrl-- 头像图片 URLbannerUrl-- 封面图片 URLlocation-- 填写的所在地website-- 关联的链接pinnedTweet-- 置顶推文的文本(如果有)
示例响应:
{ "username": "elonmusk", "displayName": "Elon Musk", "bio": "...", "followers": 195000000, "following": 850, "tweetCount": 45000, "verified": true, "createdAt": "2009-06-02" }适用场景:社媒尽调、influencer 调研、竞争对手监控,或者在采信某账号内容前核实其真实性。
不适用: 推文搜索(使用 twitter_search_tweets)、信任/安全评分(用 trust_score_evaluate)、通过社交资料查邮箱(用 email_find_by_name)。
twitter_search_tweets
当你想查找关于某个话题、品牌、活动或关键词的推文时使用此工具。返回与 query 匹配的最多 20 条最近推文,比较全文、互动指标、作者信息和时间戳。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 搜索 query——支持关键词、短语、hashtag(#) 、提及(@)和 |
| number | 可选 | 返回的推文条数(1-20,默认 10) |
返回值
query-- 使用的搜索关键词results-- 推文对象数组resultCount-- 找到的推文数量
示例响应:
{ "query": "x402 protocol", "resultCount": 15, "results": [{ "id": "1234567890", "text": "x402 is the future of agent payments...", "author": { "username": "web3dev", "displayName": "Web3 Dev" }, "likes": 42, "retweets": 12, "replies": 5, "views": 1200, "createdAt": "2026-04-13T09:30:00Z" }] }适用场景: 市场情感分析、品牌监控、竞品追踪、新闻发现、趋势检测,或者实时了解人们对你关注的某话题的看法。
不适用: 个人资料数据(用 twitter_scrape_profile)、文本情感分析(用 text_analyze_sentiment)、alpha 类别 use crypto_get_news。
twitter_get_user_tweets
当你需要查看某个特定 Twitter/X 用户近期发布了什么内容时使用此工具。返回该用户的最新推文,包括全文、互动指标和时间戳。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 不带 @ 的 Twitter/X 用户名(比如 `VitalikButerin') |
| number | 可选 | 返回的推文条数(1-20,默认 10) |
返回
username-- 被查询的 @ 用户名tweets-- 推文对象数组,包含createdAt、likes、retweets、replies、views、isRetweet、isReply字段tweetCount-- 返回的推文条数
示例响应:
{ "username": "VitalikButerin", "tweetCount": 10, "tweets": [{ "id": "...", "text": "Excited about the new EIP proposal...", "likes": 5200, "retweets": 890, "views": 250000, "createdAt": "2026-04-12T14:00:00Z", "isRetweet": false }] }适用场景: 监测特定账号、追踪影响者动态、分析发布规律、或收集思想领袖的内容。
不适用: 个人资料信息(用 twitter_scrape_profile)、主题搜索(用 twitter_search_tweets)、跨平台社交资料查询(用 social_lookup_profile)。
智能体提示示例
"
look up a Twitter/X user profile by username or URL"find tweets about a topic, brand, event or keywordsee what someone specific posts recently
支付
协议: "x402 - - HTTP 原生按调付费,无需注册,无 API 密钥
网络: Base L2 (
eip155:8453)资产: USDC
处理方: Coinbase CDP(主),PayAI(备用)
也可通过 ATXP 使用(OAuth 封装 x402 / RFC 9728 受保护资源元数据)
属于 klymax402 的一部分
100 个面向 AI 智能体的 x402 微支付 API——一个钱包,Base 上 USDC,零注册。
完整 API 参考: https://klymax402.com/llms-full.txt
实时数据:
许可证
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Twitter (X) API alternative for AI agents: tweet search, profiles, followers. $0.0002 per result.
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
X/Twitter reads, search, monitors and posting. Pay-per-call in USDC — no signup, no API keys.
Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to automate Twitter/X interactions with over 140 tools, requiring no API key.504 npm669Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to fully automate X/Twitter interactions including searching, posting, engaging, and managing multiple accounts without paid API keys.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to automate Twitter/X tasks (scraping, posting, following, etc.) via 140+ MCP tools, no API key required.504 npm1Apache 2.0

x1-baas-mcpofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to scrape any URL through a stealth browser with anti-bot bypass, returning clean Markdown, and optionally pay per request via x402 micropayments.1MIT