Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Asset → Get Category Borrow History
AI-generatedSummary
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"