{"uid":"cap_zQRepXEcppKfcWMrse7lG","slug":"defillama-yield-pool-history-d59ba90a","name":"DefiLlama Yield Pool History","description":"Yield pool history by DefiLlama — historical APY and TVL for one pool by pool id.","url":"https://defillama.use.x402atlas.com/yields-chart","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["pool"],"properties":{"pool":{"type":"string","pattern":"^[^/?#]+$","maxLength":100,"minLength":1,"description":"DefiLlama pool id (uuid, from the /yields list)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","data"],"properties":{"data":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"apy":{"type":"number"},"tvlUsd":{"type":"number"},"timestamp":{"type":"string","format":"date-time"}}}},"status":{"type":"string"}}},"queried_at":{"type":"string","format":"date-time","description":"Time the upstream was queried"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"data":[{"apy":4.21,"tvlUsd":123000000,"timestamp":"2026-06-30T00:00:00Z"}],"status":"success"},"queried_at":"2026-07-01T12:00:00Z"}},"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_2hNr0D5Vud9fkuy0muX3M","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 historical APY and TVL time series for a specific DeFi yield pool identified by its DefiLlama pool UUID.","exampleAgentPrompt":"Pull the historical APY and TVL chart for DefiLlama pool id 747c1d2a-c668-4682-b9f9-673d42f3836a so I can see how the yield has trended over time.","exampleUseCases":null,"resultDescription":"A time series of APY and TVL data points for the specified pool, showing how yield and total value locked have changed historically — essentially a chart-ready dataset indexed by timestamp.","failureModes":["Invalid or unknown pool UUID returns an error or empty response","Pool id not provided returns a 400-level validation error","Upstream DefiLlama data unavailable causes a timeout or 5xx error","Malformed UUID format may cause a parsing error"],"whenToPreferThis":"Use this endpoint when you need the full historical APY and TVL trajectory for a single, specific DeFi yield pool and you already have its DefiLlama pool UUID. It is ideal for charting yield trends, auditing past performance, or comparing a pool's historical returns. For current yield listings or discovering pool UUIDs, use the /yields list endpoint first.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:40:50.900Z","isFirstParty":false}