Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

defillama-analytics-guide

БесплатноБез исполняемых скриптовНе проверен

Master the DeFi Llama API — the best free, keyless, rate-limit-free API for DeFi data. Covers TVL, protocol stats, yield pools, stablecoin analytics, token…

nirholasот nirholas★ 289 звёзд на GitHub

Об этом скилле

DeFi Llama Analytics Guide

DeFi Llama is the best free API in crypto — zero API key, zero rate limiting, comprehensive DeFi coverage. This guide teaches AI agents how to use every endpoint.

Why DeFi Llama?

Feature DeFi Llama CoinGecko (Free) CoinMarketCap (Free)
API Key None None Required
Rate Limit None 30/min (strict) 30/min
TVL Data Best in class Limited Limited
Yield Data Only source None None
Price Data ✅ ✅ (rate limited) ✅ (key required)
Stablecoin Data Only source Limited Limited
Cost Free forever Free (crippled) Free (crippled)

Core API Endpoints

Base URL: https://api.llama.fi

Protocol TVL

# All protocols
GET https://api.llama.fi/protocols

# Single protocol
GET https://api.llama.fi/protocol/{slug}

# Examples:
GET https://api.llama.fi/protocol/aave
GET https://api.llama.fi/protocol/uniswap
GET https://api.llama.fi/protocol/sperax

Response fields (per protocol):

Field Description
name Protocol name
tvl Current total TVL
chainTvls TVL breakdown by chain
change_1h/1d/7d TVL change percentages
chains List of chains protocol is on
category DeFi category (DEX, Lending, CDP, etc.)

Chain TVL

# All chains
GET https://api.llama.fi/v2/chains

# Historical TVL for a chain
GET https://api.llama.fi/v2/historicalChainTvl/Arbitrum

Global DeFi Stats

# Total DeFi TVL
GET https://api.llama.fi/v2/historicalChainTvl

# Returns: Daily TVL across all chains combined

Token Prices API

Base URL: https://coins.llama.fi

Current Prices

# By chain:address
GET https://coins.llama.fi/prices/current/ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

# Multiple tokens (comma-separated)
GET https://coins.llama.fi/prices/current/ethereum:0xC02aaA39...,arbitrum:0xD74f5255...

# By CoinGecko ID
GET https://coins.llama.fi/prices/current/coingecko:bitcoin,coingecko:ethereum

Historical Prices

# Price at a specific Unix timestamp
GET https://coins.llama.fi/prices/historical/{timestamp}/coingecko:bitcoin

# First recorded price
GET https://coins.llama.fi/prices/first/coingecko:bitcoin

Price Charts

# Daily price history
GET https://coins.llama.fi/chart/coingecko:bitcoin?start=1672531200&span=30&period=1d

Yield / Farming Pools API

Base URL: https://yields.llama.fi

The only comprehensive source for DeFi yield data.

# All yield pools
GET https://yields.llama.fi/pools

# Returns: 10,000+ pools with APY, TVL, IL risk, etc.

Key response fields per pool:

Field Description
pool Unique pool ID
chain Chain name
project Protocol name
symbol Pool token pair
tvlUsd Pool TVL in USD
apy Total APY (base + reward)
apyBase Base APY (trading fees)
apyReward Reward token APY
ilRisk Impermanent loss risk (yes/no)
stablecoin Whether pool is stablecoin-only

Filtering Yield Pools

The API returns everything — filter client-side:

Find best stablecoin yields on Arbitrum:

GET https://yields.llama.fi/pools

Filter: chain === "Arbitrum" && stablecoin === true
Sort by: apy (descending)

Find highest-TVL pools:

Filter: tvlUsd > 1000000
Sort by: tvlUsd (descending)

Sperax context: USDs offers auto-yield (3–8% APY) without needing to manage farming positions. Compare this against active yield pools on DeFi Llama to show users the effort-adjusted return.

Stablecoin Analytics API

Base URL: https://stablecoins.llama.fi

# All stablecoins
GET https://stablecoins.llama.fi/stablecoins?includePrices=true

# Single stablecoin history
GET https://stablecoins.llama.fi/stablecoin/{id}

# Stablecoin market cap by chain
GET https://stablecoins.llama.fi/stablecoinchains

Response fields per stablecoin:

Field Description
name Stablecoin name (USDT, USDC, USDs, etc.)
circulating Total supply by chain
price Current price (peg status)
pegMechanism How it maintains peg
pegType USD, EUR, etc.

Use case: Compare USDs vs USDC vs DAI — supply, peg stability, chain distribution.

Bridge Volume API

# All bridges
GET https://bridges.llama.fi/bridges

# Bridge volume by chain
GET https://bridges.llama.fi/bridgevolume/{chain}

# Top bridge transactions
GET https://bridges.llama.fi/transactions/{bridgeId}

DEX Volume API

# All DEX volumes
GET https://api.llama.fi/overview/dexs

# Chain-specific DEX volume
GET https://api.llama.fi/overview/dexs/{chain}

# Single DEX
GET https://api.llama.fi/summary/dexs/{protocol}

Fee / Revenue API

# All protocol fees
GET https://api.llama.fi/overview/fees

# Single protocol fees
GET https://api.llama.fi/summary/fees
Полный SKILL.md на GitHub

Установить defillama-analytics-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл defillama-analytics-guide?

Master the DeFi Llama API — the best free, keyless, rate-limit-free API for DeFi data. Covers TVL, protocol stats, yield pools, stablecoin analytics, token prices, chain comparisons, and bridge volumes. Essential for any AI agent working with DeFi market intelligence.

Как установить скилл defillama-analytics-guide?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл defillama-analytics-guide запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить defillama-analytics-guide с