# DefiLlama — Get historical TVL of a protocol and breakdowns by token and chain

Get DefiLlama Protocol Historical TVL data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, configure supported query parameters and filters, and retrieve structured data including defiLlama protocol identifier, protocol display name, protocol summary description, mcap, and current chain tvls to analyze multi-chain expansion, separate borrowed vs supplied tvl, and build protocol research pages.

Documentation: https://openany.si/defillama/defillama-get-historical-tvl-of-a-protocol-and-breakdowns-by-token-and-chain/9fa1daa8-485c-4d4f-a20e-2a773c983ebc/
API ID: 9fa1daa8-485c-4d4f-a20e-2a773c983ebc
Provider: defillama
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/defillama/protocol/{protocol}
Page update time: 2026-12-03T02:39:15.424Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:39:12.770Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## DefiLlama Protocol Historical TVL API

Pass a protocol slug such as `aave` in the `protocol` path parameter. The response includes protocol metadata (`name`, `symbol`, `mcap`, `description`), `currentChainTvls` and historical `chainTvls` time series.

## What You Can Build

- **Analyze multi-chain expansion**: Compare historical TVL trajectories across Arbitrum, Base, Avalanche and Ethereum for one protocol.
- **Separate borrowed vs supplied TVL**: Inspect chainTvls entries suffixed with -borrowed alongside core chain liquidity.
- **Build protocol research pages**: Display protocol description, mcap, github links and historical TVL charts from one call.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | DefiLlama protocol identifier |
| `name` | Protocol display name |
| `symbol` | Protocol governance or native token symbol |
| `description` | Protocol summary description |
| `mcap` | Reported protocol token market capitalization |
| `currentChainTvls` | Map of current USD TVL keyed by chain and category (e.g. borrowed) |
| `chainTvls` | Map of historical TVL series keyed by chain and category |
| `chainTvls.<chain>.tvl[].date` | UNIX timestamp of a per-chain TVL snapshot |
| `chainTvls.<chain>.tvl[].totalLiquidityUSD` | Historical USD liquidity on that chain at the snapshot |
| `tvl` | Protocol-wide historical TVL array |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DefiLlama — Get historical TVL of a protocol and breakdowns by token and chain request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "protocol": {
          "type": "string",
          "description": "protocol slug"
        }
      },
      "required": [
        "protocol"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string"
    },
    "chainTvls": {
      "type": "object",
      "properties": {
        "Aptos": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Aptos-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Arbitrum": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Arbitrum-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Arc": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Arc-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Avalanche": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Avalanche-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "BSC": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "BSC-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Base": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Base-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Celo": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Celo-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Ethereum": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Ethereum-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Ethereum-pool2": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Ethereum-staking": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Fantom": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Fantom-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Gnosis": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Gnosis-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Linea": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Linea-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Mantle": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Mantle-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "MegaETH": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "MegaETH-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Metis": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Metis-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Monad": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Monad-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "OP Mainnet": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "OP Mainnet-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Plasma": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Plasma-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Polygon": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Polygon-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Scroll": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Scroll-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Soneium": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Soneium-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Sonic": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "Sonic-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "X Layer": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "X Layer-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "ZKsync Era": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "ZKsync Era-borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "borrowed": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "pool2": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "staking": {
          "type": "object",
          "properties": {
            "tokens": {
              "type": "null"
            },
            "tokensInUsd": {
              "type": "null"
            },
            "tvl": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "integer"
                  },
                  "totalLiquidityUSD": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        }
      }
    },
    "chains": {
      "type": "array",
      "items": {}
    },
    "cmcId": {
      "type": "string"
    },
    "currentChainTvls": {
      "type": "object",
      "properties": {
        "Aptos": {
          "type": "integer"
        },
        "Aptos-borrowed": {
          "type": "integer"
        },
        "Arbitrum": {
          "type": "integer"
        },
        "Arbitrum-borrowed": {
          "type": "integer"
        },
        "Arc": {
          "type": "integer"
        },
        "Arc-borrowed": {
          "type": "integer"
        },
        "Avalanche": {
          "type": "integer"
        },
        "Avalanche-borrowed": {
          "type": "integer"
        },
        "BSC": {
          "type": "integer"
        },
        "BSC-borrowed": {
          "type": "integer"
        },
        "Base": {
          "type": "integer"
        },
        "Base-borrowed": {
          "type": "integer"
        },
        "Celo": {
          "type": "integer"
        },
        "Celo-borrowed": {
          "type": "integer"
        },
        "Ethereum": {
          "type": "integer"
        },
        "Ethereum-borrowed": {
          "type": "integer"
        },
        "Ethereum-pool2": {
          "type": "integer"
        },
        "Ethereum-staking": {
          "type": "integer"
        },
        "Fantom": {
          "type": "integer"
        },
        "Fantom-borrowed": {
          "type": "integer"
        },
        "Gnosis": {
          "type": "integer"
        },
        "Gnosis-borrowed": {
          "type": "integer"
        },
        "Linea": {
          "type": "integer"
        },
        "Linea-borrowed": {
          "type": "integer"
        },
        "Mantle": {
          "type": "integer"
        },
        "Mantle-borrowed": {
          "type": "integer"
        },
        "MegaETH": {
          "type": "integer"
        },
        "MegaETH-borrowed": {
          "type": "integer"
        },
        "Metis": {
          "type": "integer"
        },
        "Metis-borrowed": {
          "type": "integer"
        },
        "Monad": {
          "type": "integer"
        },
        "Monad-borrowed": {
          "type": "integer"
        },
        "OP Mainnet": {
          "type": "integer"
        },
        "OP Mainnet-borrowed": {
          "type": "integer"
        },
        "Plasma": {
          "type": "integer"
        },
        "Plasma-borrowed": {
          "type": "integer"
        },
        "Polygon": {
          "type": "integer"
        },
        "Polygon-borrowed": {
          "type": "integer"
        },
        "Scroll": {
          "type": "integer"
        },
        "Scroll-borrowed": {
          "type": "integer"
        },
        "Soneium": {
          "type": "integer"
        },
        "Soneium-borrowed": {
          "type": "integer"
        },
        "Sonic": {
          "type": "integer"
        },
        "Sonic-borrowed": {
          "type": "integer"
        },
        "X Layer": {
          "type": "integer"
        },
        "X Layer-borrowed": {
          "type": "integer"
        },
        "ZKsync Era": {
          "type": "integer"
        },
        "ZKsync Era-borrowed": {
          "type": "integer"
        },
        "borrowed": {
          "type": "integer"
        },
        "pool2": {
          "type": "integer"
        },
        "staking": {
          "type": "integer"
        }
      }
    },
    "description": {
      "type": "string"
    },
    "gecko_id": {
      "type": "string"
    },
    "github": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "governanceID": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hacks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "bridgeHack": {
            "type": "boolean"
          },
          "chain": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "classification": {
            "type": "string"
          },
          "date": {
            "type": "integer"
          },
          "defillamaId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "parentProtocolId": {
            "type": "string"
          },
          "returnedFunds": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "targetType": {
            "type": "string"
          },
          "technique": {
            "type": "string"
          }
        }
      }
    },
    "hallmarks": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "string"
            }
          ]
        }
      }
    },
    "id": {
      "type": "string"
    },
    "isParentProtocol": {
      "type": "boolean"
    },
    "logo": {
      "type": "string"
    },
    "mcap": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "otherProtocols": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "raises": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "integer"
          },
          "category": {
            "type": "string"
          },
          "categoryGroup": {
            "type": "string"
          },
          "chains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "date": {
            "type": "integer"
          },
          "defillamaId": {
            "type": "string"
          },
          "leadInvestors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "name": {
            "type": "string"
          },
          "otherInvestors": {
            "type": "array",
            "items": {}
          },
          "round": {
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "valuation": {
            "type": "null"
          }
        }
      }
    },
    "stablecoins": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "symbol": {
      "type": "string"
    },
    "tokens": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "integer"
          },
          "tokens": {
            "type": "object",
            "properties": {
              "BAT": {
                "type": "number"
              },
              "BUSD": {
                "type": "number"
              },
              "DAI": {
                "type": "number"
              },
              "KNCL": {
                "type": "number"
              },
              "LEND": {
                "type": "number"
              },
              "LINK": {
                "type": "number"
              },
              "MANA": {
                "type": "number"
              },
              "MKR": {
                "type": "number"
              },
              "SNX": {
                "type": "number"
              },
              "SUSD": {
                "type": "number"
              },
              "TUSD": {
                "type": "number"
              },
              "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": {
                "type": "integer"
              },
              "USDC": {
                "type": "number"
              },
              "USDT": {
                "type": "number"
              },
              "WBTC": {
                "type": "number"
              },
              "WETH": {
                "type": "number"
              },
              "ZRX": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "tokensInUsd": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "integer"
          },
          "tokens": {
            "type": "object",
            "properties": {
              "BAT": {
                "type": "number"
              },
              "BUSD": {
                "type": "number"
              },
              "DAI": {
                "type": "number"
              },
              "KNCL": {
                "type": "number"
              },
              "LEND": {
                "type": "number"
              },
              "LINK": {
                "type": "number"
              },
              "MANA": {
                "type": "number"
              },
              "MKR": {
                "type": "number"
              },
              "SNX": {
                "type": "number"
              },
              "SUSD": {
                "type": "number"
              },
              "TUSD": {
                "type": "number"
              },
              "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": {
                "type": "integer"
              },
              "USDC": {
                "type": "number"
              },
              "USDT": {
                "type": "number"
              },
              "WBTC": {
                "type": "number"
              },
              "WETH": {
                "type": "number"
              },
              "ZRX": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "treasury": {
      "type": "string"
    },
    "tvl": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "integer"
          },
          "totalLiquidityUSD": {
            "type": "integer"
          }
        }
      }
    },
    "twitter": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "wrongLiquidity": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Recorded upstream (abridged; 2026-11-18)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/defillama/protocol/aave' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
  "chainTvls": {
    "Aptos": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1755820800,
          "totalLiquidityUSD": 571891
        },
        {
          "date": 1755907200,
          "totalLiquidityUSD": 582546
        }
      ]
    },
    "Aptos-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1755820800,
          "totalLiquidityUSD": 208757
        },
        {
          "date": 1755907200,
          "totalLiquidityUSD": 209007
        }
      ]
    },
    "Arbitrum": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Arbitrum-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Arc": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1789603200,
          "totalLiquidityUSD": 77312253
        },
        {
          "date": 1789689600,
          "totalLiquidityUSD": 126518592
        }
      ]
    },
    "Arc-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1789603200,
          "totalLiquidityUSD": 55
        },
        {
          "date": 1789689600,
          "totalLiquidityUSD": 100584
        }
      ]
    },
    "Avalanche": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1632182400,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1632268800,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Avalanche-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1632182400,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1632268800,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "BSC": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1707868800,
          "totalLiquidityUSD": 6557959
        },
        {
          "date": 1707955200,
          "totalLiquidityUSD": 7333347
        }
      ]
    },
    "BSC-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1707868800,
          "totalLiquidityUSD": 3767711
        },
        {
          "date": 1707955200,
          "totalLiquidityUSD": 4022296
        }
      ]
    },
    "Base": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1692748800,
          "totalLiquidityUSD": 13595
        },
        {
          "date": 1692835200,
          "totalLiquidityUSD": 45994
        }
      ]
    },
    "Base-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1692748800,
          "totalLiquidityUSD": 3262
        },
        {
          "date": 1692835200,
          "totalLiquidityUSD": 27893
        }
      ]
    },
    "Celo": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1744243200,
          "totalLiquidityUSD": 5346069
        },
        {
          "date": 1744329600,
          "totalLiquidityUSD": 5299851
        }
      ]
    },
    "Celo-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1744243200,
          "totalLiquidityUSD": 224520
        },
        {
          "date": 1744329600,
          "totalLiquidityUSD": 225551
        }
      ]
    },
    "Ethereum": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1589932800,
          "totalLiquidityUSD": 54026260
        },
        {
          "date": 1590019200,
          "totalLiquidityUSD": 57638725
        }
      ]
    },
    "Ethereum-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1589932800,
          "totalLiquidityUSD": 12345606
        },
        {
          "date": 1590019200,
          "totalLiquidityUSD": 12298508
        }
      ]
    },
    "Ethereum-pool2": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1606953600,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1607040000,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Ethereum-staking": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1606953600,
          "totalLiquidityUSD": 244094753
        },
        {
          "date": 1607040000,
          "totalLiquidityUSD": 243189473
        }
      ]
    },
    "Fantom": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Fantom-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Gnosis": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1699401600,
          "totalLiquidityUSD": 13521986
        },
        {
          "date": 1699488000,
          "totalLiquidityUSD": 13282273
        }
      ]
    },
    "Gnosis-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1699401600,
          "totalLiquidityUSD": 904752
        },
        {
          "date": 1699488000,
          "totalLiquidityUSD": 1838930
        }
      ]
    },
    "Linea": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1739404800,
          "totalLiquidityUSD": 1639513
        },
        {
          "date": 1739491200,
          "totalLiquidityUSD": 2704979
        }
      ]
    },
    "Linea-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1739404800,
          "totalLiquidityUSD": 728026
        },
        {
          "date": 1739491200,
          "totalLiquidityUSD": 902667
        }
      ]
    },
    "Mantle": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1771459200,
          "totalLiquidityUSD": 156456424
        },
        {
          "date": 1771545600,
          "totalLiquidityUSD": 166163178
        }
      ]
    },
    "Mantle-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1771459200,
          "totalLiquidityUSD": 78485950
        },
        {
          "date": 1771545600,
          "totalLiquidityUSD": 126188314
        }
      ]
    },
    "MegaETH": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1770768000,
          "totalLiquidityUSD": 137292
        },
        {
          "date": 1770854400,
          "totalLiquidityUSD": 211687
        }
      ]
    },
    "MegaETH-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1770768000,
          "totalLiquidityUSD": 2999
        },
        {
          "date": 1770854400,
          "totalLiquidityUSD": 3001
        }
      ]
    },
    "Metis": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1683590400,
          "totalLiquidityUSD": 519439
        },
        {
          "date": 1683676800,
          "totalLiquidityUSD": 516119
        }
      ]
    },
    "Metis-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1683590400,
          "totalLiquidityUSD": 74346
        },
        {
          "date": 1683676800,
          "totalLiquidityUSD": 75475
        }
      ]
    },
    "Monad": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1783036800,
          "totalLiquidityUSD": 37482317
        },
        {
          "date": 1783123200,
          "totalLiquidityUSD": 54276357
        }
      ]
    },
    "Monad-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1783036800,
          "totalLiquidityUSD": 14101644
        },
        {
          "date": 1783123200,
          "totalLiquidityUSD": 36982720
        }
      ]
    },
    "OP Mainnet": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "OP Mainnet-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1647216000,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1647302400,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "Plasma": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1758844800,
          "totalLiquidityUSD": 1898853398
        },
        {
          "date": 1758931200,
          "totalLiquidityUSD": 2820564197
        }
      ]
    },
    "Plasma-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1758844800,
          "totalLiquidityUSD": 1171389826
        },
        {
          "date": 1758931200,
          "totalLiquidityUSD": 1829095325
        }
      ]
    },
    "Polygon": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1617235200,
          "totalLiquidityUSD": 778520
        },
        {
          "date": 1617321600,
          "totalLiquidityUSD": 1386996
        }
      ]
    },
    "Polygon-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1617235200,
          "totalLiquidityUSD": 90847
        },
        {
          "date": 1617321600,
          "totalLiquidityUSD": 265749
        }
      ]
    },
    "Scroll": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1707868800,
          "totalLiquidityUSD": 1681053
        },
        {
          "date": 1707955200,
          "totalLiquidityUSD": 1851392
        }
      ]
    },
    "Scroll-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1707868800,
          "totalLiquidityUSD": 150770
        },
        {
          "date": 1707955200,
          "totalLiquidityUSD": 233802
        }
      ]
    },
    "Soneium": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1749168000,
          "totalLiquidityUSD": 1401655
        },
        {
          "date": 1749254400,
          "totalLiquidityUSD": 1410276
        }
      ]
    },
    "Soneium-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1749168000,
          "totalLiquidityUSD": 26
        },
        {
          "date": 1749254400,
          "totalLiquidityUSD": 26
        }
      ]
    },
    "Sonic": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1741132800,
          "totalLiquidityUSD": 40250410
        },
        {
          "date": 1741219200,
          "totalLiquidityUSD": 43958698
        }
      ]
    },
    "Sonic-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1741132800,
          "totalLiquidityUSD": 7170854
        },
        {
          "date": 1741219200,
          "totalLiquidityUSD": 15189673
        }
      ]
    },
    "X Layer": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1774915200,
          "totalLiquidityUSD": 53409
        },
        {
          "date": 1775001600,
          "totalLiquidityUSD": 91558
        }
      ]
    },
    "X Layer-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1774915200,
          "totalLiquidityUSD": 72
        },
        {
          "date": 1775001600,
          "totalLiquidityUSD": 283
        }
      ]
    },
    "ZKsync Era": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1727222400,
          "totalLiquidityUSD": 2546458
        },
        {
          "date": 1727308800,
          "totalLiquidityUSD": 2574440
        }
      ]
    },
    "ZKsync Era-borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1727222400,
          "totalLiquidityUSD": 182391
        },
        {
          "date": 1727308800,
          "totalLiquidityUSD": 286599
        }
      ]
    },
    "borrowed": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1589932800,
          "totalLiquidityUSD": 12345606
        },
        {
          "date": 1590019200,
          "totalLiquidityUSD": 12298508
        }
      ]
    },
    "pool2": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1606953600,
          "totalLiquidityUSD": 0
        },
        {
          "date": 1607040000,
          "totalLiquidityUSD": 0
        }
      ]
    },
    "staking": {
      "tokens": null,
      "tokensInUsd": null,
      "tvl": [
        {
          "date": 1606953600,
          "totalLiquidityUSD": 244094753
        },
        {
          "date": 1607040000,
          "totalLiquidityUSD": 243189473
        }
      ]
    }
  },
  "chains": [],
  "cmcId": "7278",
  "currentChainTvls": {
    "Aptos": 204864,
    "Aptos-borrowed": 18462,
    "Arbitrum": 439461214,
    "Arbitrum-borrowed": 312961419,
    "Arc": 182319411,
    "Arc-borrowed": 94134942,
    "Avalanche": 366801223,
    "Avalanche-borrowed": 226839964,
    "BSC": 167408211,
    "BSC-borrowed": 73409544,
    "Base": 465837869,
    "Base-borrowed": 333158153,
    "Celo": 2442949,
    "Celo-borrowed": 595218,
    "Ethereum": 12373017294,
    "Ethereum-borrowed": 9084308202,
    "Ethereum-pool2": 428513,
    "Ethereum-staking": 272249897,
    "Fantom": 2757,
    "Fantom-borrowed": 930,
    "Gnosis": 40101711,
    "Gnosis-borrowed": 13897562,
    "Linea": 6009999,
    "Linea-borrowed": 4468609,
    "Mantle": 45132113,
    "Mantle-borrowed": 33964623,
    "MegaETH": 4736270,
    "MegaETH-borrowed": 1632203,
    "Metis": 234726,
    "Metis-borrowed": 23860,
    "Monad": 247307515,
    "Monad-borrowed": 189400235,
    "OP Mainnet": 36747056,
    "OP Mainnet-borrowed": 25165832,
    "Plasma": 345221523,
    "Plasma-borrowed": 569311450,
    "Polygon": 123020243,
    "Polygon-borrowed": 56433906,
    "Scroll": 1265232,
    "Scroll-borrowed": 234827,
    "Soneium": 67322,
    "Soneium-borrowed": 23319,
    "Sonic": 3718883,
    "Sonic-borrowed": 1484173,
    "X Layer": 148425270,
    "X Layer-borrowed": 93760408,
    "ZKsync Era": 505161,
    "ZKsync Era-borrowed": 132840,
    "borrowed": 11115360689,
    "pool2": 428513,
    "staking": 272249897
  },
  "description": "Aave is an Open Source and Non-Custodial protocol to earn interest on deposits and borrow assets",
  "gecko_id": "aave",
  "github": [
    "aave",
    "aave-dao"
  ],
  "governanceID": [
    "snapshot:aave.eth",
    "eip155:1:0xEC568fffba86c094cf06b22134B23074DFE2252c"
  ],
  "hacks": [
    {
      "amount": 862000,
      "bridgeHack": false,
      "chain": [
        "Ethereum"
      ],
      "classification": "Oracle Manipulation",
      "date": 1773273600,
      "defillamaId": "1599",
      "description": "Aave V3 oracle misconfiguration on March 10-12, 2026 caused ~$862K in losses. Chaos Labs' CAPO system reported wstETH at 1.1939 instead of 1.228, triggering liquidations of 34 otherwise-healthy E-Mode positions due to inconsistent snapshot configuration.",
      "language": "Solidity",
      "name": "Aave V3",
      "parentProtocolId": "parent#aave",
      "returnedFunds": 862000,
      "source": "",
      "targetType": "DeFi Protocol",
      "technique": "Oracle Misconfiguration"
    }
  ],
  "hallmarks": [
    [
      1619395200,
      "Start Ethereum V2 Rewards"
    ],
    [
      1633305600,
      "Start AVAX V2 Rewards"
    ]
  ],
  "id": "parent#aave",
  "isParentProtocol": true,
  "logo": "https://icons.llamao.fi/icons/protocols/aave",
  "mcap": 1708854624.3378103,
  "name": "Aave",
  "otherProtocols": [
    "Aave",
    "Aave V3"
  ],
  "raises": [
    {
      "amount": 3,
      "category": "DeFi",
      "categoryGroup": "DeFi & CeFi",
      "chains": [
        "Ethereum",
        "Polygon"
      ],
      "date": 1594771200,
      "defillamaId": "111",
      "leadInvestors": [
        "Framework Ventures",
        "3AC"
      ],
      "name": "Aave",
      "otherInvestors": [],
      "round": "Private token sale",
      "sector": "Aave is an open source non-custodial protocol on Ethereum for decentralized lending and borrowing.",
      "source": "",
      "valuation": null
    },
    {
      "amount": 25,
      "category": "DeFi",
      "categoryGroup": "DeFi & CeFi",
      "chains": [
        "Ethereum",
        "Polygon"
      ],
      "date": 1602460800,
      "defillamaId": "111",
      "leadInvestors": [
        "Blockchain Capital",
        "Blockchain.com Ventures"
      ],
      "name": "Aave",
      "otherInvestors": [],
      "round": "Strategic",
      "sector": "Aave is an open source non-custodial protocol on Ethereum for decentralized lending and borrowing.",
      "source": "",
      "valuation": null
    }
  ],
  "stablecoins": [
    "gho"
  ],
  "symbol": "AAVE",
  "tokens": [
    {
      "date": 1589932800,
      "tokens": {
        "BAT": 1792178.22175,
        "BUSD": 45902.47036,
        "DAI": 1913939.12256,
        "KNCL": 2853268.86176,
        "LEND": 263912681.33932,
        "LINK": 5743118.64061,
        "MANA": 2361387.30781,
        "MKR": 810.66287,
        "SNX": 122478.3059,
        "SUSD": 54066.49116,
        "TUSD": 170182.03868,
        "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
        "USDC": 2050328.58009,
        "USDT": 2918703.28861,
        "WBTC": 94.27992,
        "WETH": 27995.69606,
        "ZRX": 635513.63715
      }
    },
    {
      "date": 1590019200,
      "tokens": {
        "BAT": 1791584.32533,
        "BUSD": 45891.21606,
        "DAI": 1838175.94959,
        "KNCL": 2856877.51038,
        "LEND": 264911161.07269,
        "LINK": 5743218.86928,
        "MANA": 3260688.94223,
        "MKR": 814.48361,
        "SNX": 194169.71582,
        "SUSD": 57631.94457,
        "TUSD": 152442.4912,
        "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
        "USDC": 2639634.09834,
        "USDT": 2918104.39134,
        "WBTC": 92.7539,
        "WETH": 27876.93571,
        "ZRX": 596450.36434
      }
    }
  ],
  "tokensInUsd": [
    {
      "date": 1589932800,
      "tokens": {
        "BAT": 368714.69822,
        "BUSD": 46032.09949,
        "DAI": 1919430.83155,
        "KNCL": 1822600.42115,
        "LEND": 14987355.50652,
        "LINK": 22146066.508,
        "MANA": 88072.39169,
        "MKR": 266705.02232,
        "SNX": 103070.92941,
        "SUSD": 54095.62096,
        "TUSD": 169720.1993,
        "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
        "USDC": 2045465.91864,
        "USDT": 2920443.78219,
        "WBTC": 913613.5134,
        "WETH": 5944444.67404,
        "ZRX": 230428.25632
      }
    },
    {
      "date": 1590019200,
      "tokens": {
        "BAT": 372918.78236,
        "BUSD": 45887.14498,
        "DAI": 1843465.86141,
        "KNCL": 1847443.66997,
        "LEND": 16848426.28384,
        "LINK": 23296167.27079,
        "MANA": 124201.00809,
        "MKR": 264447.49053,
        "SNX": 162345.88416,
        "SUSD": 57459.3695,
        "TUSD": 152307.82199,
        "UNKNOWN (0x1985365e9f78359a9B6AD760e32412f4a445E862)": 0,
        "USDC": 2638075.27992,
        "USDT": 2916023.11185,
        "WBTC": 913308.45247,
        "WETH": 5934209.87952,
        "ZRX": 222038.54353
      }
    }
  ],
  "treasury": "aave.js",
  "tvl": [
    {
      "date": 1589932800,
      "totalLiquidityUSD": 54026260
    },
    {
      "date": 1590019200,
      "totalLiquidityUSD": 57638725
    }
  ],
  "twitter": "aave",
  "url": "https://aave.com",
  "wrongLiquidity": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Where do I find valid protocol slugs?
List protocols with the DefiLlama All Protocols TVL API and use the protocol slug (for example, aave).

### Why do chainTvls keys include suffixes like -borrowed?
DefiLlama separates borrowed, staking or pool2 categories into distinct keys alongside base chain names.

### What if I only need the latest numeric TVL without full history?
Use the DefiLlama Protocol Current TVL API, which returns a single numeric USD TVL value.

### Does this endpoint include protocol token market cap?
Yes. The top-level mcap field is included in the recorded upstream response alongside TVL data.

### Are token-level breakdowns always populated for every chain?
No. Fields such as chainTvls.<chain>.tokens and tokensInUsd can be null for certain chains or snapshots.

### How do I check a protocol’s fees or DEX volume instead?
Use the DefiLlama Protocol Fees Summary API or DEX Protocol Volume API with the same protocol slug.

## Available implementations
- defillama: https://openany.si/defillama/defillama-get-historical-tvl-of-a-protocol-and-breakdowns-by-token-and-chain/9fa1daa8-485c-4d4f-a20e-2a773c983ebc/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
