Agent skill · Data & Analytics

defillama-api

DefiLlama API integration for DeFi analytics - TVL, prices, yields, volumes, fees, bridges, and DAT data. Use for blockchain/DeFi research, protocol analysis, and market data queries.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill defillama-api --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/api/defillama-api/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# DefiLlama API **Trit**: -1 (MINUS - Validator/Data Source) **Color**: #4A90D9 (Cold blue, 210°) Comprehensive DeFi data from DefiLlama's API ecosystem. ## Base URLs | API | Base URL | Auth | |-----|----------|------| | Pro API | `https://pro-api.llama.fi` | Key in path: `/API_KEY/endpoint` | | Bridge API | `https://bridges.llama.fi` | None | ## Quick Reference ### TVL & Protocols ```bash # All protocols with TVL GET /api/protocols # Single protocol detail GET /api/protocol/{slug} # Chain TVL GET /api/v2/chains GET /api/v2/historicalChainTvl/{chain} ``` ### Prices ```bash # Current prices (chain:address format) GET /coins/prices/current/{coins} # Historical GET /coins/prices/historical/{timestamp}/{coins} # Chart data GET /coins/chart/{coins}?period=30d ``` ### Yields (Pro) ```bash GET /yields/pools # All yield pools GET /yields/chart/{pool} # Pool history GET /yields/poolsBorrow # Borrow rates GET /yields/perps # Perp funding GET /yields/lsdRates # LSD rates ``` ### Volume ```bash GET /api/overview/dexs # DEX volumes GET /api/overview/dexs/{chain} # Chain DEX GET /api/summary/dexs/{protocol} # Protocol detail GET /api/overview/options # Options GET /api/overview/derivatives # Der

What's inside
Steps it walks through
  1. Base URLs
  2. Quick Reference
  3. TVL & Protocols
  4. Prices
  5. Yields (Pro)
  6. Volume
  7. Fees & Revenue
  8. Bridges
  9. DAT (Digital Asset Treasury)
  10. Usage Script
  11. Endpoint Categories
  12. Free Endpoints
  13. Pro Endpoints (API Key Required)
  14. Response Patterns
Ships with 1 file
  • metadata.json
Commands it runs
All protocols with TVL
GET /api/protocols
Single protocol detail
GET /api/protocol/{slug}
Chain TVL
GET /api/v2/chains
GET /api/v2/historicalChainTvl/{chain}
Current prices (chain:address format)
GET /coins/prices/current/{coins}
Historical
More from claude-skill-registry
All skills →
About this skill
What does the defillama-api skill do?

DefiLlama API integration for DeFi analytics - TVL, prices, yields, volumes, fees, bridges, and DAT data. Use for blockchain/DeFi research, protocol analysis, and market data queries.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill defillama-api --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going