{
  "schemaVersion": "1.0",
  "item": {
    "slug": "zerion-api-skill-2",
    "name": "Zerion Api",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vshamanov/zerion-api-skill-2",
    "canonicalUrl": "https://clawhub.ai/vshamanov/zerion-api-skill-2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/zerion-api-skill-2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zerion-api-skill-2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/fungible-nft-endpoints.md",
      "references/wallet-endpoints.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/zerion-api-skill-2"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/zerion-api-skill-2",
    "agentPageUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Zerion API Skill",
        "body": "Query web3 wallet data, token prices, NFTs, and transaction history via the Zerion MCP connector."
      },
      {
        "title": "Authentication",
        "body": "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."
      },
      {
        "title": "Workflow",
        "body": "At the start of any Zerion-related task, if no API key has been provided yet, ask:\n\"To query Zerion, I'll need your API key. You can find it at https://dashboard.zerion.io/. Please paste it here.\"\nStore the key in memory for the duration of the conversation. Never write it to files, display it in artifacts, or log it.\nPass the key to the MCP server or REST calls as described below."
      },
      {
        "title": "Auth Format",
        "body": "Zerion uses HTTP Basic Auth: the API key is the username, password is empty.\n\nAuthorization: Basic <base64(API_KEY + \":\")>\n\nExample: key zk_dev_abc123 → base64 of zk_dev_abc123: → emtfZGV2X2FiYzEyMzo="
      },
      {
        "title": "MCP Connection",
        "body": "The Zerion API MCP server is at https://developers.zerion.io/mcp.\n\nWhen using MCP tools directly (outside artifacts), pass the API key as required by the tool parameters.\n\nWhen building artifacts that call the Anthropic API with MCP, include the key in the inner prompt so the inner Claude can authenticate:\n\nmcp_servers: [\n  { type: \"url\", url: \"https://developers.zerion.io/mcp\", name: \"zerion-mcp\" }\n]\n\nImportant: In artifacts, receive the API key as a prop or state variable — never hardcode it. Example pattern:\n\n// User inputs key via a secure input field (type=\"password\")\nconst [apiKey, setApiKey] = useState(\"\");\n\n// Pass key to inner Claude prompt so MCP calls authenticate\nconst prompt = `Using the Zerion API key: ${apiKey}, get portfolio for wallet 0x...`;"
      },
      {
        "title": "1. Wallet Portfolio Overview",
        "body": "Prompt the inner Claude to call the Zerion API for the wallet's portfolio:\n\nGet the portfolio for wallet {address} in USD. Include total value, daily changes,\nand distribution by chain and position type.\n\nEndpoint: GET /v1/wallets/{address}/portfolio\n\ncurrency: usd (default), eth, btc, eur, etc.\nfilter[positions]: only_simple (default), only_complex (DeFi), no_filter (all)"
      },
      {
        "title": "2. Wallet Token Positions",
        "body": "List all fungible positions for wallet {address}, sorted by value descending.\n\nEndpoint: GET /v1/wallets/{address}/positions/\n\nfilter[positions]: only_simple | only_complex | no_filter\nfilter[chain_ids]: comma-separated chain IDs (e.g., ethereum,polygon)\nfilter[position_types]: wallet, deposit, staked, loan, locked, reward, investment\nsort: -value (highest first) or value\nfilter[trash]: only_non_trash (default)"
      },
      {
        "title": "3. Transaction History",
        "body": "Get recent transactions for wallet {address}, filter for trades only.\n\nEndpoint: GET /v1/wallets/{address}/transactions/\n\nfilter[operation_types]: trade, send, receive, deposit, withdraw, mint, burn, claim, approve, etc.\nfilter[chain_ids]: filter by chain\nfilter[min_mined_at] / filter[max_mined_at]: timestamp in milliseconds\npage[size]: max 100"
      },
      {
        "title": "4. Profit & Loss (PnL)",
        "body": "Get PnL for wallet {address}. Show realized gain, unrealized gain, fees, and net invested.\n\nEndpoint: GET /v1/wallets/{address}/pnl\n\nReturns: realized_gain, unrealized_gain, total_fee, net_invested, received_external, sent_external\nUses FIFO method\nfilter[chain_ids], filter[fungible_ids]: narrow scope"
      },
      {
        "title": "5. Wallet Balance Chart",
        "body": "Get the balance chart for wallet {address} over the past month.\n\nEndpoint: GET /v1/wallets/{address}/charts/{chart_period}\n\nchart_period: hour, day, week, month, 3months, 6months, year, 5years, max\nReturns array of [timestamp, balance] points"
      },
      {
        "title": "6. Token Price & Search",
        "body": "Search for the fungible asset \"ethereum\" and return its price and market data.\n\nEndpoint: GET /v1/fungibles/\n\nfilter[search_query]: text search (e.g., \"ethereum\", \"USDC\")\nsort: -market_data.market_cap, -market_data.price.last, etc.\nReturns: name, symbol, price, market_cap, circulating_supply, changes (1d/30d/90d/365d)"
      },
      {
        "title": "7. Token Price Chart",
        "body": "Get the price chart for fungible {fungible_id} over the past week.\n\nEndpoint: GET /v1/fungibles/{fungible_id}/charts/{chart_period}\n\nSame chart periods as wallet charts\nReturns [timestamp, price] points"
      },
      {
        "title": "8. NFT Positions",
        "body": "List all NFT positions for wallet {address}, sorted by floor price descending.\n\nEndpoint: GET /v1/wallets/{address}/nft-positions/\n\nsort: -floor_price, floor_price, created_at, -created_at\nfilter[chain_ids]: filter by chain\ninclude: nfts, nft_collections, wallet_nft_collections for richer data"
      },
      {
        "title": "9. NFT Portfolio Value",
        "body": "Endpoint: GET /v1/wallets/{address}/nft-portfolio\n\nReturns total NFT portfolio value"
      },
      {
        "title": "Building Artifacts with Zerion Data",
        "body": "When building React/HTML artifacts that display Zerion data:\n\nCollect the API key securely via a type=\"password\" input field\nNever display or log the key in the UI\nPass it through the MCP prompt so the inner Claude can authenticate\n\n// apiKey comes from a password input, never hardcoded\nconst response = await fetch(\"https://api.anthropic.com/v1/messages\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n    model: \"claude-sonnet-4-20250514\",\n    max_tokens: 1000,\n    messages: [\n      {\n        role: \"user\",\n        content: `Use the Zerion API with key \"${apiKey}\" to get the portfolio\n                  overview for wallet ${walletAddress} in USD.\n                  Return ONLY a JSON object with: totalValue, dailyChangePercent,\n                  dailyChangeAbsolute, topChains (array of {chain, value}),\n                  positionBreakdown (wallet, deposited, staked, borrowed, locked).`\n      }\n    ],\n    mcp_servers: [\n      { type: \"url\", url: \"https://developers.zerion.io/mcp\", name: \"zerion-mcp\" }\n    ]\n  })\n});"
      },
      {
        "title": "Processing MCP Responses",
        "body": "MCP responses contain multiple content blocks. Extract data by type:\n\nconst data = await response.json();\n\n// Get tool results (actual Zerion data)\nconst toolResults = data.content\n  .filter(item => item.type === \"mcp_tool_result\")\n  .map(item => item.content?.[0]?.text || \"\")\n  .join(\"\\n\");\n\n// Get Claude's text analysis\nconst textResponses = data.content\n  .filter(item => item.type === \"text\")\n  .map(item => item.text)\n  .join(\"\\n\");"
      },
      {
        "title": "Key Notes",
        "body": "Address formats: Supports EVM addresses (0x...) and Solana addresses. ENS names may need resolution first.\nSolana limitations: No protocol positions or NFT transactions for Solana addresses.\nCurrency options: usd, eth, btc, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf\nPagination: Use links.next from responses for pagination; never construct page[after] manually.\nRate limits: API returns 429 on throttling. Implement retry with backoff in artifacts.\nTreat IDs as opaque strings: Never assume format of IDs; they may change.\nDeFi positions: Use filter[positions]=no_filter to include protocol positions alongside wallet positions.\nLP grouping: Liquidity pool positions share a group_id attribute — group by it to display pools correctly."
      },
      {
        "title": "Detailed Endpoint Reference",
        "body": "For full parameter details, response schemas, and edge cases:\n\nWallet endpoints: See references/wallet-endpoints.md\nFungible & NFT endpoints: See references/fungible-nft-endpoints.md"
      }
    ],
    "body": "Zerion API Skill\n\nQuery web3 wallet data, token prices, NFTs, and transaction history via the Zerion MCP connector.\n\nAuthentication\n\nZerion 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.\n\nWorkflow\nAt the start of any Zerion-related task, if no API key has been provided yet, ask: \"To query Zerion, I'll need your API key. You can find it at https://dashboard.zerion.io/. Please paste it here.\"\nStore the key in memory for the duration of the conversation. Never write it to files, display it in artifacts, or log it.\nPass the key to the MCP server or REST calls as described below.\nAuth Format\n\nZerion uses HTTP Basic Auth: the API key is the username, password is empty.\n\nAuthorization: Basic <base64(API_KEY + \":\")>\n\n\nExample: key zk_dev_abc123 → base64 of zk_dev_abc123: → emtfZGV2X2FiYzEyMzo=\n\nMCP Connection\n\nThe Zerion API MCP server is at https://developers.zerion.io/mcp.\n\nWhen using MCP tools directly (outside artifacts), pass the API key as required by the tool parameters.\n\nWhen building artifacts that call the Anthropic API with MCP, include the key in the inner prompt so the inner Claude can authenticate:\n\nmcp_servers: [\n  { type: \"url\", url: \"https://developers.zerion.io/mcp\", name: \"zerion-mcp\" }\n]\n\n\nImportant: In artifacts, receive the API key as a prop or state variable — never hardcode it. Example pattern:\n\n// User inputs key via a secure input field (type=\"password\")\nconst [apiKey, setApiKey] = useState(\"\");\n\n// Pass key to inner Claude prompt so MCP calls authenticate\nconst prompt = `Using the Zerion API key: ${apiKey}, get portfolio for wallet 0x...`;\n\nQuick Reference: Common Workflows\n1. Wallet Portfolio Overview\n\nPrompt the inner Claude to call the Zerion API for the wallet's portfolio:\n\nGet the portfolio for wallet {address} in USD. Include total value, daily changes,\nand distribution by chain and position type.\n\n\nEndpoint: GET /v1/wallets/{address}/portfolio\n\ncurrency: usd (default), eth, btc, eur, etc.\nfilter[positions]: only_simple (default), only_complex (DeFi), no_filter (all)\n2. Wallet Token Positions\nList all fungible positions for wallet {address}, sorted by value descending.\n\n\nEndpoint: GET /v1/wallets/{address}/positions/\n\nfilter[positions]: only_simple | only_complex | no_filter\nfilter[chain_ids]: comma-separated chain IDs (e.g., ethereum,polygon)\nfilter[position_types]: wallet, deposit, staked, loan, locked, reward, investment\nsort: -value (highest first) or value\nfilter[trash]: only_non_trash (default)\n3. Transaction History\nGet recent transactions for wallet {address}, filter for trades only.\n\n\nEndpoint: GET /v1/wallets/{address}/transactions/\n\nfilter[operation_types]: trade, send, receive, deposit, withdraw, mint, burn, claim, approve, etc.\nfilter[chain_ids]: filter by chain\nfilter[min_mined_at] / filter[max_mined_at]: timestamp in milliseconds\npage[size]: max 100\n4. Profit & Loss (PnL)\nGet PnL for wallet {address}. Show realized gain, unrealized gain, fees, and net invested.\n\n\nEndpoint: GET /v1/wallets/{address}/pnl\n\nReturns: realized_gain, unrealized_gain, total_fee, net_invested, received_external, sent_external\nUses FIFO method\nfilter[chain_ids], filter[fungible_ids]: narrow scope\n5. Wallet Balance Chart\nGet the balance chart for wallet {address} over the past month.\n\n\nEndpoint: GET /v1/wallets/{address}/charts/{chart_period}\n\nchart_period: hour, day, week, month, 3months, 6months, year, 5years, max\nReturns array of [timestamp, balance] points\n6. Token Price & Search\nSearch for the fungible asset \"ethereum\" and return its price and market data.\n\n\nEndpoint: GET /v1/fungibles/\n\nfilter[search_query]: text search (e.g., \"ethereum\", \"USDC\")\nsort: -market_data.market_cap, -market_data.price.last, etc.\nReturns: name, symbol, price, market_cap, circulating_supply, changes (1d/30d/90d/365d)\n7. Token Price Chart\nGet the price chart for fungible {fungible_id} over the past week.\n\n\nEndpoint: GET /v1/fungibles/{fungible_id}/charts/{chart_period}\n\nSame chart periods as wallet charts\nReturns [timestamp, price] points\n8. NFT Positions\nList all NFT positions for wallet {address}, sorted by floor price descending.\n\n\nEndpoint: GET /v1/wallets/{address}/nft-positions/\n\nsort: -floor_price, floor_price, created_at, -created_at\nfilter[chain_ids]: filter by chain\ninclude: nfts, nft_collections, wallet_nft_collections for richer data\n9. NFT Portfolio Value\n\nEndpoint: GET /v1/wallets/{address}/nft-portfolio\n\nReturns total NFT portfolio value\nBuilding Artifacts with Zerion Data\n\nWhen building React/HTML artifacts that display Zerion data:\n\nCollect the API key securely via a type=\"password\" input field\nNever display or log the key in the UI\nPass it through the MCP prompt so the inner Claude can authenticate\n// apiKey comes from a password input, never hardcoded\nconst response = await fetch(\"https://api.anthropic.com/v1/messages\", {\n  method: \"POST\",\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({\n    model: \"claude-sonnet-4-20250514\",\n    max_tokens: 1000,\n    messages: [\n      {\n        role: \"user\",\n        content: `Use the Zerion API with key \"${apiKey}\" to get the portfolio\n                  overview for wallet ${walletAddress} in USD.\n                  Return ONLY a JSON object with: totalValue, dailyChangePercent,\n                  dailyChangeAbsolute, topChains (array of {chain, value}),\n                  positionBreakdown (wallet, deposited, staked, borrowed, locked).`\n      }\n    ],\n    mcp_servers: [\n      { type: \"url\", url: \"https://developers.zerion.io/mcp\", name: \"zerion-mcp\" }\n    ]\n  })\n});\n\nProcessing MCP Responses\n\nMCP responses contain multiple content blocks. Extract data by type:\n\nconst data = await response.json();\n\n// Get tool results (actual Zerion data)\nconst toolResults = data.content\n  .filter(item => item.type === \"mcp_tool_result\")\n  .map(item => item.content?.[0]?.text || \"\")\n  .join(\"\\n\");\n\n// Get Claude's text analysis\nconst textResponses = data.content\n  .filter(item => item.type === \"text\")\n  .map(item => item.text)\n  .join(\"\\n\");\n\nKey Notes\nAddress formats: Supports EVM addresses (0x...) and Solana addresses. ENS names may need resolution first.\nSolana limitations: No protocol positions or NFT transactions for Solana addresses.\nCurrency options: usd, eth, btc, eur, krw, rub, gbp, aud, cad, inr, jpy, nzd, try, zar, cny, chf\nPagination: Use links.next from responses for pagination; never construct page[after] manually.\nRate limits: API returns 429 on throttling. Implement retry with backoff in artifacts.\nTreat IDs as opaque strings: Never assume format of IDs; they may change.\nDeFi positions: Use filter[positions]=no_filter to include protocol positions alongside wallet positions.\nLP grouping: Liquidity pool positions share a group_id attribute — group by it to display pools correctly.\nDetailed Endpoint Reference\n\nFor full parameter details, response schemas, and edge cases:\n\nWallet endpoints: See references/wallet-endpoints.md\nFungible & NFT endpoints: See references/fungible-nft-endpoints.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vshamanov/zerion-api-skill-2",
    "publisherUrl": "https://clawhub.ai/vshamanov/zerion-api-skill-2",
    "owner": "vshamanov",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/zerion-api-skill-2",
    "downloadUrl": "https://openagent3.xyz/downloads/zerion-api-skill-2",
    "agentUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zerion-api-skill-2/agent.md"
  }
}