{"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},"version":"1.0","contract_hash":"21978a60673334f948285f004c77c3e19bcf086b927bd14bcb9814ebb078aa30","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.185Z","activated_at":"2026-12-06T03:33:09.185Z","active":true,"contract_hash":"21978a60673334f948285f004c77c3e19bcf086b927bd14bcb9814ebb078aa30","fields_count":10}]}