{"uid":"cap_Z7pep-iffQ4nN5opb4iQz","slug":"defi-protocol-tvl-history-via-defillama-764495b0","name":"DeFi Protocol TVL History (via DefiLlama)","description":"TVL history of a DeFi protocol (up to 5 years): series, 7/30/90/365-day change, all-time high and drawdown from it, and current TVL by chain. Live from DefiLlama.","url":"https://api.vextorium.com/protocolo-historico-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dias":{"type":"integer","description":"Days of series (7-1825, default 365)"},"nombre":{"type":"string","description":"Protocol, e.g. aave, lido, uniswap"}}},"responseSchema":{"type":"json","example":{"slug":"aave-v3","fecha":"2026-10-02","serie":[{"fecha":"2026-07-05","tvl_usd":12859246586},{"fecha":"2026-07-06","tvl_usd":12889768625}],"fuente":"DefiLlama","tvl_usd":18513893247,"protocolo":"Aave V3","cambio_pct":{"7d":1.23,"30d":8.59,"90d":45.35,"365d":-58.12},"por_cadena":{"Base":572676307,"xDai":60119328,"Linea":9580388,"Monad":321958922,"Sonic":6093686,"Mantle":57317958,"Plasma":438261046,"Binance":215561732,"MegaETH":12238169,"Polygon":149483827,"X Layer":117094427,"Arbitrum":537483919,"Ethereum":15600173708,"Optimism":55519034,"Avalanche":353527979},"maximo_historico":{"fecha":"2025-10-07","tvl_usd":45443859638,"caida_desde_maximo_pct":-59.26}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-CJKtsiG1XpwOcaGgIis3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns up to 5 years of daily TVL history for a named DeFi protocol, including percentage changes, all-time high, drawdown, and current TVL broken down by chain.","exampleAgentPrompt":"Pull the last 90 days of TVL history for Lido, including the 7, 30, 90, and 365-day percentage changes, the all-time high and how far it's dropped from there, and the current TVL split across chains.","exampleUseCases":[{"title":"DeFi protocol due diligence before investing","prompt":"I'm researching Aave before allocating capital — can you get me the last 365 days of TVL history, all percentage changes, the all-time high, and how much it's drawn down from the peak, plus the chain breakdown?"},{"title":"Monitoring Uniswap TVL trend for a weekly report","prompt":"For my weekly DeFi report, pull the last 30 days of daily TVL data for Uniswap, including the 7-day and 30-day percentage changes and a breakdown by chain."},{"title":"Tracking protocol recovery from a market crash","prompt":"I want to see how Curve has recovered — get me 180 days of TVL history, its all-time high, the current drawdown percentage, and which chains are driving most of its TVL right now."}],"resultDescription":"Returns a JSON object with: the protocol slug and display name, today's date, a daily TVL series (array of date + TVL in USD), percentage changes at 7, 30, 90, and 365-day intervals, current total TVL in USD, TVL distributed across named chains (Ethereum, Arbitrum, Base, Polygon, Optimism, etc.), and the all-time high record (date, TVL, and percentage drop from it). Data is sourced live from DefiLlama.","failureModes":["Unknown protocol slug returns an error or null data","Days parameter outside 7–1825 range may return validation error","Protocol with no TVL history on DefiLlama returns empty series","Network or DefiLlama upstream timeout causes delayed or failed response","Payment failure (insufficient USDC balance) blocks the request"],"whenToPreferThis":"Choose this endpoint when you need structured historical TVL data — including trend analysis, ATH/drawdown metrics, and per-chain breakdown — for any DeFi protocol tracked by DefiLlama. It is ideal for research, reporting, and monitoring workflows. Prefer it over direct DefiLlama API calls when you need a single, normalized, payment-gated response that already computes change percentages and ATH drawdown for you.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:02.762Z","isFirstParty":false,"canonicalSlug":"defi-protocol-tvl-history-via-defillama-764495b0"}