# Glassnode UTXO Profit Count

> Glassnode UTXO Profit Count 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 daily count of Bitcoin UTXOs that are currently in profit (created when price was lower than current price)

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/blockchain/utxo_profit_count
- 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-count-e24dfb82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P2UBGSDTlmTRgs1vJQ0FI

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-count-e24dfb82
```

Example prompt: Pull the latest Glassnode data on how many Bitcoin UTXOs are currently in profit — I want the 24h interval count in JSON format.

## When to prefer this

Use this endpoint when you need the raw count (not percentage) of Bitcoin UTXOs currently in profit. Prefer this over the percentage variant when you want absolute numbers for aggregation, trend analysis, or comparing against total UTXO counts. Ideal for on-chain market health dashboards, Bitcoin cycle analysis, or detecting market tops/bottoms via UTXO profitability shifts.

## Known failure modes

- Missing or invalid asset symbol returns error — only BTC is supported
- Invalid interval value (only 24h supported) returns validation error
- Payment not included or insufficient USDC causes 402 Payment Required
- Network timeout if Glassnode data feed is slow
- Invalid format parameter (only json or csv supported)

## How this service works

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

## Output

A time-series array of objects, each with a Unix timestamp (t) and a numeric value (v) representing the count of UTXOs whose creation price was below the current BTC price, at 24-hour 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"
      },
      "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-count-e24dfb82/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)
