# Glassnode Realized Loss Metric

> Glassnode Realized Loss Metric 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-14).

Returns the total USD realized loss across all on-chain moved coins whose last-movement price was higher than their current-movement price, providing a daily time-series for a given asset.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/realized_loss
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-realized-loss-metric-feef931e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6LsgNtn88X2yj1U-0-1v5

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-realized-loss-metric-feef931e
```

Example prompt: Pull the Glassnode realized loss metric for BTC in USD for the last 24h interval and give me the latest data point — I want to see how much total loss was realized on-chain today.

## When to prefer this

Use this endpoint when you need on-chain realized loss data specifically sourced from Glassnode's methodology — aggregating USD losses from all moved coins whose prior-movement price was higher than their current price. Prefer this over generic price APIs when you need market sentiment, on-chain loss indicators, or inputs to macro crypto analysis workflows. Best suited for 24h granularity BTC/ETH analysis on supported networks.

## Known failure modes

- Missing required 'a' (asset) query parameter returns 400 error
- Unsupported asset symbol returns empty data or error
- Invalid interval or format enum value returns 400
- Payment not included or insufficient USDC balance returns 402 Payment Required
- Rate limiting or authentication issues return 429 or 401
- Network not supported for given asset returns empty or error response

## How this service works

Realized Loss — Realized Loss is the total USD loss across all moved coins whose price at their last movement was higher than the price at the current movement. Data by Glassnode.

## Output

Returns a JSON (or CSV) array of time-series objects, each containing a Unix timestamp ('t') and a numeric value ('v') representing the total USD realized loss for that period. The most recent entry reflects the aggregated loss from all moved coins whose last-movement price exceeded their current-movement price within the specified interval.

## 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": [
        "usd"
       ],
       "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": [
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      },
      "network": {
       "enum": [
        "aggregated",
        "arb",
        "base",
        "eth",
        "opt"
       ],
       "type": "string",
       "description": "Network / blockchain identifier for cross-chain metrics"
      }
     }
    }
   },
   "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-realized-loss-metric-feef931e/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)
