defillama

Fetch DeFi protocol TVL, stablecoins, yields, and fees from DefiLlama API.

1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/EternisAI/agent-sandbox --skill defillama-eternisai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defillama
Source: https://github.com/EternisAI/agent-sandbox/tree/main/skills/defillama
Command: npx skills add https://github.com/EternisAI/agent-sandbox --skill defillama-eternisai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides quick access to DeFi on-chain data by querying the DefiLlama public API for TVL, protocol details, stablecoins, yields, open interest, and protocol revenue, helping users make informed decisions without manual data gathering.

Core Features & Use Cases

  • TVL & Protocol Details: Retrieve current TVL, per-chain breakdown, and historical data for protocols.
  • Stablecoins & Yields: Access circulating supply, price, and yield pool metrics across chains.
  • Open Interest & Fees: Inspect perpetuals open interest and protocol fees across chains.

Quick Start

Query the API to fetch protocol TVL, chain TVL history, stablecoins, yields, perpetuals open interest, and protocol fees.

Frequently Asked Questions about defillama

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

FAQPage Schema
How do I get current TVL for a specific DeFi protocol?

To get current TVL for a DeFi protocol, query the DefiLlama public API to retrieve total value locked, per-chain breakdowns, and historical data without needing an API key.

What is the best way to access stablecoin circulating supply across multiple chains?

Accessing stablecoin circulating supply across multiple chains is done by fetching on-chain metrics from the DefiLlama API, which provides supply, price, and chain-specific data.

Do I need an API key to fetch DeFi yields and open interest data?

You do not need an API key to fetch DeFi yields and open interest data; this functionality uses public HTTP endpoints with built-in retry logic and optional chain filtering.

Can I retrieve historical TVL data broken down by blockchain network?

You can retrieve historical TVL data broken down by blockchain network by applying optional chain filtering to your DefiLlama API requests for per-chain protocol analysis.

How do I check protocol fees and perpetuals open interest without manual data gathering?

Checking protocol fees and perpetuals open interest without manual data gathering is achieved by querying the DefiLlama API to automatically pull on-chain fee and open interest metrics.

Are there limitations when using public HTTP endpoints for DefiLlama API requests?

Limitations of using public HTTP endpoints for DefiLlama API requests include potential rate limits, but the Skill mitigates transient failures using built-in retry logic for stable data fetching.