# Glassnode Price Drawdown from ATH

> Glassnode Price Drawdown from ATH is a paid API for AI agents from x402.glassnode.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the percent drawdown of a crypto asset's price from its previous all-time high, at daily, weekly, or monthly resolution.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/market/price_drawdown_relative
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-price-drawdown-from-ath-2de1504d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H1fjuJjaOTU2eRRHJI3gq

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 glassnode-price-drawdown-from-ath-2de1504d
```

Example prompt: What's the current daily price drawdown of BTC from its all-time high? Get it in JSON format from Glassnode.

## When to prefer this

Use this endpoint when you need on-chain-verified, Glassnode-sourced percent drawdown data from a crypto asset's all-time high. Prefer this over generic price APIs when you specifically need ATH drawdown as a market cycle metric, with historical time series at daily, weekly, or monthly granularity. Ideal for market analysis, cycle positioning, or risk assessment workflows.

## Known failure modes

- Missing required 'a' (asset) parameter returns a 400 error
- Unsupported asset symbol returns an error or empty dataset
- Invalid interval enum value (not 24h, 1w, or 1month) returns a 400 error
- Payment not provided or invalid x402 payment header results in 402 Payment Required
- Network timeout on Glassnode data backend returns 503
- Requesting data for an asset with insufficient history may return sparse results

## How this service works

Price Drawdown from ATH — The percent drawdown of the asset's price from the previous all-time high. Data by Glassnode.

## Output

Returns a JSON (or CSV) array of timestamped data points, each containing a Unix timestamp ('t') and the relative percent drawdown value ('v') representing how far the asset's price is below its previous all-time high. Negative values indicate the magnitude of decline from peak.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "c": {
       "enum": [
        "native"
       ],
       "type": "string",
       "description": "Currency for denominated values, e.g. usd, native"
      },
      "f": {
       "enum": [
        "csv",
        "json"
       ],
       "type": "string",
       "description": "Response format: json or csv"
      },
      "i": {
       "enum": [
        "1month",
        "1w",
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "t": {
        "type": "number"
       },
       "v": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

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