Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Batch Historical Token Prices
DEFILLAMA_GET_BATCH_HISTORICAL_TOKEN_PRICESGet prices for multiple token identifiers at multiple requested Unix timestamps in one call.
Get Block By Timestamp
DEFILLAMA_GET_BLOCK_BY_TIMESTAMPGet the closest block height on a chain for a Unix timestamp.
Get Current Token Prices
DEFILLAMA_GET_CURRENT_TOKEN_PRICESGet current USD prices and available confidence scores for comma-separated chain:address or coingecko:id tokens.
Get First Token Prices
DEFILLAMA_GET_FIRST_TOKEN_PRICESGet the earliest available price record for one or more token identifiers.
Get Historical Token Prices
DEFILLAMA_GET_HISTORICAL_TOKEN_PRICESGet token prices nearest one Unix timestamp for comma-separated token identifiers.
Get Historical TVL
DEFILLAMA_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 Overview
DEFILLAMA_GET_METRIC_OVERVIEWGet global or per-chain DEX volume, fees/revenue, open interest, or options volume totals, windowed protocol rankings, and optional historical charts.
Get Protocol
DEFILLAMA_GET_PROTOCOLGet 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
DEFILLAMA_GET_PROTOCOL_CURRENT_TVLGet the current total value locked in USD for one protocol.
Get Protocol Metric Summary
DEFILLAMA_GET_PROTOCOL_METRIC_SUMMARYGet one protocol's metadata, historical charts, and totals for the selected DEX volume, fees/revenue, or options volume metric.
Get Stablecoin
DEFILLAMA_GET_STABLECOINGet 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
DEFILLAMA_GET_STABLECOIN_PRICE_HISTORYGet 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
DEFILLAMA_GET_STABLECOINS_CHARTGet windowed historical stablecoin market capitalization across all chains or for one chain, optionally filtered to one stablecoin ID.
Get Token Price Chart
DEFILLAMA_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 Change
DEFILLAMA_GET_TOKEN_PRICE_PERCENTAGE_CHANGEGet percentage price changes for token identifiers over a requested period before or after a timestamp.
List Chains TVL
DEFILLAMA_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 Protocols
DEFILLAMA_LIST_PROTOCOLSList 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
DEFILLAMA_LIST_STABLECOIN_CHAINSList chains with current aggregate stablecoin market capitalization in a bounded local window that can be continued with next_offset.
List Stablecoins
DEFILLAMA_LIST_STABLECOINSList 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.