Fast and slow models

DefiLlama

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

What agents can do

Actions21

  • Get batch historical token prices

    Get prices for multiple token identifiers at multiple requested Unix timestamps in one call.

  • Get block by timestamp

    Get the closest block height on a chain for a Unix timestamp.

  • Get current token prices

    Get current USD prices and available confidence scores for comma-separated chain:address or coingecko:id tokens.

  • Get first token prices

    Get the earliest available price record for one or more token identifiers.

  • Get historical token prices

    Get token prices nearest one Unix timestamp for comma-separated token identifiers.

  • Get historical tvl

    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

    Get global or per-chain DEX volume, fees/revenue, open interest, or options volume totals, windowed protocol rankings, and optional historical charts.

  • Get protocol

    Get a protocol's profile, current TVL by chain, and windowed historical TVL and token breakdowns.

13 more
  • Get protocol current tvl

    Get the current total value locked in USD for one protocol.

  • Get protocol metric summary

    Get one protocol's metadata, historical charts, and totals for the selected DEX volume, fees/revenue, or options volume metric.

  • Get stablecoin

    Get one stablecoin's metadata, current balances by chain, and a bounded window of aggregate or chain-specific balance history.

  • Get stablecoin price history

    Get historical prices for all tracked stablecoins.

  • Get stablecoins chart

    Get windowed historical stablecoin market capitalization across all chains or for one chain, optionally filtered to one stablecoin ID.

  • Get token price chart

    Get bounded windows of regular-interval price series for one or more token identifiers over the requested time range.

  • Get token price percentage change

    Get percentage price changes for token identifiers over a requested period before or after a timestamp.

  • Get yield pool chart

    Get historical APY and TVL points for one yield pool ID.

  • List chains tvl

    List supported chains with current TVL and native-token identifiers in a bounded local window that can be continued with next_offset.

  • List protocols

    List DeFi protocols with identifiers, categories, chains, current TVL, and recent TVL changes.

  • List stablecoin chains

    List chains with current aggregate stablecoin market capitalization in a bounded local window that can be continued with next_offset.

  • List stablecoins

    List stablecoins with IDs, peg metadata, circulating amounts, and optional current prices.

  • List yield pools

    List yield pools with pool IDs, project, chain, tokens, TVL, APY components, and prediction fields.

How it connects

Nothing to connect: agents can use it straight away.

Keep the connection to yourself or share it with your workspace. Any action that writes or sends can wait for your approval.