# DefiLlama

DefiLlama provides public DeFi data for protocols, chains, token prices, stablecoins, yields, volumes, fees, and open interest.

Category: Data. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/defillama/.

## Actions

- **Get Batch Historical Token Prices** (read-only): Get prices for multiple token identifiers at multiple requested Unix timestamps in one call.
- **Get Block By Timestamp** (read-only): Get the closest block height on a chain for a Unix timestamp.
- **Get Current Token Prices** (read-only): Get current USD prices and available confidence scores for comma-separated chain.
- **Get First Token Prices** (read-only): Get the earliest available price record for one or more token identifiers.
- **Get Historical Token Prices** (read-only): Get token prices nearest one Unix timestamp for comma-separated token identifiers.
- **Get Historical TVL** (read-only): Return a bounded window of historical DeFi TVL across all chains or for one chain, excluding liquid staking and double-counted TVL.
- **Get Metric Overview** (read-only): Get global or per-chain DEX volume, fees/revenue, open interest, or options volume totals, windowed protocol rankings, and optional…
- **Get Protocol** (read-only): Get a protocol's profile, current TVL by chain, and windowed historical TVL and token breakdowns.
- **Get Protocol Current TVL** (read-only): Get the current total value locked in USD for one protocol.
- **Get Protocol Metric Summary** (read-only): Get one protocol's metadata, historical charts, and totals for the selected DEX volume, fees/revenue, or options volume metric.
- **Get Stablecoin** (read-only): Get one stablecoin's metadata, current balances by chain, and a bounded window of aggregate or chain-specific balance history.
- **Get Stablecoin Price History** (read-only): Get historical prices for all tracked stablecoins.
- **Get Stablecoins Chart** (read-only): Get windowed historical stablecoin market capitalization across all chains or for one chain, optionally filtered to one stablecoin ID.
- **Get Token Price Chart** (read-only): Get bounded windows of regular-interval price series for one or more token identifiers over the requested time range.
- **Get Token Price Percentage Change** (read-only): Get percentage price changes for token identifiers over a requested period before or after a timestamp.
- **List Chains TVL** (read-only): List supported chains with current TVL and native-token identifiers in a bounded local window that can be continued with next_offset.
- **List Protocols** (read-only): List DeFi protocols with identifiers, categories, chains, current TVL, and recent TVL changes.
- **List Stablecoin Chains** (read-only): List chains with current aggregate stablecoin market capitalization in a bounded local window that can be continued with next_offset.
- **List Stablecoins** (read-only): List stablecoins with IDs, peg metadata, circulating amounts, and optional current prices.
