defillama-analytics-guide

Guide AI agents to query DeFi Llama APIs for market analytics.

5|Updated May 2, 2026
One-click install
npx skills add https://github.com/nirholas/three-ui --skill defillama-analytics-guide-nirholas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defillama-analytics-guide
Source: https://github.com/nirholas/three-ui/tree/main/data/skills/analysis/defillama-analytics-guide
Command: npx skills add https://github.com/nirholas/three-ui --skill defillama-analytics-guide-nirholas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide removes the guesswork of finding reliable DeFi market data by showing how to query the DeFi Llama APIs directly, so an AI agent can produce accurate analytics without hunting for scattered sources.

Core Features & Use Cases

  • Protocol TVL & Composition: Fetch protocol-level TVL, chain breakdowns, and TVL change over time to understand where a protocol is growing.
  • Chain & Global DeFi Metrics: Retrieve chain rankings and historical TVL snapshots to compare ecosystems and market direction.
  • Token Prices & Charts: Pull current and historical token prices (by chain/address, or by CoinGecko IDs) to support portfolio and market analysis.
  • Yield Pools & Stablecoin Analytics: Use the exclusive yields endpoints to analyze APY/TVL/IL risk and compare stablecoin market caps, peg behavior, and chain distribution.
  • Bridges, DEX Volume, and Fees: Evaluate bridge volume, DEX activity, and protocol revenue/fees to support due diligence and sustainability checks.

Quick Start

Use the defillama-analytics-guide skill to design an API-first workflow that ranks DeFi yield opportunities for a chosen chain and stablecoin preference.

Frequently Asked Questions about defillama-analytics-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve DeFi protocol TVL and chain breakdowns using DeFi Llama APIs?

To retrieve DeFi protocol TVL and chain breakdowns, query the DeFi Llama API protocol endpoints to fetch protocol-level TVL, chain distributions, and TVL change over time for actionable research.

Can I analyze yield pool APY and impermanent loss risk using the DeFi Llama yields API?

Yes, you can analyze yield pool APY and impermanent loss risk by querying the DeFi Llama yields endpoints, which provide APY, TVL, and IL risk metrics to rank DeFi yield opportunities.

What's the best way to compare stablecoin market caps and peg behavior across chains?

The best way to compare stablecoin market caps and peg behavior is to use the DeFi Llama stablecoin analytics endpoints, retrieving market cap, peg deviations, and chain distribution data.

Does DeFi Llama provide API endpoints for historical token prices and chart data?

Yes, DeFi Llama provides API endpoints to pull current and historical token prices by chain address or CoinGecko IDs, supporting portfolio analysis and historical market trend tracking.

How do I evaluate bridge volume and DEX activity for protocol due diligence?

You evaluate bridge volume and DEX activity by querying the respective DeFi Llama API endpoints to retrieve bridge volumes, DEX trading activity, and protocol revenue fees for sustainability checks.

Are there limitations to using free DeFi Llama APIs for comprehensive DeFi market research?

DeFi Llama APIs offer a comprehensive free suite for DeFi research, but users must ensure they apply the correct base URLs, endpoint paths, and response fields to accurately retrieve TVL, yields, and stablecoin data.