# vaults.fyi Historical Asset Prices

> vaults.fyi Historical Asset Prices is a paid API for AI agents from api.vaults.fyi, paid per call via x402, $0.102/call, status unknown (last checked 2026-11-30).

Retrieves time-series historical USD price data for a specific on-chain asset at a given network address.

## Facts

- Endpoint: GET https://api.vaults.fyi/v2/historical/asset-prices/:network/:assetAddress?utm_source=zero.xyz
- Price: $0.102/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vaults-fyi-historical-asset-prices-fa187d31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oKquQxYckRjBMINqiN9_i

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vaults-fyi-historical-asset-prices-fa187d31
```

Example prompt: Can you pull up the historical USD prices for WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) on the Ethereum network from vaults.fyi?

## When to prefer this

Use this endpoint when you need on-chain asset price history tied to a specific contract address and network, particularly for DeFi-native assets tracked by vaults.fyi. Prefer this over generic price APIs when you are already working within the vaults.fyi ecosystem for vault analysis, yield comparison, or position tracking, as it ensures price data is consistent with the same data pipeline used for APY and TVL metrics.

## Known failure modes

- Invalid or unsupported network identifier returns a 404 or error response
- Incorrect or non-existent asset contract address returns empty data or error
- Asset not tracked by vaults.fyi returns no price history
- Rate limiting or payment failure (x402) if USDC payment is not provided
- Network connectivity issues causing timeouts

## How this service works

Retrieves historical USD prices for a specific asset on a given network.

## Output

Returns a time-series of historical USD prices for the specified asset on the given network, including timestamps and corresponding price values, enabling trend analysis and historical reference.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vaults-fyi-historical-asset-prices-fa187d31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vaults.fyi](https://www.zero.xyz/host/api.vaults.fyi/llms.txt)
