← 返回
开发者工具 Key

X Search

Search X (Twitter) posts using the xAI API. Use when the user wants to find tweets, search X/Twitter, look up what people are saying on X, or find social med...
使用 xAI API 搜索 X (Twitter) 帖子。适用于查找推文、搜索 X/Twitter 或查看社交媒体内容。
jaaneek
开发者工具 clawhub v1.0.0 1 版本 96430.4 Key: 需要
★ 136
Stars
📥 14,191
下载
💾 426
安装
1
版本
#latest#search#sentiment-analysis#social-media#trends#twitter#x#x402

概述

X Search

Search X/Twitter using an AI-powered agent for real-time insights and social media intelligence.

Configuration

The private key must be available via one of these methods:

Option 1: Environment variable

export X402_PRIVATE_KEY="0x..."

Option 2: Config file (Recommended)

The script checks for x402-config.json in these locations (in order):

  1. Current directory: ./x402-config.json
  2. Home directory: ~/.x402-config.jsonRecommended
  3. Working directory: $PWD/x402-config.json

Create the config file:

{
  "private_key": "0x1234567890abcdef..."
}

Example (home directory - works for any user):

echo '{"private_key": "0x..."}' > ~/.x402-config.json

Usage

Run the search script with a query:

scripts/search.sh "<search query>"

The script:

  • Executes the npx CLI tool with payment handling
  • Costs $0.05 USDC per request (Base network)
  • Returns AI-processed search results

Examples

User: "What are people saying about AI agents on Twitter?"

scripts/search.sh "AI agents discussions and opinions"

User: "Find trending topics about cryptocurrency"

scripts/search.sh "cryptocurrency trends today"

User: "Show me viral content about climate change"

scripts/search.sh "viral climate change posts"

Capabilities

  • Real-time trends and breaking news
  • Social media sentiment analysis
  • Viral content tracking
  • Public opinion research
  • Hashtag and topic analysis

Error Handling

  • "Payment failed: Not enough USDC" → Inform user to top up Base wallet with USDC
  • "X402 private key missing" → Guide user to configure private key (see Configuration above)
  • Timeout errors → The API has a 5-minute timeout; complex queries may take time

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 09:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,720
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,013
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,769