{"uid":"cap_EuPUHILRAa26xQ7dGBMZR","slug":"2s-io-defi-protocol-tvl-history-329c7ff6","name":"2s.io DeFi Protocol TVL History","description":"Historical total-value-locked (TVL) time series for a DeFi protocol by slug (e.g. aave, lido, uniswap), via DefiLlama (free/keyless). Returns daily { date, tvlUsd } points (most recent N, default 90) plus the protocol's chains. For charting a protocol's growth or decline over time. Net-new vs crypto.defi (current TVL only).","url":"https://2s.io/api/crypto/defi-protocol-history","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["slug"],"properties":{"slug":{"type":"string","maxLength":80,"minLength":1,"description":"DefiLlama protocol slug, e.g. aave, lido, uniswap."},"limit":{"type":"integer","maximum":1000,"minimum":1,"description":"Most-recent N daily points (default 90)."}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0036","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.0036/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kfb7WuNCmQfA7MlBnp0Ss","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a daily time series of total value locked (TVL in USD) for a named DeFi protocol, sourced from DefiLlama, with up to 1000 historical data points.","exampleAgentPrompt":"Can you pull the last 180 days of daily TVL history for the Lido protocol and chart how it's grown or declined over time?","exampleUseCases":null,"resultDescription":"An array of daily {date, tvlUsd} data points (up to the requested limit, default 90) for the specified DeFi protocol slug, plus the list of blockchain networks (chains) the protocol is deployed on. Data is sourced from DefiLlama and is free/keyless.","failureModes":["Invalid or unrecognized protocol slug returns empty or error response","Limit parameter out of range (< 1 or > 1000) causes validation error","Protocol has insufficient history for the requested limit — fewer points returned","DefiLlama upstream unavailable — service may return 503 or empty data","Misspelled slug (e.g. 'aave-v2' vs 'aave') returns no data"],"whenToPreferThis":"Use this endpoint when you need a historical time series of TVL (not just a current snapshot) for a specific DeFi protocol by its DefiLlama slug. Prefer this over crypto.defi (current TVL only) when you need trend analysis, charting, or growth/decline tracking over days, weeks, or months. It is free and keyless, making it ideal for lightweight agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:23.700Z","isFirstParty":false}