Query DeFi portfolios, token holdings, NFTs, transactions, and prices via Zapper API. Supports 50+ chains. Use when user asks about wallet balances, DeFi positions, NFT collections, token prices, or transaction history.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install openclaw-zapper-api或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install openclaw-zapper-api⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/openclaw-zapper-api/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: zapper-api description: Query DeFi portfolios, token holdings, NFTs, transactions, and prices via Zapper API. Supports 50+ chains. Use when user asks about wallet balances, DeFi positions, NFT collections, token prices, or transaction history. homepage: https://zapper.xyz metadata: {"openclaw":{"emoji":"🟪","requires":{"bins":["python3"]},"primaryEnv":"ZAPPER_API_KEY"}} ---
Query DeFi portfolios, NFTs, and transactions across 50+ chains using Zapper's GraphQL API.
~/.config/zapper/addresses.json:```json { "apiKey": "your-api-key", "wallets": [ {"label": "Main", "address": "0x..."}, {"label": "DeFi", "address": "0x..."} ] } ```
Or set environment variable: export ZAPPER_API_KEY="your-api-key"
| Command | Description | Example | |---------|-------------|---------| | portfolio | Token + DeFi totals | zapper.py portfolio 0x123... | | tokens | Detailed token holdings | zapper.py tokens 0x123... | | apps | DeFi positions (LPs, lending, staking) | zapper.py apps 0x123... | | nfts | NFT holdings by value | zapper.py nfts 0x123... | | tx | Recent transactions (30 days) | zapper.py tx 0x123... | | price | Token price lookup | zapper.py price ETH | | claimables | Unclaimed rewards | zapper.py claimables 0x123... | | config | Show configuration | zapper.py config |
| Flag | Commands | Description | |------|----------|-------------| | --24h | portfolio, tokens | Show 24h price changes | | --short | portfolio | Output only total value | | --per-wallet | portfolio | Show each configured wallet separately | | --json | all | Output raw JSON | | --limit N | most | Max items to display |
# Portfolio summary
python3 scripts/zapper.py portfolio 0xADDRESS
# With 24h price changes
python3 scripts/zapper.py portfolio 0xADDRESS --24h
# Just total value
python3 scripts/zapper.py portfolio 0xADDRESS --short
# Per-wallet breakdown
python3 scripts/zapper.py portfolio --per-wallet
# Token holdings with prices
python3 scripts/zapper.py tokens 0xADDRESS --24h
# DeFi positions
python3 scripts/zapper.py apps 0xADDRESS
# NFT holdings
python3 scripts/zapper.py nfts 0xADDRESS
# Recent transactions
python3 scripts/zapper.py tx 0xADDRESS
# Token price
python3 scripts/zapper.py price ETH
# Unclaimed rewards
python3 scripts/zapper.py claimables 0xADDRESS
# JSON output
python3 scripts/zapper.py portfolio 0xADDRESS --json
Use configured wallet labels instead of addresses:
python3 scripts/zapper.py portfolio "Main"
python3 scripts/zapper.py tokens "DeFi"
ETH, WETH, USDC, USDT, DAI, WBTC, LINK, UNI, AAVE, MKR
Ethereum, Base, Arbitrum, Optimism, Polygon, Solana, BNB Chain, Avalanche, zkSync, Linea, Scroll, Blast, and 40+ more.
安装 Zapper Api 后,可以对 AI 说这些话来触发它
Help me get started with Zapper Api
Explains what Zapper Api does, walks through the setup, and runs a quick demo based on your current project
Use Zapper Api to query DeFi portfolios, token holdings, NFTs, transactions, and pric...
Invokes Zapper Api with the right parameters and returns the result directly in the conversation
What can I do with Zapper Api in my finance & investment workflow?
Lists the top use cases for Zapper Api, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/openclaw-zapper-api/ 目录(个人级,所有项目可用),或 .claude/skills/openclaw-zapper-api/(项目级)。重启 AI 客户端后,用 /openclaw-zapper-api 主动调用,或让 AI 根据上下文自动发现并使用。
Zapper Api 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Zapper Api 可免费安装使用。请查阅仓库了解许可证信息。
Query DeFi portfolios, token holdings, NFTs, transactions, and prices via Zapper API. Supports 50+ chains. Use when user asks about wallet balances, DeFi positions, NFT collections, token prices, or transaction history.
Zapper Api 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Zapper Api
Identifies repetitive steps in your workflow and sets up Zapper Api to handle them automatically