DefiLlama API Proxy Server

DefiLlama API Proxy Server AI Agent

Enable AI assistants to interact seamlessly with the DefiLlama API by translating MCP tool calls into API requests. Dynamically generate tools from the DefiLlama OpenAPI specification to provide up-to-date and comprehensive DeFi data access. Simplify integration with DefiLlama's public API through a standardized MCP interface.

DefiLlama API Proxy Server handles repetitive tasks for you automatically. It can do 16 different things for you—just connect to it in one click.

898 installsby Kryptoskatt
Popular
18.8% Uptime

Available Tools

DefiLlama API Proxy Server can do 16 different things for you automatically. Here's what it can handle:

get_protocol__by_protocol

Get historical TVL of a protocol and breakdowns by token and chain

get_v2_historicalChainTvl

Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains

get_v2_historicalChainTvl__by_chain

Get historical TVL (excludes liquid staking and double counted tvl) of a chain

get_tvl__by_protocol

Simplified endpoint to get current TVL of a protocol

get_prices_current__by_coins

Get current prices of tokens by contract address Error Responses: 502: Internal error

get_stablecoincharts_all

Get historical mcap sum of all stablecoins

get_pools

Retrieve the latest data for all pools, including enriched information such as predictions

get_chart__by_pool

Get historical APY and TVL of a pool

get_overview_dexs

List all dexs along with summaries of their volumes and dataType history data

get_overview_dexs__by_chain

List all dexs along with summaries of their volumes and dataType history data filtering by chain

Configuration Variables

To get DefiLlama API Proxy Server working, you'll need to give it access to your accounts. This usually means logging into apps like Gmail, Slack, or other services you want it to use—just like when you connect apps on your phone.

apiKey

stringOptional

baseUrl

stringOptional

timeout

numberOptional

Common Questions

What is an AI Agent?

An AI agent is like having a personal assistant who does specific tasks for you. Instead of a general chatbot that just talks, AI agents actually do things—they can check your calendar, send emails, look up information, and handle repetitive work so you don't have to.

What is MCP (Model Context Protocol)?

MCP is simply the way AI agents plug into your apps and services. When you connect something like DefiLlama API Proxy Server to Lyra, it lets the AI take actions on your behalf.

How do I use DefiLlama API Proxy Server?

Just install it inside Lyra. It only takes a moment. After that, your AI can instantly use DefiLlama API Proxy Server—no setup, no technical knowledge required.