返回顶部
a

agentbox-twitterTwitter研究工具

Twitter/X research via paid API: search tweets with 50+ operators, fetch tweets with threads/replies/quotes, get user profiles with tweets/followers/following. Uses x402_payment tool for automatic USDC micropayments ($0.003/call). Use when: (1) searching tweets by keyword, user, or advanced operators, (2) fetching specific tweets by ID/URL with context, (3) looking up user profiles and their activity.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
329
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

agentbox-twitter

Twitter研究

付费Twitter/X数据API,地址为https://twitter.x402.agentbox.fyi。每次调用通过Solana上的x402支付0.003 USDC。所有请求均使用x402_payment工具。

端点

搜索推文

使用50多个高级运算符查找匹配查询的推文。

x402_payment({
url: https://twitter.x402.agentbox.fyi/search,
method: GET,
params: {\q\: \from:elonmusk AI\, \type\: \Latest\, \limit\: 20}
})

参数:

参数类型默认值描述
q字符串必填带运算符的搜索查询
type
Latest或Top | Latest | 按时间或热度排序 |
| limit | 1-200 | 20 | 返回的最大推文数 |
| cursor | 字符串 | - | 来自前一次响应的分页游标 |

搜索运算符:

运算符示例描述
from:userfrom:elonmusk用户发布的推文
to:user
to:elonmusk | 回复用户的推文 |
| @user | @solana | 提及用户 |
| minfaves:N | minfaves:100 | 最低点赞数 |
| minretweets:N | minretweets:50 | 最低转发数 |
| minreplies:N | minreplies:10 | 最低回复数 |
| filter:media | filter:media | 包含媒体 |
| filter:images | filter:images | 包含图片 |
| filter:videos | filter:videos | 包含视频 |
| filter:links | filter:links | 包含链接 |
| filter:replies | filter:replies | 仅回复 |
| -filter:replies | -filter:replies | 排除回复 |
| since:date | since:2025-01-01 | 指定日期之后 |
| until:date | until:2025-12-31 | 指定日期之前 |
| withintime:Nh | withintime:24h | 最近N小时 |
| lang:code | lang:en | 语言过滤 |
| conversationid:ID | conversationid:123 | 在对话中 |
| filter:selfthreads | from:user filter:selfthreads | 用户的帖子回复链 |

组合运算符:from:elonmusk AI minfaves:100 -filter:replies withintime:7d

响应: { query, tweets[], count, hasMore, nextCursor, summary }

summary对象包含:totalLikes、totalRetweets、totalReplies、avgLikes、maxLikes、topTweetId。

获取推文

通过ID或URL获取推文,可选包含帖子链、回复和引用。

x402_payment({
url: https://twitter.x402.agentbox.fyi/tweet/1585841080431321088,
method: GET,
params: {\include\: \thread,replies\, \limit\: 50}
})

URL格式: /tweet/{ref},其中ref为:

  • - 推文ID:1585841080431321088
  • 逗号分隔的ID:123,456,789(批量获取,不包含其他内容)

参数:

参数类型默认值描述
include字符串-逗号分隔:thread、replies、quotes
limit
1-200 | 50 | 返回的最大回复/引用数 |

包含选项(仅单条推文):

  • - thread - 作者在对话中的自回复链
  • replies - 其他用户的回复
  • quotes - 引用该推文的推文

响应: { tweets[], count, parent?, thread?, replies?, quotes? }

如果获取的推文是回复,则自动包含parent,即被回复的推文。

获取用户

获取用户资料,可选包含推文、粉丝或关注。

x402_payment({
url: https://twitter.x402.agentbox.fyi/user/elonmusk,
method: GET,
params: {\include\: \tweets\, \limit\: 20}
})

URL格式: /user/{ref},其中ref为:

  • - 用户名:elonmusk或@elonmusk
  • 用户ID:44196397
  • 逗号分隔的ID:123,456(批量获取,不包含其他内容)

参数:

参数类型默认值描述
include字符串-逗号分隔:tweets、followers、following
limit
1-200 | 50 | 返回的最大推文/粉丝/关注数 |
| include_replies | 布尔值 | false | 在用户推文中包含回复 |

响应(单个): { user, tweets?, followers?, following? }
响应(批量): { users[], count, hasMore }

使用模式

监控话题

x402_payment({
url: https://twitter.x402.agentbox.fyi/search,
method: GET,
params: {\q\: \x402 OR \\\402 payment\\\ minfaves:5 withintime:24h\, \type\: \Latest\}
})

获取带完整上下文的推文

x402_payment({
url: https://twitter.x402.agentbox.fyi/tweet/1585841080431321088,
method: GET,
params: {\include\: \thread,replies,quotes\, \limit\: 20}
})

研究用户

x402_payment({
url: https://twitter.x402.agentbox.fyi/user/CoinbaseDev,
method: GET,
params: {\include\: \tweets\, \limit\: 50}
})

分页结果

使用前一次响应中的nextCursor:

x402_payment({
url: https://twitter.x402.agentbox.fyi/search,
method: GET,
params: {\q\: \from:elonmusk\, \cursor\: \DAABCgAB...\}
})

费用

每次调用在Solana主网上花费0.003 USDC。每个分页请求都是独立的调用。合理规划查询以最小化调用次数——使用具体的运算符和合理的限制。

错误

HTTP含义
400无效参数(检查查询语法)
402
需要支付(由x402_payment自动处理) | | 404 | 推文或用户未找到 | | 502 | 上游API错误 |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agentbox-twitter-1776297521 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agentbox-twitter-1776297521 技能

通过命令行安装

skillhub install agentbox-twitter-1776297521

下载

⬇ 下载 agentbox-twitter v1.0.0(免费)

文件大小: 2.64 KB | 发布时间: 2026-4-16 17:44

v1.0.0 最新 2026-4-16 17:44
Initial release

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部