Aave V4 icon

Aave V4

Query Aave V4 DeFi protocol. Use this to: check supported chains, list hubs/spokes/reserves, get user positions/balances/supplies/borrows by wallet address, view transaction history, get exchange rates and APY history. Supports custom GraphQL queries for advanced use cases.

Asset → Get Category Borrow History

AI-generated

Summary

Retrieve borrow history metrics for a selected token category within a specified window on a chosen chain.

Inputs

  • chainId — Chain identifier or name to query; can be specified via expression.
  • tokenCategory (required) — Category of the token, such as Stablecoin or ETH Correlated.
  • assetHistoryWindow — Time window for the historical data; options include ALL, LAST_DAY, LAST_WEEK, LAST_MONTH, LAST_YEAR, etc.

Output shape

Array of borrow history records

Each record contains block timestamp, borrowed amount, and related metrics; may be paginated for large datasets; responses include a standard error envelope on failure.

Examples

Example 1: Get borrow history for stablecoins on Ethereum over the last day

chainId: 1, tokenCategory: "STABLECOIN", assetHistoryWindow: "LAST_DAY"

Example 2: Fetch borrow history for ETH correlated assets on Polygon over the last week

chainId: 137, tokenCategory: "ETH_CORRELATED", assetHistoryWindow: "LAST_WEEK"

Links

Discussion