DefiLlama
It hosts the documentation for the DefiLlama API.
Latency
1042ms p95
Uptime
100.0% 30d
Playground
Verified
live
Endpoints
/protocols
List all protocols on DefiLlama along with their TVL.
/protocol/{protocol}
Get historical TVL of a protocol and breakdowns by token and chain.
/v2/historicalChainTvl
Get historical TVL (excludes liquid staking and double counted TVL) of DeFi on all chains.
/v2/historicalChainTvl/{chain}
Get historical TVL (excludes liquid staking and double counted TVL) of a chain.
/tvl/{protocol}
Simplified endpoint to get current TVL of a protocol.
/v2/chains
Get current TVL of all chains.
/api/tokenProtocols/{symbol}
Lists the amount of a certain token within all protocols. Data for the Token Usage page.
/api/inflows/{protocol}/{timestamp}
Lists the amount of inflows and outflows for a protocol at a given date.
/api/chainAssets
Get assets of all chains.
/api/v2/metrics/tvl/protocol/{protocol}
Get aggregate TVL metrics for a protocol.
/api/v2/chart/tvl/protocol/{protocol}
Get historical TVL chart for a protocol.
/api/v2/chart/tvl/protocol/{protocol}/chain-breakdown
Get historical TVL chart for a protocol broken down by chain.
/api/v2/chart/tvl/protocol/{protocol}/token-breakdown
Get historical TVL chart for a protocol broken down by token.
13 endpoints auto-detected
curl -X GET \ "https://defillama.com/docs/api/protocols"
defillama.com · HTTPS only