{
  "schemaVersion": "1.0",
  "item": {
    "slug": "defillama-api",
    "name": "DefiLlama API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/poploli2/defillama-api",
    "canonicalUrl": "https://clawhub.ai/poploli2/defillama-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/defillama-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=defillama-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "src/run.py",
      "src/scripts/bridges.py",
      "src/scripts/fees.py",
      "src/scripts/narratives.py",
      "src/scripts/dat.py"
    ],
    "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-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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/defillama-api"
    },
    "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/defillama-api",
    "agentPageUrl": "https://openagent3.xyz/skills/defillama-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/defillama-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/defillama-api/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": "DefiLlama API",
        "body": "只允许通过 src/run.py 调用，禁止直接运行 src/scripts/ 下的脚本。"
      },
      {
        "title": "安装",
        "body": "cd {baseDir}"
      },
      {
        "title": "环境变量",
        "body": "DEFILLAMA_API_KEY：可选，Pro API key。若未提供，Pro 端点会提示 API PLAN REQUIRED。"
      },
      {
        "title": "TVL",
        "body": "uv run {baseDir}/src/run.py tvl protocols\nuv run {baseDir}/src/run.py tvl protocol --protocol aave\nuv run {baseDir}/src/run.py tvl tvl --protocol uniswap\nuv run {baseDir}/src/run.py tvl chains\nuv run {baseDir}/src/run.py tvl historical-chain-tvl --chain Ethereum"
      },
      {
        "title": "Stablecoins",
        "body": "uv run {baseDir}/src/run.py stablecoins list --include-prices\nuv run {baseDir}/src/run.py stablecoins charts-all\nuv run {baseDir}/src/run.py stablecoins charts-chain --chain Ethereum\nuv run {baseDir}/src/run.py stablecoins detail --asset 1\nuv run {baseDir}/src/run.py stablecoins dominance --chain Ethereum --stablecoin-id 1"
      },
      {
        "title": "Coins（价格与链上数据）",
        "body": "uv run {baseDir}/src/run.py coins current --coins coingecko:ethereum,ethereum:0x0000000000000000000000000000000000000000\nuv run {baseDir}/src/run.py coins historical --timestamp 1704067200 --coins coingecko:ethereum\nuv run {baseDir}/src/run.py coins chart --coins coingecko:ethereum --period 7d"
      },
      {
        "title": "Yields（Pro）",
        "body": "uv run {baseDir}/src/run.py yields pools\nuv run {baseDir}/src/run.py yields pool-chart --pool <pool_id>"
      },
      {
        "title": "Volumes",
        "body": "uv run {baseDir}/src/run.py volumes dex-overview\nuv run {baseDir}/src/run.py volumes options-overview --data-type dailyPremiumVolume"
      },
      {
        "title": "Fees",
        "body": "uv run {baseDir}/src/run.py fees overview\nuv run {baseDir}/src/run.py fees summary --protocol uniswap"
      },
      {
        "title": "Perps",
        "body": "uv run {baseDir}/src/run.py perps open-interest\nuv run {baseDir}/src/run.py perps derivatives-overview"
      },
      {
        "title": "Unlocks（Pro）",
        "body": "uv run {baseDir}/src/run.py unlocks all\nuv run {baseDir}/src/run.py unlocks protocol --protocol hyperliquid"
      },
      {
        "title": "Main Page（Pro）",
        "body": "uv run {baseDir}/src/run.py main-page categories\nuv run {baseDir}/src/run.py main-page raises"
      },
      {
        "title": "Token Liquidity（Pro）",
        "body": "uv run {baseDir}/src/run.py token-liquidity historical --token usdt"
      },
      {
        "title": "ETFs（Pro）",
        "body": "uv run {baseDir}/src/run.py etfs overview\nuv run {baseDir}/src/run.py etfs history"
      },
      {
        "title": "Narratives（Pro）",
        "body": "uv run {baseDir}/src/run.py narratives fdv-performance --period 30"
      },
      {
        "title": "Bridges（Pro）",
        "body": "uv run {baseDir}/src/run.py bridges list --include-chains\nuv run {baseDir}/src/run.py bridges transactions --id 1 --limit 50"
      },
      {
        "title": "Meta / DAT（Pro）",
        "body": "uv run {baseDir}/src/run.py meta usage\nuv run {baseDir}/src/run.py dat institutions"
      },
      {
        "title": "备注",
        "body": "Coin 需要使用 chain:address 或 coingecko:slug 格式，例如 coingecko:ethereum。\nPro 端点需要 DEFILLAMA_API_KEY 或 --api-key。"
      },
      {
        "title": "常见错误",
        "body": "rate limited：放缓速率或提供 API plan key。\nAPI PLAN REQUIRED：升级订阅或设置 DEFILLAMA_API_KEY。"
      }
    ],
    "body": "DefiLlama API\n\n只允许通过 src/run.py 调用，禁止直接运行 src/scripts/ 下的脚本。\n\n安装\ncd {baseDir}\n\n环境变量\nDEFILLAMA_API_KEY：可选，Pro API key。若未提供，Pro 端点会提示 API PLAN REQUIRED。\n使用方式（必须通过 run.py）\nTVL\nuv run {baseDir}/src/run.py tvl protocols\nuv run {baseDir}/src/run.py tvl protocol --protocol aave\nuv run {baseDir}/src/run.py tvl tvl --protocol uniswap\nuv run {baseDir}/src/run.py tvl chains\nuv run {baseDir}/src/run.py tvl historical-chain-tvl --chain Ethereum\n\nStablecoins\nuv run {baseDir}/src/run.py stablecoins list --include-prices\nuv run {baseDir}/src/run.py stablecoins charts-all\nuv run {baseDir}/src/run.py stablecoins charts-chain --chain Ethereum\nuv run {baseDir}/src/run.py stablecoins detail --asset 1\nuv run {baseDir}/src/run.py stablecoins dominance --chain Ethereum --stablecoin-id 1\n\nCoins（价格与链上数据）\nuv run {baseDir}/src/run.py coins current --coins coingecko:ethereum,ethereum:0x0000000000000000000000000000000000000000\nuv run {baseDir}/src/run.py coins historical --timestamp 1704067200 --coins coingecko:ethereum\nuv run {baseDir}/src/run.py coins chart --coins coingecko:ethereum --period 7d\n\nYields（Pro）\nuv run {baseDir}/src/run.py yields pools\nuv run {baseDir}/src/run.py yields pool-chart --pool <pool_id>\n\nVolumes\nuv run {baseDir}/src/run.py volumes dex-overview\nuv run {baseDir}/src/run.py volumes options-overview --data-type dailyPremiumVolume\n\nFees\nuv run {baseDir}/src/run.py fees overview\nuv run {baseDir}/src/run.py fees summary --protocol uniswap\n\nPerps\nuv run {baseDir}/src/run.py perps open-interest\nuv run {baseDir}/src/run.py perps derivatives-overview\n\nUnlocks（Pro）\nuv run {baseDir}/src/run.py unlocks all\nuv run {baseDir}/src/run.py unlocks protocol --protocol hyperliquid\n\nMain Page（Pro）\nuv run {baseDir}/src/run.py main-page categories\nuv run {baseDir}/src/run.py main-page raises\n\nToken Liquidity（Pro）\nuv run {baseDir}/src/run.py token-liquidity historical --token usdt\n\nETFs（Pro）\nuv run {baseDir}/src/run.py etfs overview\nuv run {baseDir}/src/run.py etfs history\n\nNarratives（Pro）\nuv run {baseDir}/src/run.py narratives fdv-performance --period 30\n\nBridges（Pro）\nuv run {baseDir}/src/run.py bridges list --include-chains\nuv run {baseDir}/src/run.py bridges transactions --id 1 --limit 50\n\nMeta / DAT（Pro）\nuv run {baseDir}/src/run.py meta usage\nuv run {baseDir}/src/run.py dat institutions\n\n备注\nCoin 需要使用 chain:address 或 coingecko:slug 格式，例如 coingecko:ethereum。\nPro 端点需要 DEFILLAMA_API_KEY 或 --api-key。\n常见错误\nrate limited：放缓速率或提供 API plan key。\nAPI PLAN REQUIRED：升级订阅或设置 DEFILLAMA_API_KEY。"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/poploli2/defillama-api",
    "publisherUrl": "https://clawhub.ai/poploli2/defillama-api",
    "owner": "poploli2",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/defillama-api",
    "downloadUrl": "https://openagent3.xyz/downloads/defillama-api",
    "agentUrl": "https://openagent3.xyz/skills/defillama-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/defillama-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/defillama-api/agent.md"
  }
}