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: Pylon MCP Server
快速开始 -- 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to automate Twitter/X interactions with over 140 tools, requiring no API key.360460Apache 2.0

Pylon MCP Serverofficial
FlicenseNot gradedqualityFmaintenanceProvides 20+ AI agent capabilities like web scraping, PDF parsing, OCR, and more, with pay-per-use micropayments via x402.1- AlicenseBqualityAmaintenanceEnables AI agents to search, read user profiles, timelines, media, follow threads, track trends, and manage accounts on X/Twitter via GraphQL, without browser automation or paid API keys.1009MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to fully automate X/Twitter interactions including searching, posting, engaging, and managing multiple accounts without paid API keys.MIT
Related MCP Connectors
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Pay-per-call web scraping for AI agents via x402 on Base USDC. Six tools, no signup.
Twitter/X, Instagram, Reddit & TikTok data for AI agents. Billions of posts. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/twitter-scraper-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server