# Glassnode Realized Profit/Loss Ratio

> Glassnode Realized Profit/Loss Ratio 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 ratio of realized profit to realized loss for on-chain coin movements, indicating whether the market is in a net profit or loss state.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/realized_profit_loss_ratio
- 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-profit-loss-ratio-28fb94ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s9WNhEnnp4J1OT4qqqob4

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-profit-loss-ratio-28fb94ee
```

Example prompt: Pull the Glassnode realized profit/loss ratio for BTC in JSON format for the last 24h interval — I want to know if the market is currently realizing more profit than loss on-chain.

## When to prefer this

Use this endpoint when you need on-chain realized profit/loss ratio specifically from Glassnode's dataset, particularly for BTC or ETH analysis. Prefer this over general sentiment indicators when you want a quantitative, realized (not unrealized) measure of whether coins are moving at a net profit or loss.

## Known failure modes

- Missing required asset symbol 'a' parameter returns a 400 or 422 validation error
- Unsupported asset symbol returns an error or empty result
- Invalid interval or format enum value causes a request rejection
- Rate limiting or payment failure returns a 402 Payment Required response
- Network parameter mismatch for assets not available on a specified chain

## How this service works

Realized Profit/Loss Ratio — Realized Profit/Loss Ratio is the ratio between all coins moved at a profit and at a loss, computed as Realized Profit / Realized Loss. Data by Glassnode.

## Output

Returns a time-series array of objects with timestamp (t) and the realized profit/loss ratio value (v), where values above 1 indicate more profit being realized than loss, and below 1 indicate the opposite.

## 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": [
        "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-profit-loss-ratio-28fb94ee/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)
