# Glassnode Spent Output Lifespan 2y-3y Indicator

> Glassnode Spent Output Lifespan 2y-3y Indicator 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 total number of Bitcoin spent outputs that were created between 2 and 3 years ago, providing a UTXO age-band cohort metric.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/sol_2y_3y
- 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-spent-output-lifespan-2y-3y-indicator-ee79bf6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yi6KCor6kUIEOd4cYOsAM

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-spent-output-lifespan-2y-3y-indicator-ee79bf6c
```

Example prompt: Pull the Glassnode 2-to-3-year spent output lifespan metric for BTC at daily resolution and return it as JSON so I can see how many old coins in that age band were moved recently.

## When to prefer this

Use this endpoint when you need granular Bitcoin UTXO age-band cohort data specifically for the 2-to-3-year lifespan bracket, such as HODL wave analysis, long-term holder behavior research, or on-chain market cycle studies. Prefer this over generic blockchain explorers when you need preprocessed, normalized time-series data from Glassnode's institutional-grade on-chain analytics.

## Known failure modes

- Missing required 'a' (asset) query param returns 400 error
- Unsupported asset symbol (non-BTC) returns 400 or empty response
- Payment not provided or insufficient returns 402 Payment Required
- Rate limiting or downstream Glassnode data unavailability returns 503
- Invalid format or interval enum values return 400

## How this service works

Spent Output Lifespan 2y-3y — The total number of spent outputs that were created between 2 years and 3 years ago. Data by Glassnode.

## Output

An array of time-series data points, each containing a Unix timestamp (t) and a value (v) representing the total count of spent outputs whose creation date falls between 2 and 3 years prior to the spending date.

## 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-spent-output-lifespan-2y-3y-indicator-ee79bf6c/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)
