# Glassnode SegWit Adoption Metric

> Glassnode SegWit Adoption Metric 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 time-series data on Bitcoin SegWit adoption rate, measured as the proportion of transactions that spent at least one SegWit input.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/transactions/segwit_adoption
- 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-segwit-adoption-metric-61568871
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eHC2LNhzauVXkhgVi5FP0

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-segwit-adoption-metric-61568871
```

Example prompt: Pull the latest daily SegWit adoption rate for Bitcoin from Glassnode so I can see what percentage of transactions are using SegWit inputs right now.

## When to prefer this

Use this endpoint when you need authoritative, time-series Bitcoin SegWit adoption metrics sourced from Glassnode's on-chain analytics. Prefer this over generic blockchain explorers when you need normalized adoption ratios (proportion of transactions) rather than raw counts, or when you need the companion utilization view (proportion of spent inputs). Best for analysts tracking Bitcoin network modernization and protocol upgrade adoption.

## Known failure modes

- Missing required 'a' (asset) query parameter returns a 400 error
- Unsupported asset symbol other than 'BTC' returns a validation error
- Payment not provided or insufficient USDC results in 402 Payment Required
- Invalid format value for 'f' parameter returns a schema validation error
- Network timeout or upstream Glassnode data unavailability returns a 503 error

## How this service works

SegWit Adoption — SegWit Adoption quantifies the degree of SegWit adoption on the Bitcoin network. Adoption is the community-established measure, defined as the relative number of transactions that spent at least one SegWit input. Utilization is a more granular companion view, defined as the relative number of spent SegWit inputs rather than transactions. Data by Glassnode.

## Output

Returns a JSON array of timestamped data points, each containing a Unix timestamp (t) and an object (o) with the SegWit adoption ratio — the proportion of Bitcoin transactions that spent at least one SegWit input — along with optional utilization breakdown, for the requested time interval.

## 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-segwit-adoption-metric-61568871/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)
