DeFi Llama Flow
Analytics and tracking for DeFi protocols using the DeFi Llama API.
Overview
The DeFi Llama flow provides comprehensive analytics and tracking capabilities for DeFi protocols, helping users make informed investment decisions and monitor market trends.
How to Use
Input Format
Send simple string queries about DeFi data:
Example prompts:"fetch high tvl"
"best apy"
"best yields"
"top defi protocols"
"compare uniswap aave tvl"
Output Format
Returns data in two formats:
- Markdown table for structured data comparison
- Plain text for explanations and insights
Example Usage
High TVL Query
Input: "fetch high tvl"
Output:
Protocol | TVL | Chain | Category |
---|---|---|---|
Lido | $32.1B | Ethereum | Liquid Staking |
Aave | $12.5B | Multi-chain | Lending |
Uniswap | $8.9B | Multi-chain | DEX |
Best APY Query
Input: "best apy"
Output:
Protocol | Asset | APY | Risk Level |
---|---|---|---|
Compound | USDC | 12.5% | Medium |
Aave | ETH | 8.2% | Low |
Curve | 3pool | 15.3% | Medium |
Plus explanatory text: "These yields are based on current market conditions. Higher APY typically correlates with higher risk."
Protocol Comparison
Input: "compare uniswap aave tvl"
Output:
Metric | Uniswap | Aave |
---|---|---|
TVL | $8.9B | $12.5B |
24h Volume | $1.2B | $89M |
Chains | 12 | 8 |
Tokens | 2000+ | 50+ |
Use Cases
- Market Research: Research DeFi protocols before investing
- Investment Decisions: Compare yield opportunities and risks
- Protocol Monitoring: Track performance of favorite protocols
- Portfolio Analysis: Analyze DeFi exposure across protocols
Technical Details
Capabilities
- TVL Tracking: Monitor Total Value Locked across protocols
- Yield Analysis: Compare yield opportunities across platforms
- Protocol Comparison: Analyze different protocols side by side
- Historical Data: Access historical performance metrics
- Market Insights: Get market trends and protocol rankings
API Integration
The flow integrates with the DeFi Llama API to provide:
- Real-time protocol data
- Historical TVL metrics
- Yield calculations
- Cross-chain analytics
- Token price data
Configuration
The flow may require API configuration for enhanced features. Check with your system administrator for specific setup requirements.
Data Sources
- DeFi Llama API: Primary data source for protocol metrics
- Real-time feeds: Live TVL and volume data
- Historical archives: Past performance data
- Multi-chain support: Data from 50+ blockchains
Integration
This flow works well with:
- Portfolio management agents for DeFi exposure analysis
- Investment research workflows for protocol evaluation
- Automated monitoring systems for protocol tracking
Getting Help
For specific queries about protocol data or analytics features, refer to the DeFi Llama API documentation or contact support.