# Alchemy Prices API — Historical Token Prices

> Alchemy Prices API — Historical Token Prices is a paid API for AI agents from x402.alchemy.com, paid per call via x402, $0.001000/call, status unknown (last checked 2026-10-11).

Returns historical token prices over a specified time range for one or more tokens.

## Facts

- Endpoint: POST https://x402.alchemy.com/prices/v1/tokens/historical?utm_source=zero.xyz
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alchemy-ca74b8dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ny58gDlFjieggaZZK84p8

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 alchemy-ca74b8dc -d '<json body>'
```

Example prompt: Can you pull the historical price data for ETH from January 1 to March 31 2024 using Alchemy's Prices API?

## When to prefer this

Use this endpoint when you need historical price data for a token over a time range — e.g. for charting, backtesting, portfolio valuation, or trend analysis. Prefer this over the current-price endpoints when you need past prices rather than live quotes. Prefer over generic market data APIs when already operating in an Alchemy/x402 blockchain workflow.

## Known failure modes

- Invalid or unsupported token symbol/address returns an error or empty result
- Date range too large or out of supported historical window returns an error
- Missing required time range parameters causes a 400 bad request
- Payment failure via x402 protocol returns a 402 Payment Required response
- Unsupported chain for the given token returns an error

## How this service works

Prices API — historical token prices over a time range.

## Output

A time-series array of historical price data points for the requested token(s), including timestamps and price values across the specified date range, sourced from Alchemy's Prices API.

## Example request

```json
{
 "symbol": "ETH",
 "endTime": 1711929600,
 "startTime": 1704067200
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alchemy-ca74b8dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.alchemy.com](https://www.zero.xyz/host/x402.alchemy.com/llms.txt)
