DefiLlama

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

19 actionsNo account needed

Connect DefiLlama

What your agent can do in DefiLlama

Looks up

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

More data apps