# Glassnode Percent of Addresses in Profit (Relative)

> Glassnode Percent of Addresses in Profit (Relative) 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 percentage of unique cryptocurrency addresses whose average buy price is below the current market price, indicating the proportion of addresses currently in profit.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/addresses/profit_relative
- 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-percent-of-addresses-in-profit-relative-f2ab9578
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1eKjEY4IcHVK2L41y54cG

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-percent-of-addresses-in-profit-relative-f2ab9578
```

Example prompt: What percentage of Bitcoin addresses are currently in profit according to Glassnode? Pull the addresses profit relative metric for BTC with daily resolution.

## When to prefer this

Use this endpoint when you need on-chain sentiment data about the profitability distribution of cryptocurrency holders, specifically the share of addresses currently in profit. Prefer this over price-only metrics when analyzing market cycle positioning, capitulation risk, or holder conviction. Best suited for BTC and ETH on-chain analysis where Glassnode has deep coverage.

## Known failure modes

- Missing required asset symbol 'a' parameter returns a 400 error
- Invalid or unsupported asset symbol returns empty data or error
- Unsupported time interval value returns validation error
- Payment not processed or insufficient USDC balance returns 402 Payment Required
- Rate limiting or quota exceeded returns 429 Too Many Requests
- Network timeout for slow data retrieval

## How this service works

Percent of Addresses in Profit — The percentage of unique addresses whose funds have an average buy price below the current price. Data by Glassnode.

## Output

Returns a time-series array of objects each containing a Unix timestamp (t) and the percentage value (v) representing the share of unique addresses whose average acquisition price is below the current market price, indicating profitability across the holder base.

## 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"
      }
     }
    }
   },
   "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-percent-of-addresses-in-profit-relative-f2ab9578/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)
