← All skills
Tencent SkillHub · Developer Tools

DefiLlama API

使用 DefiLlama API/SDK 获取 TVL、stablecoins、coins 价格、yields、volumes、fees、perps、unlocks、bridges、ETFs、narratives、token liquidity、main page、DAT、meta 等数据的 CLI 技能;当需要...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

使用 DefiLlama API/SDK 获取 TVL、stablecoins、coins 价格、yields、volumes、fees、perps、unlocks、bridges、ETFs、narratives、token liquidity、main page、DAT、meta 等数据的 CLI 技能;当需要...

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, src/run.py, src/scripts/bridges.py, src/scripts/fees.py, src/scripts/narratives.py, src/scripts/dat.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

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.

Upgrade existing

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.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 19 sections Open source page

DefiLlama API

只允许通过 src/run.py 调用,禁止直接运行 src/scripts/ 下的脚本。

安装

cd {baseDir}

环境变量

DEFILLAMA_API_KEY:可选,Pro API key。若未提供,Pro 端点会提示 API PLAN REQUIRED。

TVL

uv run {baseDir}/src/run.py tvl protocols uv run {baseDir}/src/run.py tvl protocol --protocol aave uv run {baseDir}/src/run.py tvl tvl --protocol uniswap uv run {baseDir}/src/run.py tvl chains uv run {baseDir}/src/run.py tvl historical-chain-tvl --chain Ethereum

Stablecoins

uv run {baseDir}/src/run.py stablecoins list --include-prices uv run {baseDir}/src/run.py stablecoins charts-all uv run {baseDir}/src/run.py stablecoins charts-chain --chain Ethereum uv run {baseDir}/src/run.py stablecoins detail --asset 1 uv run {baseDir}/src/run.py stablecoins dominance --chain Ethereum --stablecoin-id 1

Coins(价格与链上数据)

uv run {baseDir}/src/run.py coins current --coins coingecko:ethereum,ethereum:0x0000000000000000000000000000000000000000 uv run {baseDir}/src/run.py coins historical --timestamp 1704067200 --coins coingecko:ethereum uv run {baseDir}/src/run.py coins chart --coins coingecko:ethereum --period 7d

Yields(Pro)

uv run {baseDir}/src/run.py yields pools uv run {baseDir}/src/run.py yields pool-chart --pool <pool_id>

Volumes

uv run {baseDir}/src/run.py volumes dex-overview uv run {baseDir}/src/run.py volumes options-overview --data-type dailyPremiumVolume

Fees

uv run {baseDir}/src/run.py fees overview uv run {baseDir}/src/run.py fees summary --protocol uniswap

Perps

uv run {baseDir}/src/run.py perps open-interest uv run {baseDir}/src/run.py perps derivatives-overview

Unlocks(Pro)

uv run {baseDir}/src/run.py unlocks all uv run {baseDir}/src/run.py unlocks protocol --protocol hyperliquid

Main Page(Pro)

uv run {baseDir}/src/run.py main-page categories uv run {baseDir}/src/run.py main-page raises

Token Liquidity(Pro)

uv run {baseDir}/src/run.py token-liquidity historical --token usdt

ETFs(Pro)

uv run {baseDir}/src/run.py etfs overview uv run {baseDir}/src/run.py etfs history

Narratives(Pro)

uv run {baseDir}/src/run.py narratives fdv-performance --period 30

Bridges(Pro)

uv run {baseDir}/src/run.py bridges list --include-chains uv run {baseDir}/src/run.py bridges transactions --id 1 --limit 50

Meta / DAT(Pro)

uv run {baseDir}/src/run.py meta usage uv run {baseDir}/src/run.py dat institutions

备注

Coin 需要使用 chain:address 或 coingecko:slug 格式,例如 coingecko:ethereum。 Pro 端点需要 DEFILLAMA_API_KEY 或 --api-key。

常见错误

rate limited:放缓速率或提供 API plan key。 API PLAN REQUIRED:升级订阅或设置 DEFILLAMA_API_KEY。

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Scripts1 Docs
  • SKILL.md Primary doc
  • src/run.py Scripts
  • src/scripts/bridges.py Scripts
  • src/scripts/dat.py Scripts
  • src/scripts/fees.py Scripts
  • src/scripts/narratives.py Scripts