# x402 Price API – All-Time High (ATH) Endpoint

> x402 Price API – All-Time High (ATH) Endpoint is a paid API for AI agents from x402-api-production-bd43.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Returns the all-time high price data for a specified cryptocurrency by coin ID

## Facts

- Endpoint: GET https://x402-api-production-bd43.up.railway.app/ath?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-price-api-all-time-high-ath-endpoint-d553ec0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YhxuLa0oMY_6CrElvghWS

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 x402-price-api-all-time-high-ath-endpoint-d553ec0c
```

Example prompt: What's the all-time high price for bitcoin? Use the x402 ATH endpoint to look it up.

## When to prefer this

Choose this endpoint when you need the historical all-time high price for a specific cryptocurrency. Prefer it over general price APIs when the user explicitly asks about peak/record prices rather than current or historical time-series data. It is a paid microtransaction endpoint ($0.01 USDC via x402), so it suits agents with cryptocurrency payment capability.

## Known failure modes

- Invalid or unrecognized coin ID returns an error or empty result
- Network or server downtime on Railway hosting causes unavailability
- Payment failure (insufficient USDC balance or x402 protocol error) blocks the request
- Rate limiting or abuse detection may temporarily block repeated calls

## How this service works

Paid API endpoints for prices, weather, FX, news, gas, dominance, fear/greed, ATH, and more

## Output

Returns the all-time high (ATH) price for the requested cryptocurrency, likely including the peak price value, the date it was reached, and the coin identifier, enabling historical price comparisons and market analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "coin": {
   "type": "string",
   "description": "Coin ID (e.g. bitcoin, ethereum)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-price-api-all-time-high-ath-endpoint-d553ec0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-bd43.up.railway.app](https://www.zero.xyz/host/x402-api-production-bd43.up.railway.app/llms.txt)
