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 Price History
AI-generatedSummary
Fetch historical price data for a specified asset on a given chain.
Inputs
- chainId — Choose the blockchain network; can be selected from a dropdown or provided via expression.
- assetTokenAddress (required) — The ERC20 token address for the asset; required.
- assetAdvancedOptions — Options for asset handling; includes ability to use a cached Asset ID instead of a token address.
- assetHistoryWindow — Select the time window for historical data retrieval.
- assetPriceCurrency — Currency in which to present price data.
Output shape
an array of historical price records
Each record contains a timestamp and price; the array may be empty if no data matches the request.
Examples
Example 1: Retrieve last 6 months of USD price history for a token
chainId: 1, assetTokenAddress: "0x123abc...", assetHistoryWindow: "LAST_SIX_MONTHS", assetPriceCurrency: "USD"