# Glassnode UTXO Spent Count

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

Returns the number of UTXOs (unspent transaction outputs) spent within a given time period for BTC, sourced from Glassnode on-chain analytics.

## Facts

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

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-count-6550a190
```

Example prompt: Pull the Glassnode on-chain metric for the number of Bitcoin UTXOs spent over the past 24 hours in JSON format.

## When to prefer this

Use this endpoint when you need precise on-chain UTXO spending counts for Bitcoin over defined time intervals (daily, weekly, monthly), particularly for blockchain activity analysis, on-chain research, or building dashboards tracking Bitcoin network throughput. Prefer this over general market data APIs when the UTXO-level transaction granularity is specifically required.

## Known failure modes

- Missing required 'a' (asset) parameter returns a 400 bad request
- Unsupported asset symbol returns an error — only BTC is currently supported
- Invalid interval value for 'i' returns a validation error
- Payment not included or insufficient USDC balance results in a 402 Payment Required response
- Network timeout or upstream Glassnode data unavailability returns a 5xx error

## How this service works

Number of Spent UTXOs — The number of unspent transaction outputs (UTXOs) spent within the time period. Data by Glassnode.

## Output

A time-series array of objects, each with a Unix timestamp ('t') and the count of UTXOs spent ('v') during that interval for BTC, at the requested resolution (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"
      },
      "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-count-6550a190/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)
