# Glassnode UTXO Spent Value Median

> Glassnode UTXO Spent Value Median 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-15).

Returns the median value of coins in spent Bitcoin transaction outputs over a given time interval

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/blockchain/utxo_spent_value_median
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-utxo-spent-value-median-ad92eef6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jclvcLYfNsmyiteywlnIL

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-spent-value-median-ad92eef6
```

Example prompt: Pull the median value of spent Bitcoin UTXOs from Glassnode at daily resolution, denominated in USD, in JSON format.

## When to prefer this

Use this endpoint when you need time-series data on the median coin value of spent Bitcoin UTXOs specifically — useful for on-chain spending behavior analysis, identifying typical transaction sizes, or understanding distribution of Bitcoin being moved. Prefer this over mean-value endpoints when you want a central tendency metric less sensitive to outliers. Ideal for agents doing Bitcoin on-chain analytics dashboards, macro market analysis, or UTXO economic research.

## Known failure modes

- Missing required 'a' query parameter (asset symbol) returns a 400 error
- Invalid enum value for interval, currency, or format returns a 400 error
- Payment not included or insufficient (x402 payment required) returns a 402 error
- Rate limiting or quota exceeded returns a 429 error
- Glassnode data unavailable for requested time range returns empty or partial results

## How this service works

Median Value of Spent UTXOs — The median amount of coins in spent transaction outputs. Data by Glassnode.

## Output

A time series array of objects each containing a Unix timestamp ('t') and the median value of spent UTXOs ('v') at that time, denominated in the requested currency (native BTC or USD) and at the requested interval (24h, 1w, or 1month).

## 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",
        "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": [
        "1month",
        "1w",
        "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-spent-value-median-ad92eef6/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)
