defi-dashboard-building
БесплатноБез исполняемых скриптовНе проверенGuide to building DeFi analytics dashboards with free APIs — data architecture, API integration patterns, key metrics, visualization strategies, and a…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Building DeFi Analytics Dashboards
How to build your own DeFi monitoring dashboard using entirely free APIs. No API keys required for most sources.
Architecture Overview
┌─────────────────────────────────────────────┐
│ DATA SOURCES (Free) │
├──────────┬──────────┬──────────┬────────────┤
│DeFi Llama│ Binance │DexScreen │ Chainlink │
│ TVL,Yield│ Prices │ DEX Data │ Oracle │
│ Stables │ OHLCV │ Pairs │ Feeds │
└────┬─────┴────┬─────┴────┬─────┴─────┬──────┘
│ │ │ │
┌────▼──────────▼──────────▼───────────▼──────┐
│ BACKEND / AGENT │
│ - Fetch data from APIs │
│ - Cache responses (respect sources) │
│ - Calculate derived metrics │
│ - Detect anomalies and alerts │
└────────────────────┬────────────────────────┘
│
┌────────────────────▼────────────────────────┐
│ DASHBOARD VIEWS │
│ - Market Overview │
│ - Protocol Deep Dive │
│ - Yield Comparison │
│ - Portfolio Tracker │
│ - Alert Center │
└─────────────────────────────────────────────┘
Free API Reference
Prices
| Source | Endpoint | Rate Limit | Best For |
|---|---|---|---|
| DeFi Llama | coins.llama.fi/prices/current/{tokens} |
None | Universal token prices |
| Binance | api.binance.com/api/v3/ticker/24hr |
1200/min | Real-time CEX prices |
| CoinCap | api.coincap.io/v2/assets |
200/min | Top 2000 coins |
| DexScreener | api.dexscreener.com/latest/dex/tokens/{addr} |
Reasonable | DEX prices |
DeFi Data
| Source | Endpoint | Best For |
|---|---|---|
| DeFi Llama TVL | api.llama.fi/protocols |
Protocol TVL rankings |
| DeFi Llama Yields | yields.llama.fi/pools |
All DeFi yield pools |
| DeFi Llama Stables | stablecoins.llama.fi/stablecoins |
Stablecoin market data |
| DeFi Llama Fees | api.llama.fi/overview/fees |
Protocol revenue |
| DeFi Llama DEXes | api.llama.fi/overview/dexs |
DEX volumes |
On-Chain
| Source | How to Access | Best For |
|---|---|---|
| Chainlink Feeds | Read contract via RPC | Oracle prices |
| The Graph | GraphQL subgraph queries | DEX + lending data |
| Block Explorers | Etherscan/Arbiscan API (free key) | Transaction history |
Sentiment
| Source | Endpoint | Best For |
|---|---|---|
| Fear & Greed | api.alternative.me/fng/ |
Market sentiment |
| CryptoPanic | cryptopanic.com/api/v1/posts/ |
News sentiment (key req) |
Dashboard Components
1. Market Overview
Data needed:
- BTC/ETH prices + 24h change → Binance or DeFi Llama
- Total DeFi TVL → DeFi Llama /v2/historicalChainTvl
- Top gainers/losers → CoinCap or Binance
- Fear & Greed → alternative.me
- Total stablecoin market cap → DeFi Llama stablecoins
Refresh rate: Every 5 minutes
2. Chain Comparison
Data needed:
- TVL per chain → DeFi Llama /v2/chains
- DEX volume per chain → DeFi Llama /overview/dexs/{chain}
- Fee revenue per chain → DeFi Llama /overview/fees/{chain}
- Active addresses (if available) → Block explorer APIs
Key insight: Which chains are growing/declining?
3. Yield Explorer
Data needed:
- All pools → DeFi Llama yields /pools
- Filter fields:
- chain, project, symbol, tvlUsd, apy, apyBase, apyReward
- stablecoin (boolean), ilRisk
Useful views:
| View | Filter | Sort |
|---|---|---|
| Best stablecoin yields | stablecoin=true, tvlUsd>100K |
APY desc |
| Safest high yields | tvlUsd>1M, ilRisk=no |
APY desc |
| Arbitrum yields | chain=Arbitrum |
APY desc |
| Auto-yield comparison | Include USDs APY alongside pools | APY desc |
Sperax angle: USDs auto-yield (3–8% APY) should appear alongside active farming yields for honest comparison. Many users prefer 5% passive over 10% active.
4. Protocol Deep Dive
Data needed per protocol:
- TVL history → DeFi Llama /protocol/{slug}
- Fee revenue → DeFi Llama /summary/fees/{slug}
- Chain breakdown → Embedded in protocol response
- TVL change (1h, 1d, 7d) → Embedded in protocol response
Key metrics to calculate:
Revenue/TVL ratio = Annual fees / TVL (protocol efficiency)
TVL trend = 7d change (growth/decline)
Multi-chain score = # chains deployed (diversification)
5. Stablecoin Monitor
Data needed:
- All stablecoins → DeFi Llama stablecoins
- Peg status → Price deviation from $1.00
- Supply changes → H
Установить defi-dashboard-building в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл defi-dashboard-building?
Guide to building DeFi analytics dashboards with free APIs — data architecture, API integration patterns, key metrics, visualization strategies, and a complete reference of free endpoints. Use when helping users create custom DeFi monitoring tools or understand how analytics platforms work.
Как установить скилл defi-dashboard-building?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл defi-dashboard-building запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic