# Glassnode Total Supply in Profit

> Glassnode Total Supply in Profit 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 circulating supply of a crypto asset (e.g. BTC, ETH) that is currently in profit, measured as coins whose last-moved price was below the current price.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/supply/profit_sum
- 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-total-supply-in-profit-b3009c54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0TDiFhCGkdRfx8VoKlRr

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-total-supply-in-profit-b3009c54
```

Example prompt: What's the total Bitcoin supply currently in profit? Pull the Glassnode supply-in-profit metric for BTC in native units with daily (24h) resolution and return it as JSON.

## When to prefer this

Use this endpoint when you need on-chain, UTXO-level supply-in-profit data sourced from Glassnode — especially for Bitcoin or Ethereum market cycle analysis, sentiment gauging, or building dashboards that track unrealized profit across the entire circulating supply. Prefer this over price-based proxies when you need true last-moved-price profitability data.

## Known failure modes

- Missing required 'a' (asset) query parameter returns a 400 error
- Unsupported asset symbol returns an error or empty dataset
- Invalid 'c' or 'i' enum values are rejected
- Payment not provided or insufficient USDC balance results in 402 Payment Required
- Network timeout or Glassnode data unavailability returns 5xx

## How this service works

Total Supply in Profit — The circulating supply in profit, i.e. the amount of coins whose price at the time they last moved was lower than the current price. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the value (v) representing the amount of the asset's circulating supply that is currently in profit, expressed in native coin units or USD depending on the 'c' parameter chosen.

## 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",
        "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"
      }
     }
    }
   },
   "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-total-supply-in-profit-b3009c54/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)
