zerion
FreeNo executable scriptsNot checkedInterpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history…
by BankrBot★ 1,223 GitHub starsAbout this skill
Zerion: Wallet Intelligence for AI Agents
Zerion provides interpreted, enriched crypto wallet data across 41+ chains including Ethereum, Base, Arbitrum, Optimism, Polygon, Solana, and more.
Unlike raw RPC data, Zerion returns:
- USD values for all positions
- Protocol labels (Uniswap, Aave, Lido, etc.)
- Human-readable transaction types (swap, stake, bridge, mint, burn)
- PnL calculations (realized, unrealized, per-asset, FIFO method)
- DeFi position breakdowns (deposits, borrows, LP positions with
group_id) - NFT portfolios with floor prices and collection metadata
- Spam filtering built-in
Two ways to access:
- x402 (no account needed): Pay $0.01 USDC per request on Base. No API key, no signup.
- API key: Get a free key instantly at dashboard.zerion.io for higher rate limits.
Research → Execute Pattern
Zerion is the research layer. Use it to analyze wallets, find opportunities, track PnL. Then hand off to Bankr for execution (swaps, stop-losses, DCA).
Zerion (Research) Bankr (Execute)
───────────────── ────────────────
Portfolio analysis → Rebalance trades
PnL tracking → Stop-loss orders
Position monitoring → Take-profit orders
Whale watching → Copy trades
Swap quotes → Execute best route
NFT floor tracking → Buy/sell NFTs
CLI Quick Start
npm install -g zerion-cli
# Set API key
export ZERION_API_KEY="zk_..."
# Or use x402 (no key needed)
zerion-cli wallet portfolio 0x... --x402
# Commands
zerion-cli wallet portfolio <address> # Total USD value
zerion-cli wallet positions <address> # All token positions
zerion-cli wallet transactions <address> # Transaction history
zerion-cli wallet pnl <address> # Profit & loss
zerion-cli wallet analyze <address> # Full analysis
zerion-cli chains list # Supported chains
Wallet Endpoints
GET /v1/wallets/{address}/portfolio
Returns aggregated portfolio value across all chains.
curl "https://api.zerion.io/v1/wallets/0x.../portfolio?currency=usd" \
-H "Authorization: Basic $(echo -n $ZERION_API_KEY: | base64)"
Response:
{
"data": {
"attributes": {
"total": { "positions": 44469.60 },
"positions_distribution_by_type": {
"wallet": 40000,
"deposited": 3000,
"staked": 1469.60
},
"positions_distribution_by_chain": {
"base": 27495.06,
"ethereum": 6216.25,
"arbitrum": 1234.56
},
"changes": {
"absolute_1d": 305.86,
"percent_1d": 0.69
}
}
}
}
GET /v1/wallets/{address}/positions
Returns all fungible token and DeFi positions.
Query params:
filter[positions]:only_simple(tokens only),only_defi(protocol positions),no_filter(all)filter[chain_ids]: Comma-separated chain IDs (e.g.,base,ethereum,arbitrum)filter[trash]:only_non_trash(exclude spam),only_trash,no_filtersort:valueor-value
Understanding LP Positions: Liquidity pools return multiple positions (one per token) with shared group_id. Group by group_id to display LP holdings together.
Response includes:
- Token symbol, name, icon URL
- Quantity (int, float, decimals, numeric)
- USD value and price
- Position type:
wallet,deposited,borrowed,staked,locked - Protocol name and DApp relationship
group_idfor LP position grouping
GET /v1/wallets/{address}/transactions
Returns interpreted transaction history.
Query params:
filter[chain_ids]: Filter by chainsfilter[asset_types]:fungible,nftfilter[trash]:only_non_trash,no_filterpage[size]: Results per page (default 20)page[after]: Cursor for pagination
Each transaction includes:
operation_type:trade,send,receive,approve,stake,unstake,borrow,repay,bridge,mint,burn,bid,executetransfersarray with direction, token info, quantities, USD valuesfeewith gas cost in native token and USDapplication_metadatawith contract address and method info- Related
dappandchainrelationships
GET /v1/wallets/{address}/pnl
Returns Profit and Loss using FIFO method.
Query params:
currency:usd(default)filter[chain_ids]: Comma-separated chain IDs
Response:
{
"data": {
"attributes": {
"total_gain": -15076.15,
"realized_gain": 45328.28,
"unrealized_gain": -60404.44,
"relative_total_gain_percentage": -5.65,
"relative_realized_gain_percentage": 28.08,
"relative_unrealized_gain_percentage": -57.36,
"total_fee": 681.81,
"total_invested": 266672.34,
"realized_cost_basis": 161370.01,
"net_invested": 105302.33,
"received_external": 128217.01,
"sent_external": 67415.77,
"sent_for_nfts": 4333.36,
"received_for_nfts": 423.01
}
}
}
Install zerion in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the zerion skill do?
Interpreted crypto wallet data for AI agents. Use when an agent needs portfolio values, token positions, DeFi positions, NFT holdings, transaction history, PnL data, token prices, charts, gas prices, swap quotes, or DApp information across 41+ chains. Zerion transforms raw blockchain data into agent-ready JSON with USD values, protocol labels, and enriched metadata. Supports x402 pay-per-request ($0.01 USDC on Base) and API key access. Triggers on mentions of portfolio, wallet analysis, positions, transactions, PnL, profit/loss, DeFi, token balances, NFTs, swap quotes, gas prices, or Zerion.
How do I install the zerion skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the zerion skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic