DeFi Llama
DeFi protocol TVL rankings
DeFi Llama aggregates total value locked across chains and protocols. The /protocols list is keyless JSON — useful for crypto dashboards and research.
GET https://api.llama.fi/protocols
[
{
"id": "2269",
"name": "Binance CEX",
"address": null,
"symbol": "BNB",
"url": "https://www.binance.com",
"description": "Binance is a cryptocurrency exchange which is the largest exchange in the world in terms of daily trading volume of cryptocurrencies",
"chain": "Multi-Chain",
"logo": "https://icons.llamao.fi/icons/protocols/binance-cex"
},
{
"id": "2272",
"name": "OKX",
"address": null,
"symbol": "-",
"url": "https://www.okx.com",
"description": "OKX, formerly known as OKEx, is a Seychelles-based cryptocurrency exchange and derivatives exchange that provides a platform for trading various instruments such as spot and derivative",
"chain": "Multi-Chain",
"logo": "https://icons.llamao.fi/icons/protocols/okx"
}
]curl "https://api.llama.fi/protocols"const res = await fetch("https://api.llama.fi/protocols");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.llama.fi/protocols")
print(res.json())/protocolsPROBEDDeFi protocol TVL rankings
/protocols?limit=5Paginated variant with limit parameter.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
DeFi Llama: common questions
Is DeFi Llama free to use?
Yes — DeFi Llama is a free crypto & web3 API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does DeFi Llama need an API key?
No — DeFi Llama needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call DeFi Llama from the browser?
Yes — DeFi Llama returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is DeFi Llama up right now?
As of our last scheduled check, DeFi Llama is healthy with 99.02% uptime over 90 days and a 679 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.