DefiLlama API guide

defillama.com

Use DefiLlama to rank DeFi protocols by total value locked, look up supported chains, and review bridge volumes and historical token prices.

Actions and inputs

protocols

List DeFi protocols ranked by total value locked.

Inputs optional row limit

protocol

Get a protocol’s total value locked, market cap, and supported chains.

Inputs protocol slug

bridges get

Summarize bridge volumes and break them down by chain.

batch-historical

Look up historical prices for multiple tokens.

Inputs token identifiers, optional period and search width

DefiLlama protocol watchlist in Smith

Create

Create a watchlist of DefiLlama protocols in Smith.

Inputs list name, protocol slugs

Read

View the protocols in your Smith watchlist.

Inputs watchlist ID

Update

Rename your Smith watchlist or change its protocol slugs.

Inputs watchlist ID, new name or protocol slugs

Delete

Delete your watchlist from Smith.

Inputs watchlist ID