zerion-api-skill-2Query blockchain wallet data, token prices, and transaction history using the Zerion API via its MCP connector. Use this skill whenever the user asks about: crypto wallet balances, portfolio values, token holdings or positions, DeFi positions (staking, lending, LP), wallet PnL (profit and loss), transaction history, token/fungible asset prices or charts, NFT holdings or NFT portfolio value, or any web3 wallet analytics. Triggers on mentions of wallet addresses (0x...), ENS names, token names/symbols, "portfolio", "positions", "PnL", "transactions", "balance", "holdings", "NFTs", or any crypto/DeFi analytics queries. Also use when building artifacts or dashboards that display wallet or token data.
Install via ClawdBot CLI:
clawdbot install vshamanov/zerion-api-skill-2Query web3 wallet data, token prices, NFTs, and transaction history via the Zerion MCP connector.
Zerion API requires a key for every request. The key is not stored in the MCP connector settings β the user must provide it each chat session.
"To query Zerion, I'll need your API key. You can find it at https://dashboard.zerion.io/. Please paste it here."
Zerion uses HTTP Basic Auth: the API key is the username, password is empty.
Authorization: Basic <base64(API_KEY + ":")>
Example: key zk_dev_abc123 β base64 of zk_dev_abc123: β emtfZGV2X2FiYzEyMzo=
The Zerion API MCP server is at https://developers.zerion.io/mcp.
When using MCP tools directly (outside artifacts), pass the API key as required by the tool parameters.
When building artifacts that call the Anthropic API with MCP, include the key in the inner prompt so the inner Claude can authenticate:
mcp_servers: [
{ type: "url", url: "https://developers.zerion.io/mcp", name: "zerion-mcp" }
]
Important: In artifacts, receive the API key as a prop or state variable β never hardcode it. Example pattern:
// User inputs key via a secure input field (type="password")
const [apiKey, setApiKey] = useState("");
// Pass key to inner Claude prompt so MCP calls authenticate
const prompt = `Using the Zerion API key: ${apiKey}, get portfolio for wallet 0x...`;
Prompt the inner Claude to call the Zerion API for the wallet's portfolio:
Get the portfolio for wallet {address} in USD. Include total value, daily changes,
and distribution by chain and position type.
Endpoint: GET /v1/wallets/{address}/portfolio
currency: usd (default), eth, btc, eur, etc.filter[positions]: only_simple (default), only_complex (DeFi), no_filter (all)List all fungible positions for wallet {address}, sorted by value descending.
Endpoint: GET /v1/wallets/{address}/positions/
filter[positions]: only_simple | only_complex | no_filterfilter[chain_ids]: comma-separated chain IDs (e.g., ethereum,polygon)filter[position_types]: wallet, deposit, staked, loan, locked, reward, investmentsort: -value (highest first) or valuefilter[trash]: only_non_trash (default)Get recent transactions for wallet {address}, filter for trades only.
Endpoint: GET /v1/wallets/{address}/transactions/
filter[operation_types]: trade, send, receive, deposit, withdraw, mint, burn, claim, approve, etc.filter[chain_ids]: filter by chainfilter[min_mined_at] / filter[max_mined_at]: timestamp in millisecondspage[size]: max 100Get PnL for wallet {address}. Show realized gain, unrealized gain, fees, and net invested.
Endpoint: GET /v1/wallets/{address}/pnl
realized_gain, unrealized_gain, total_fee, net_invested, received_external, sent_externalfilter[chain_ids], filter[fungible_ids]: narrow scopeGet the balance chart for wallet {address} over the past month.
Endpoint: GET /v1/wallets/{address}/charts/{chart_period}
chart_period: hour, day, week, month, 3months, 6months, year, 5years, max[timestamp, balance] pointsSearch for the fungible asset "ethereum" and return its price and market data.
Endpoint: GET /v1/fungibles/
filter[search_query]: text search (e.g., "ethereum", "USDC")sort: -market_data.market_cap, -market_data.price.last, etc.name, symbol, price, market_cap, circulating_supply, changes (1d/30d/90d/365d)Get the price chart for fungible {fungible_id} over the past week.
Endpoint: GET /v1/fungibles/{fungible_id}/charts/{chart_period}
[timestamp, price] pointsList all NFT positions for wallet {address}, sorted by floor price descending.
Endpoint: GET /v1/wallets/{address}/nft-positions/
sort: -floor_price, floor_price, created_at, -created_atfilter[chain_ids]: filter by chaininclude: nfts, nft_collections, wallet_nft_collections for richer dataEndpoint: GET /v1/wallets/{address}/nft-portfolio
When building React/HTML artifacts that display Zerion data:
type="password" input field// apiKey comes from a password input, never hardcoded
const response = await fetch("https://api.anthropic.com/v1/messages", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: "claude-sonnet-4-20250514",
max_tokens: 1000,
messages: [
{
role: "user",
content: `Use the Zerion API with key "${apiKey}" to get the portfolio
overview for wallet ${walletAddress} in USD.
Return ONLY a JSON object with: totalValue, dailyChangePercent,
dailyChangeAbsolute, topChains (array of {chain, value}),
positionBreakdown (wallet, deposited, staked, borrowed, locked).`
}
],
mcp_servers: [
{ type: "url", url: "https://developers.zerion.io/mcp", name: "zerion-mcp" }
]
})
});
MCP responses contain multiple content blocks. Extract data by type:
const data = await response.json();
// Get tool results (actual Zerion data)
const toolResults = data.content
.filter(item => item.type === "mcp_tool_result")
.map(item => item.content?.[0]?.text || "")
.join("\n");
// Get Claude's text analysis
const textResponses = data.content
.filter(item => item.type === "text")
.map(item => item.text)
.join("\n");
usd, eth, btc, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chflinks.next from responses for pagination; never construct page[after] manually.filter[positions]=no_filter to include protocol positions alongside wallet positions.group_id attribute β group by it to display pools correctly.For full parameter details, response schemas, and edge cases:
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.