编程

AgentBox Twitter

试用

Twitter/X research via paid API: search tweets with 50+ operators, fetch tweets with threads/replies/quotes, get user profiles with tweets/followers/followin...

它能做什么

Paid Twitter/X data API at . Costs $0.003 USDC per call via x402 on Solana. Use the tool for all requests.

技能文档

Twitter Research

Paid Twitter/X data API at https://twitter.x402.agentbox.fyi. Costs $0.003 USDC per call via x402 on Solana. Use the x402_payment tool for all requests.

Endpoints

Search Tweets

Find tweets matching a query with 50+ advanced operators.

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

Parameters:

ParamTypeDefaultDescription
qstringrequiredSearch query with operators
type"Latest" or "Top"LatestSort by recency or popularity
limit1-20020Max tweets to return
cursorstring-Pagination cursor from previous response

Search operators:

OperatorExampleDescription
from:userfrom:elonmuskTweets by user
to:userto:elonmuskReplies to user
@user@solanaMentioning user
min_faves:Nmin_faves:100Minimum likes
min_retweets:Nmin_retweets:50Minimum retweets
min_replies:Nmin_replies:10Minimum replies
filter:mediafilter:mediaHas media
filter:imagesfilter:imagesHas images
filter:videosfilter:videosHas video
filter:linksfilter:linksHas links
filter:repliesfilter:repliesOnly replies
-filter:replies-filter:repliesExclude replies
since:datesince:2025-01-01After date
until:dateuntil:2025-12-31Before date
within_time:Nhwithin_time:24hLast N hours
lang:codelang:enLanguage filter
conversation_id:IDconversation_id:123In conversation
filter:self_threadsfrom:user filter:self_threadsUser's thread replies

Combine operators: from:elonmusk AI min_faves:100 -filter:replies within_time:7d

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

The summary object includes: totalLikes, totalRetweets, totalReplies, avgLikes, maxLikes, topTweetId.

Fetch Tweets

Get tweet(s) by ID or URL with optional thread, replies, and quotes.

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

URL format: /tweet/{ref} where ref is:

  • Tweet ID: 1585841080431321088
  • Comma-separated IDs: 123,456,789 (batch fetch, no includes)

Parameters:

ParamTypeDefaultDescription
includestring-Comma-separated: thread, replies, quotes
limit1-20050Max replies/quotes to return

Include options (single tweet only):

  • thread - author's self-reply chain in the conversation
  • replies - replies from other users
  • quotes - quote tweets of this tweet

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

If the fetched tweet is a reply, parent is auto-included with the replied-to tweet.

Fetch Users

Get user profile(s) with optional tweets, followers, or following.

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

URL format: /user/{ref} where ref is:

  • Username: elonmusk or @elonmusk
  • User ID: 44196397
  • Comma-separated IDs: 123,456 (batch fetch, no includes)

Parameters:

ParamTypeDefaultDescription
includestring-Comma-separated: tweets, followers, following
limit1-20050Max tweets/followers/following to return
include_repliesbooleanfalseInclude replies in user's tweets

Response (single): { user, tweets?, followers?, following? } Response (batch): { users[], count, hasMore }

Usage Patterns

Monitor a topic

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

Get a tweet with full context

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

Research a user

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

Paginate results

Use nextCursor from a previous response:

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

Cost

Every call costs $0.003 USDC on Solana mainnet. Each paginated request is a separate call. Plan queries to minimize calls - use specific operators and reasonable limits.

Errors

HTTPMeaning
400Invalid parameters (check query syntax)
402Payment required (handled automatically by x402_payment)
404Tweet or user not found
502Upstream API error

相关技能

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván1 次安装

按用户明确指令,在得到大脑(Get笔记)中保存、搜索并管理笔记与知识库。

作者 iswalle763 次安装66 星标

把 API 文档、SDK、curl 示例或已有脚本做成一个装在 PATH 上的持久 CLI。

作者 OpenAI27.5k 星标

起草新的 agent 技能、迭代改进现有技能,并通过对比评测验证效果

作者 Anthropic177.5k 星标

figma-use

官方

每次调用 `use_figma` 之前都要加载,获取在 Figma 文件中运行 JavaScript 的 API 规则与避坑要点。

作者 OpenAI27.5k 星标

按当前微软文档为 ASP.NET Core 项目选型、装配宿主并落地框架风格的功能实现。

作者 OpenAI27.5k 星标

tenequm 的更多技能

浏览全部技能

TanStack Query、Router、Start 在 React 全栈项目中的类型安全参考模式。

作者 tenequm22 次安装1 星标

用 MPP 协议在 HTTP 402 上做机器对机器支付,覆盖 TypeScript、Python、Rust 三套 SDK。

作者 tenequm20 次安装1 星标

构建高质量 Agent Skills 的实操指南,覆盖 SKILL.md 结构、frontmatter、描述写法与单文件 / references/ 取舍。

作者 tenequm24 次安装

Lance v11.0.0-beta.6 与 Rust/Python 引擎的固定版本参考资料,同时覆盖 v10.0.0 稳定线。

作者 tenequm22 次安装

用 Wrangler CLI 在 Cloudflare 全球边缘网络上开发并部署 JavaScript、TypeScript、Python 或 Rust 代码。

作者 tenequm20 次安装

用 Swift 6.3 构建原生 macOS 应用,覆盖 SwiftUI、SwiftData、并发与端侧 AI。

作者 tenequm19 次安装