# Glassnode Spent Output Types Share

> Glassnode Spent Output Types Share 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 daily share of spent Bitcoin outputs broken down by script/locking type (P2PK, P2PKH, Bare Multisig, P2SH, P2WPKH, P2WSH, P2TR, Non-standard), summing to 1.0 across all types.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/transactions/spent_output_types_share
- 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-types-share-3b342652
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2zrPqqQgdVZ4rXXx4kFHW

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-types-share-3b342652
```

Example prompt: What's the current daily breakdown of Bitcoin spent output script types — how much of the spending is P2TR Taproot vs legacy P2PKH vs SegWit types like P2WPKH and P2WSH? Pull it as JSON for BTC.

## When to prefer this

Use this endpoint when you need to analyze the composition of Bitcoin transaction spending by script/locking type over time, particularly to study adoption trends of SegWit, Taproot, or legacy script formats. Prefer this over general UTXO count endpoints when the specific question is about script-type distribution of spending activity rather than balances or profit/loss.

## Known failure modes

- Missing required 'a' query parameter (asset symbol) returns 400 error
- Unsupported asset symbol returns error — only BTC is supported
- Payment not included or insufficient (x402 payment failure) returns 402
- Invalid format parameter returns error — only 'json' or 'csv' supported
- Rate limiting or upstream Glassnode data unavailability returns 5xx

## How this service works

Spent Output Types — The share of spent Bitcoin outputs by script (locking) type. Types include P2PK and P2PKH (public-key based), Bare Multisig, P2SH (arbitrary scripts, often Multisig or wrapped SegWit), the SegWit types P2WPKH and P2WSH, P2TR (Taproot), and Non-standard as a catch-all for outputs that match no well-defined type. Shares sum to one across types. Data by Glassnode.

## Output

A time-series array of objects, each with a Unix timestamp and an object containing the fractional share of each Bitcoin script type (P2PK, P2PKH, Bare Multisig, P2SH, P2WPKH, P2WSH, P2TR, Non-standard) among all spent outputs for that 24h period. All shares sum to 1.0.

## 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": {
       "o": {
        "type": "object"
       },
       "t": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glassnode-spent-output-types-share-3b342652/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)
