Collection

DefiLlama

Use DefiLlama APIs through OpenAny to research protocol TVL, fees, revenue, stablecoin supply, token-price history and exchange-volume datasets. Select the supported network and supply the token, wallet, contract, market or time-range identifiers required by the operation. Research market activity, compare onchain records and build dashboards that retain the source network, asset identity and observation context. Network support, historical depth and available response fields differ by endpoint. Individual API pages provide supported parameters, available implementations, request and response examples, and usage pricing.

Endpoints / Providers
28 / 1In this collection
Requests
—Loading...
Success rate
—Loading...
Response P50
—Loading...
Loading statistics... API browsing remains available.
USE THIS COLLECTION

DefiLlama

Choose an API, then continue with your agent.

Endpoints
28
Providers
1

Each endpoint publishes its own rate and billing unit.

View APIsConnect your agent
On this page

Available APIs

DefiLlama: List all protocols along with summaries of their fees and revenue and dataType history data

List all protocols along with summaries of their fees and revenue and dataType history data with the DeFiLlama API. The request takes an exclude total data chart. Compare DeFi protocol activity over time in a research dashboard. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get historical prices of tokens by contract address

Get historical prices of tokens by contract address

1 provider · 1 implementation$0 / call

DefiLlama: Get current prices of tokens by contract address

Retrieve current prices of tokens by contract address with the DeFiLlama API. The request takes a coins. Use it in blockchain research or an on-chain monitoring dashboard. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get summary of protocol fees and revenue with historical data

Get summary of protocol fees and revenue with historical data

1 provider · 1 implementation$0 / call

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

List all options dexs along with summaries of their volumes and dataType history data filtering by chain with the DeFiLlama API. The request takes a chain and an exclude total data chart. Use it in financial research or market monitoring. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get summary of dex volume with historical data

Get summary of dex volume with historical data

1 provider · 1 implementation$0 / call

DefiLlama: List all open interest dex exchanges along with summaries of their open interest

List all open interest dex exchanges along with summaries of their open interest with the DeFiLlama API. The request takes an exclude total data chart. Use it in financial research or market monitoring. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Simplified endpoint to get current TVL of a protocol

Simplified endpoint to get current TVL of a protocol

1 provider · 1 implementation$0 / call

DefiLlama: Get historical mcap sum of all stablecoins

Retrieve historical mcap sum of all stablecoins with the DeFiLlama API. Review the selected endpoint’s request fields before calling. Use it in financial research or market monitoring. The GET request schema also lists stablecoin. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get token prices at regular time intervals

Retrieve token prices at regular time intervals with the DeFiLlama API. The request takes a coins. Use it in financial research or market monitoring. The GET request schema also lists start, end. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get current mcap sum of all stablecoins on each chain

Get current mcap sum of all stablecoins on each chain

1 provider · 1 implementation$0 / call

DefiLlama: Get current TVL of all chains

Retrieve current TVL of all chains with the DeFiLlama API. Review the selected endpoint’s request fields before calling. Track protocol liquidity in DeFi research or portfolio dashboards.

1 provider · 1 implementation$0 / call

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

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

1 provider · 1 implementation$0 / call

DefiLlama: Get historical mcap and historical chain distribution of a stablecoin

Retrieve historical mcap and historical chain distribution of a stablecoin with the DeFiLlama API. The request takes an asset. Monitor stablecoin supply across markets or chains. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get percentage change in price over time

Retrieve percentage change in price over time with the DeFiLlama API. The request takes a coins. Build a market research view or track changes over time. The GET request schema also lists timestamp, lookForward. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get historical prices for multiple tokens at multiple different timestamps

Retrieve historical prices for multiple tokens at multiple different timestamps with the DeFiLlama API. The request takes a coins. Use it in financial research or market monitoring. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

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

List all dexs along with summaries of their volumes and dataType history data with the DeFiLlama API. The request takes an exclude total data chart. Use it in financial research or market monitoring. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

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

List all options dexs along with summaries of their volumes and dataType history data with the DeFiLlama API. The request takes an exclude total data chart. Use it in financial research or market monitoring. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

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

List all dexs along with summaries of their volumes and dataType history data filtering by chain with the DeFiLlama API. The request takes a chain and an exclude total data chart. Use it in financial research or market monitoring. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get earliest timestamp price record for coins

Retrieve earliest timestamp price record for coins with the DeFiLlama API. The request takes a coins. Build a market research view or track changes over time. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

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

Retrieve historical TVL (excludes liquid staking and double counted tvl) of a chain with the DeFiLlama API. The request takes a chain. Track protocol liquidity in DeFi research or portfolio dashboards.

1 provider · 1 implementation$0 / call

DefiLlama: List all protocols along with summaries of their fees and revenue and dataType history data by chain

List all protocols along with summaries of their fees and revenue and dataType history data by chain with the DeFiLlama API. The request takes a chain and an exclude total data chart. Compare DeFi protocol activity over time in a research dashboard. The GET request schema also lists excludeTotalDataChart, excludeTotalDataChartBreakdown. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

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

Retrieve historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains with the DeFiLlama API. Review the selected endpoint’s request fields before calling. Track protocol liquidity in DeFi research or portfolio dashboards.

1 provider · 1 implementation$0 / call

DefiLlama: Get historical prices of all stablecoins

Retrieve historical prices of all stablecoins with the DeFiLlama API. Review the selected endpoint’s request fields before calling. Use it in financial research or market monitoring. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: Get summary of options dex volume with historical data

Get summary of options dex volume with historical data

1 provider · 1 implementation$0 / call

DefiLlama: Get the closest block to a timestamp

Retrieve the closest block to a timestamp with the DeFiLlama API. The request takes a chain and a timestamp. Use it in financial research or market monitoring. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

DefiLlama: List all protocols on defillama along with their tvl

List all protocols on defillama along with their tvl via API. Review the selected endpoint’s request fields before calling. Track protocol liquidity in DeFi research or portfolio dashboards.

1 provider · 1 implementation$0 / call

DefiLlama: List all stablecoins along with their circulating amounts

List all stablecoins along with their circulating amounts with the DeFiLlama API. Review the selected endpoint’s request fields before calling. Use it in financial research or market monitoring. The GET request schema also lists includePrices. Use the response in a DeFi workflow for the selected protocol, and compare the request and response with the provider example.

1 provider · 1 implementation$0 / call

Common questions

How are DefiLlama APIs priced?

Each endpoint publishes its own rate and billing unit. Compare the selected implementation and request-specific conditions; a collection starting price is not a quote for every request.

How do I authenticate DefiLlama requests?

Use your OpenAny API key from a secure environment variable for supported account-based calls. Never paste secrets into prompts, documentation examples or public logs.

Are all implementations interchangeable?

No. Read each endpoint request schema, response examples and limitations before execution. Different suppliers may expose different fields and behavior; approve the budget before a paid call.

Use DefiLlama with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.