单次调用即可抓取公开 Twitter / X 主页及其最近推文。每条推文均内嵌完整的 24 字段作者块,让您无需二次查询即可关联推文与主页。可选输出仅主页项,可配置每用户推文数,可选择是否包含回复与转推,遇限速时 warm-IP 轮换。无需登录、无需 API 密钥、无需 X 开发者账号。
# 通过 Apify API 启动运行 curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~twitter-x-profiles-tweets-scraper/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "usernames": ["elonmusk", "@sama", "https://x.com/naval"], "tweetsPerUser": 20, "includeReplies": false, "includeRetweets": false, "includeProfileOnlyItems": true }' # 或通过 MCP 与 AI 代理配合使用: # https://mcp.apify.com?tools=santamaria-automations/twitter-x-profiles-tweets-scraper
| 字段 | 类型 | 示例 |
|---|---|---|
| item_type | string | tweet |
| tweet.id | string | 1854729384759302174 |
| tweet.text | string | Mars is the future |
| tweet.engagement.like_count | integer | 248,300 |
| tweet.engagement.retweet_count | integer | 32,150 |
| tweet.entities.hashtags | array | ["mars", "spacex"] |
| author.username | string | elonmusk |
| author.follower_count | integer | 208,400,000 |
| author.verified | boolean | true |
| author.website | string | https://x.com/elonmusk |