Make x402 payments to access paid APIs and gated content. Use when a skill needs to fetch data from x402-gated endpoints (like Kaito mindshare API, Simmer pr...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install simmer-x402或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install simmer-x402⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/simmer-x402/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: simmer-x402 description: Make x402 payments to access paid APIs and gated content. Use when a skill needs to fetch data from x402-gated endpoints (like Kaito mindshare API, Simmer premium endpoints, or any x402 provider). Handles 402 Payment Required responses automatically using USDC on Base. metadata: author: Simmer (@simmer_markets) version: "1.0.2" displayName: x402 Payments difficulty: advanced ---
Pay for x402-gated APIs using USDC on Base. This skill enables agents to autonomously make crypto payments when accessing paid web resources.
Use this skill when:
```bash export EVM_PRIVATE_KEY=0x...your_private_key... ``` Falls back to WALLET_PRIVATE_KEY if EVM_PRIVATE_KEY is not set (same key Simmer/Polymarket users already have). Your EVM address works on all chains — Polygon for trading, Base for x402 payments.
- Send USDC to your wallet address on Base network - x402 payments on Base are fully gasless — you only need USDC, no ETH
```bash pip install x402[httpx,evm] ```
| Command | Description | |---------|-------------| | python x402_cli.py balance | Check USDC and ETH balances on Base | | python x402_cli.py fetch | Fetch URL with automatic x402 payment | | python x402_cli.py fetch | Same but output raw JSON only | | python x402_cli.py fetch | Show payment info without paying | | python x402_cli.py fetch | Override max payment limit | | python x402_cli.py rpc | Make RPC call via Quicknode x402 |
python x402_cli.py balance
x402 Wallet Balance
==============================
Address: 0x1234...5678
Network: Base Mainnet
USDC: $42.50
ETH: 0.000000 ETH
python x402_cli.py fetch "https://api.kaito.ai/api/v1/tokens" --json
python x402_cli.py fetch "https://api.kaito.ai/api/payg/mindshare?token=BTC&start_date=2026-02-13&end_date=2026-02-14" --json
python x402_cli.py fetch "https://api.kaito.ai/api/payg/sentiment?token=BTC&start_date=2026-02-13&end_date=2026-02-14" --json
python x402_cli.py fetch "https://api.alphakek.ai/x402/knowledge/ask" \
--method POST --body '{"question": "What is the current sentiment on BTC?", "search_mode": "fast"}' --json
python x402_cli.py fetch "https://pro-api.coingecko.com/api/v3/x402/simple/price?ids=bitcoin&vs_currencies=usd" --json
python x402_cli.py fetch "https://x402.simmer.markets/api/sdk/context/market-123" \
--header "Authorization: Bearer sk_live_..." --json
# Get ETH balance on Ethereum mainnet
python x402_cli.py rpc ethereum-mainnet eth_getBalance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 latest
# Get latest block on Polygon
python x402_cli.py rpc polygon-mainnet eth_blockNumber
# Get token balance on Base
python x402_cli.py rpc base-mainnet eth_call '{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","data":"0x70a08231000000000000000000000000YOUR_ADDRESS"}' latest
Quicknode x402 supports 55+ networks (Ethereum, Polygon, Base, Arbitrum, Solana, Bitcoin, and more). $10 buys 1M RPC credits — each successful call costs 1 credit.
| Provider | Endpoint | Price | Description | |----------|----------|-------|-------------| | Kaito | /api/payg/mindshare | $0.02/data point | Token mindshare time series | | Kaito | /api/payg/sentiment | $0.02/data point | Token sentiment time series | | Kaito | /api/payg/narrative_mindshare | $0.02/data point | Narrative mindshare time series | | Kaito | /api/payg/smart_followers | $0.20/request | Smart follower metrics | | AlphaKek | /x402/knowledge/ask | $0.01/request | AI knowledge engine (POST, search_mode: fast/deep/ultrafast) | | CoinGecko | /api/v3/x402/simple/price | $0.01/request | Token price data | | Simmer | /api/sdk/context/:id | $0.005/request | Market context (rate limit bypass) | | Simmer | /api/sdk/briefing | $0.005/request | Portfolio briefing (rate limit bypass) | | Simmer | /api/sdk/markets/import | $0.005/request | Market import (daily quota bypass) | | Quicknode | /:network (55+ networks) | $10/1M credits | Pay-per-request RPC access (no API key needed) |
Kaito API docs: https://github.com/MetaSearch-IO/KaitoX402APIDocs Quicknode x402 docs: https://x402.quicknode.com/llms.txt
| Setting | Environment Variable | Default | Description | |---------|---------------------|---------|-------------| | Wallet key | EVM_PRIVATE_KEY | (required) | Hex-encoded private key (falls back to WALLET_PRIVATE_KEY) | | Max payment | X402_MAX_PAYMENT_USD | 10.00 | Safety cap per request | | Network | X402_NETWORK | mainnet | mainnet or testnet |
Or set via config.json in the skill directory:
{
"max_payment_usd": 10.00,
"network": "mainnet"
}
All payment handling is automatic via the official Coinbase x402 Python SDK.
Other skills can import x402 functions directly:
from skills.x402.x402_cli import x402_fetch
# Returns parsed JSON response
data = await x402_fetch("https://api.kaito.ai/api/payg/mindshare?token=BTC")
x402 Python SDK for payment signingPrivate key safety:
.env file, never pass it inline in shell history.env is in your .gitignore — never commit private keys to git"EVM_PRIVATE_KEY not set"
export EVM_PRIVATE_KEY=0x..."Insufficient USDC balance"
python x402_cli.py balance to check"Payment exceeds max limit"
--max 50 or set X402_MAX_PAYMENT_USD=50"Unsupported network in payment options"
安装 Simmer X402 后,可以对 AI 说这些话来触发它
Help me get started with Simmer X402
Explains what Simmer X402 does, walks through the setup, and runs a quick demo based on your current project
Use Simmer X402 to make x402 payments to access paid APIs and gated content
Invokes Simmer X402 with the right parameters and returns the result directly in the conversation
What can I do with Simmer X402 in my developer & devops workflow?
Lists the top use cases for Simmer X402, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/simmer-x402/ 目录(个人级,所有项目可用),或 .claude/skills/simmer-x402/(项目级)。重启 AI 客户端后,用 /simmer-x402 主动调用,或让 AI 根据上下文自动发现并使用。
Simmer X402 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Simmer X402 可免费安装使用。请查阅仓库了解许可证信息。
Make x402 payments to access paid APIs and gated content. Use when a skill needs to fetch data from x402-gated endpoints (like Kaito mindshare API, Simmer pr...
Simmer X402 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Simmer X402
Identifies repetitive steps in your workflow and sets up Simmer X402 to handle them automatically