# Glassnode UTXO Profit Relative Metric

> Glassnode UTXO Profit Relative 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 percentage of Bitcoin UTXOs currently in profit (created when price was lower than current price) as a daily time series.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/blockchain/utxo_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-utxo-profit-relative-metric-1e0e9d55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0FQ3u9gPnmuhZttA-9C9x

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-utxo-profit-relative-metric-1e0e9d55
```

Example prompt: Pull the latest Glassnode data on what percentage of Bitcoin UTXOs are currently in profit — give me the daily time series in JSON format.

## When to prefer this

Use this endpoint when you need on-chain Bitcoin market sentiment data based on UTXO cost basis, specifically the proportion of outputs that are profitable at current prices. Prefer it over price-only data sources when you want to understand holder behavior, market stress, or capitulation risk using Glassnode's proprietary chain analysis. Best suited for macro BTC market analysis rather than real-time trading signals.

## Known failure modes

- Missing required 'a' query parameter (asset symbol) returns a 400 error
- Payment not included or insufficient USDC results in a 402 Payment Required response
- Unsupported asset symbol or interval enum value returns a validation error
- Upstream Glassnode data unavailability may result in a 503 or empty response
- Rate limiting or quota exceeded returns a 429 error

## How this service works

Percent of UTXOs in Profit — The percentage of unspent transaction outputs (UTXOs) whose price at creation time was lower than the current price. Data by Glassnode.

## Output

An array of time-stamped data points, each containing a Unix timestamp ('t') and a decimal value ('v') representing the fraction (0–1) of all Bitcoin UTXOs whose creation price was below the current Bitcoin price, sampled at daily (24h) resolution.

## 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": {
       "enum": [
        "BTC"
       ],
       "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-utxo-profit-relative-metric-1e0e9d55/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)
