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.