# Aave TVL History (90-Day Weekly Trend) — DefiLlama

**Use case:** 

Aave's total value locked over the last 90 days, bucketed weekly with day-over-day, week-over-week and 30-day change: date, period, TVL. For analysts and due-diligence teams charting a protocol's TVL trend over time. Change slugs to any DefiLlama protocol, or switch aggregate to daily for a finer series.

## Input

```json
{
  "mode": "protocolHistory",
  "limit": 100,
  "fields": [],
  "chains": [],
  "categories": [],
  "excludeCategories": [
    "CEX",
    "Chain"
  ],
  "slugs": [
    "aave"
  ],
  "auditedOnly": false,
  "includeChainTvls": false,
  "chainDetails": true,
  "projects": [],
  "symbols": [],
  "stablecoinOnly": false,
  "singleExposureOnly": false,
  "noIlOnly": false,
  "excludeOutliers": true,
  "poolIds": [],
  "pegTypes": [],
  "pegMechanisms": [],
  "includeChainBreakdown": false,
  "feeMetric": "dailyFees",
  "volumeType": "dexs",
  "includeBreakdown": false,
  "days": 90,
  "aggregate": "weekly",
  "sortDir": "desc"
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "string"
  },
  "slug": {
    "label": "Protocol slug",
    "format": "string"
  },
  "chain": {
    "label": "Chain",
    "format": "string"
  },
  "pool": {
    "label": "Pool id",
    "format": "string"
  },
  "pegType": {
    "label": "Peg type",
    "format": "string"
  },
  "period": {
    "label": "Period",
    "format": "string"
  },
  "value": {
    "label": "Value",
    "format": "number"
  },
  "open": {
    "label": "Open",
    "format": "number"
  },
  "high": {
    "label": "High",
    "format": "number"
  },
  "low": {
    "label": "Low",
    "format": "number"
  },
  "change1d": {
    "label": "Change 1d (%)",
    "format": "number"
  },
  "change7d": {
    "label": "Change 7d (%)",
    "format": "number"
  },
  "change30d": {
    "label": "Change 30d (%)",
    "format": "number"
  },
  "changePct": {
    "label": "Change vs previous period (%)",
    "format": "number"
  },
  "apy": {
    "label": "APY (%)",
    "format": "number"
  },
  "apyBase": {
    "label": "Base APY (%)",
    "format": "number"
  },
  "apyReward": {
    "label": "Reward APY (%)",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [DefiLlama Scraper — Protocol TVL, Chains, Yields & Stablecoins](https://apify.com/yadroo/defillama-protocols.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/defillama-protocols.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yadroo/defillama-protocols.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
