{"api":{"id":"api_4105194c749e43b594eeb62f","slug":"blockchain-tvl-rankings","name":"Blockchain TVL Rankings API","description":"Every blockchain DefiLlama tracks, ranked by total value locked (TVL) in its DeFi apps: rank, TVL in US dollars, share of all-chain TVL, native token, EVM chain id and CoinGecko and CoinMarketCap ids, with optional daily TVL history per chain.","kind":"ready_made","visibility":"public","domain":"api.llama.fi","source_url":"https://api.llama.fi/v2/chains","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T03:33:09.185Z","updated_at":"2026-12-06T03:33:09.185Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"name","type":"string","description":"Chain name as DefiLlama lists it, such as Ethereum or OP Mainnet.","required":true,"coverage":1,"example":"Ethereum"},{"name":"url","type":"url","description":"The chain's page on DefiLlama.","required":false,"coverage":1,"example":"https://defillama.com/chain/ethereum"},{"name":"rank","type":"integer","description":"Rank by today's TVL among all chains the source tracks (1 = most value locked).","required":false,"coverage":1,"example":1},{"name":"date","type":"date","description":"Day of the TVL value (UTC): today for the ranking, each day with history.","required":true,"coverage":1,"example":"2026-12-06"},{"name":"tvl_usd","type":"number","description":"Total value locked in the chain's DeFi apps on that day, in US dollars.","required":false,"coverage":1,"example":30541802377.31},{"name":"share_pct","type":"number","description":"The chain's share of the TVL of all chains on that day, in percent.","required":false,"coverage":1,"example":54.3284},{"name":"token_symbol","type":"string","description":"Symbol of the chain's native token, such as ETH or SOL.","required":false,"coverage":0.8,"example":"ETH"},{"name":"chain_id","type":"integer","description":"EVM chain id, such as 1 for Ethereum or 8453 for Base; empty for chains that are not EVM.","required":false,"coverage":0.6,"example":1},{"name":"gecko_id","type":"string","description":"CoinGecko id of the chain's token, such as ethereum.","required":false,"coverage":0.8,"example":"ethereum"},{"name":"cmc_id","type":"string","description":"CoinMarketCap id of the chain's token, such as 1027.","required":false,"coverage":0.8,"example":"1027"}],"inputs":[{"name":"chains","type":"array","description":"Chains to keep, by name as DefiLlama lists them, such as Ethereum, Solana, BSC or OP Mainnet. Leave empty for every chain.","example":["Ethereum","Solana"]},{"name":"history","type":"boolean","description":"Return each chain's daily TVL history (one record per chain per day, newest first) instead of today's ranking.","default":false,"example":false},{"name":"days","type":"integer","description":"With history: how many of the most recent days to return per chain. 0 returns the whole history, back to 2017 for the oldest chains.","default":0,"example":30}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"chain_id":{"description":"EVM chain id, such as 1 for Ethereum or 8453 for Base; empty for chains that are not EVM.","type":"integer"},"cmc_id":{"description":"CoinMarketCap id of the chain's token, such as 1027.","type":"string"},"date":{"description":"Day of the TVL value (UTC): today for the ranking, each day with history.","format":"date","type":"string"},"gecko_id":{"description":"CoinGecko id of the chain's token, such as ethereum.","type":"string"},"name":{"description":"Chain name as DefiLlama lists it, such as Ethereum or OP Mainnet.","type":"string"},"rank":{"description":"Rank by today's TVL among all chains the source tracks (1 = most value locked).","type":"integer"},"share_pct":{"description":"The chain's share of the TVL of all chains on that day, in percent.","type":"number"},"token_symbol":{"description":"Symbol of the chain's native token, such as ETH or SOL.","type":"string"},"tvl_usd":{"description":"Total value locked in the chain's DeFi apps on that day, in US dollars.","type":"number"},"url":{"description":"The chain's page on DefiLlama.","format":"uri","type":"string"}},"required":["name","date"],"title":"Blockchain TVL Rankings API","type":"object"},"samples":[{"name":"Ethereum","url":"https://defillama.com/chain/ethereum","rank":1,"date":"2026-12-06","tvl_usd":30541802377.31,"share_pct":54.3284,"token_symbol":"ETH","chain_id":1,"gecko_id":"ethereum","cmc_id":"1027"},{"name":"Solana","url":"https://defillama.com/chain/solana","rank":2,"date":"2026-12-06","tvl_usd":3985279602.37,"share_pct":7.0891,"token_symbol":"SOL","chain_id":null,"gecko_id":"solana","cmc_id":"5426"},{"name":"Tron","url":"https://defillama.com/chain/tron","rank":3,"date":"2026-12-06","tvl_usd":3630345896.2,"share_pct":6.4577,"token_symbol":"TRX","chain_id":null,"gecko_id":"tron","cmc_id":"1958"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"chain_id":0.33,"cmc_id":1,"date":1,"gecko_id":1,"name":1,"rank":1,"share_pct":1,"token_symbol":1,"tvl_usd":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_4105194c749e43b594eeb62f/run","openapi":"https://pullrow.dev/v1/apis/api_4105194c749e43b594eeb62f/openapi.json","contract":"https://pullrow.dev/v1/apis/api_4105194c749e43b594eeb62f/contract.json","page":"https://pullrow.dev/catalog/blockchain-tvl-rankings"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["TVL is DefiLlama's own measure of the value locked in the DeFi apps it tracks on each chain; other trackers count differently, so their totals differ.","The ranking holds today's values, which move during the day with token prices. History has one value per chain per day (UTC), newest first, and the latest days can still be revised.","chain_id is set only for EVM chains (a little over half of them); over a quarter of chains have no CoinGecko id and a third no CoinMarketCap id. About a third of the 420+ chains show zero TVL today and rank last.","History for every chain at once takes one request per chain (over 400) and a few minutes; name the chains or set days to keep it quick. The source's free tier is rate limited, and the API stops if it is asked to slow down.","Figures come from DefiLlama's free open data; DefiLlama appreciates credit (defillama.com) when you publish them."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"name","label":"Name","description":"Chain name as DefiLlama lists it, such as Ethereum or OP Mainnet.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The chain's page on DefiLlama.","group":"Links","shown":true,"written":false},{"name":"rank","label":"Rank","description":"Rank by today's TVL among all chains the source tracks (1 = most value locked).","group":"Basics","shown":true,"written":false},{"name":"date","label":"Date","description":"Day of the TVL value (UTC): today for the ranking, each day with history.","group":"Dates","shown":true,"written":false},{"name":"tvl_usd","label":"Tvl (USD)","description":"Total value locked in the chain's DeFi apps on that day, in US dollars.","group":"Basics","shown":true,"written":false},{"name":"share_pct","label":"Share (%)","description":"The chain's share of the TVL of all chains on that day, in percent.","group":"Basics","shown":true,"written":false},{"name":"token_symbol","label":"Token symbol","description":"Symbol of the chain's native token, such as ETH or SOL.","group":"Basics","shown":true,"written":false},{"name":"chain_id","label":"Chain ID","description":"EVM chain id, such as 1 for Ethereum or 8453 for Base; empty for chains that are not EVM.","group":"Technical","shown":false,"written":false},{"name":"gecko_id","label":"Gecko ID","description":"CoinGecko id of the chain's token, such as ethereum.","group":"Technical","shown":false,"written":false},{"name":"cmc_id","label":"Cmc ID","description":"CoinMarketCap id of the chain's token, such as 1027.","group":"Technical","shown":false,"written":false}],"inputs":[{"name":"chains","label":"Chains","help":"Chains to keep, by name as DefiLlama lists them, such as Ethereum, Solana, BSC or OP Mainnet. Leave empty for every chain.","example":"Ethereum, Solana","written":false},{"name":"history","label":"History","help":"Return each chain's daily TVL history (one record per chain per day, newest first) instead of today's ranking.","example":"false","written":false},{"name":"days","label":"Days","help":"With history: how many of the most recent days to return per chain. 0 returns the whole history, back to 2017 for the oldest chains.","example":"30","written":false}]}},"incidents":[]}