Data & Analytics

DefiLlama

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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. Use chain_filter to select a chain-specific history source; omit it for aggregate history.

  • 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. Use chain_filter to select a chain series; omit it for aggregate history.

  • Get Stablecoin Price History

    Get historical prices for all tracked stablecoins. DefiLlama returns the full series upstream; this tool returns a bounded local window that can be continued with next_offset.

  • 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.

  • 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. DefiLlama returns the full collection upstream; this tool returns a bounded local window that can be continued with next_offset.

  • 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. DefiLlama returns the full collection upstream; this tool returns a bounded local window that can be continued with next_offset.