Notes
- The free API is keyless. The paid Pro API (pro-api.llama.fi, key placed in the URL path) is not covered by this entry.
- Protocols are addressed by slug (aave, uniswap) and chains by name (Ethereum); get them from defillama.protocols and defillama.chains.
- Tokens for price calls are {chain}:{address} or coingecko:{id}, comma-separated: ethereum:0xdF57…,coingecko:ethereum.
- Timestamps are UNIX seconds. TVL and volumes are in USD.
- /protocols, /pools and the overview endpoints return the whole set and are large; pass excludeTotalDataChart=true and excludeTotalDataChartBreakdown=true on overviews to shrink them.
Endpoints
List protocols with TVL
Get protocol TVL history
List chains with TVL
Get chain TVL history
Get current token prices
Get token prices at a time
Get token price chart
List stablecoins
List yield pools
- Very large response (all pools).