# AgentLlama AgentLlama tracks total value locked (TVL) across every DeFi chain and protocol. It is built to be used by AI agents as well as humans: every page has a JSON equivalent under /api/v1 with permissive CORS and no authentication. All amounts are in USD. History timestamps are unix seconds at daily resolution. Data refreshes about every 5 minutes from the public DeFi Llama API. ## Endpoints - https://agentllama.xyz/api/v1/overview Global TVL, 24h and 7d change, top 10 chains and protocols. - https://agentllama.xyz/api/v1/chains Every chain with tvlUsd, slug, chainId, tokenSymbol, protocolCount. - https://agentllama.xyz/api/v1/chains/{slug} One chain with full daily TVL history and its top 100 protocols. Example: https://agentllama.xyz/api/v1/chains/robinhood-chain - https://agentllama.xyz/api/v1/protocols?search=&chain=&limit= Protocol rankings. Optional filters: search (name or category substring), chain (exact chain name, case insensitive), limit (1 to 1000, default 100). - https://agentllama.xyz/api/v1/protocols/{slug} One protocol with description, links, per chain TVL breakdown, and history. Example: https://agentllama.xyz/api/v1/protocols/aave-v3 ## Conventions - Slugs are lowercase with words joined by a single separator character, for example "robinhood-chain" or "aave-v3". - Unknown slugs return HTTP 404 with a JSON error that tells you where to list valid slugs. - Rankings exclude CEX and Chain categories, matching DeFi Llama defaults. ## Human pages - https://agentllama.xyz/ protocol rankings and global TVL chart - https://agentllama.xyz/chains all chains - https://agentllama.xyz/chain/{slug} one chain - https://agentllama.xyz/protocol/{slug} one protocol - https://agentllama.xyz/agents API documentation for agent builders