{"uid":"cap_GbbPYsccqEDEGbroT4nvt","slug":"2s-io-chain-tvl-history-63a50c83","name":"2s.io Chain TVL History","description":"Historical total DeFi TVL time series for a blockchain (e.g. Ethereum, Solana, Arbitrum), via DefiLlama (free/keyless). Returns daily { date, tvlUsd } points (most recent N, default 90). For charting a chain's DeFi capital over time. Pair with crypto.defi-chains for the current cross-chain leaderboard.","url":"https://2s.io/api/crypto/chain-tvl-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":["chain"],"properties":{"chain":{"type":"string","maxLength":40,"minLength":1,"description":"Chain name, e.g. Ethereum, Solana, Arbitrum, Base."},"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_M9uDV1KgADsoy3d0CPy2F","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 historical daily time series of total DeFi TVL (in USD) for a specified blockchain, sourced from DefiLlama","exampleAgentPrompt":"Can you pull the last 180 days of daily DeFi TVL history for Ethereum so I can see how total value locked has trended over time?","exampleUseCases":null,"resultDescription":"An array of daily data points, each containing a date and the total DeFi TVL in USD for the specified blockchain, ordered chronologically — up to the most recent N days requested (default 90).","failureModes":["Invalid or unrecognized chain name returns an error or empty dataset","limit parameter outside 1–1000 range is rejected","Network or upstream DefiLlama outage may return 5xx error","Missing required 'chain' parameter returns a validation error","Payment failure (x402) if USDC not provided correctly"],"whenToPreferThis":"Use this endpoint when you need historical daily TVL data for a specific blockchain to power charts, trend analysis, or comparisons over time. Prefer this over a current cross-chain leaderboard endpoint (e.g. crypto.defi-chains) when the goal is longitudinal analysis rather than a snapshot. Ideal for visualizing DeFi capital growth or decline on chains like Ethereum, Solana, Arbitrum, Base, and others supported by DefiLlama.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:19:39.610Z","isFirstParty":false}