# Glassnode Binary CDD (Binary Coin Days Destroyed)

> Glassnode Binary CDD (Binary Coin Days Destroyed) 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 Binary CDD regime flag for Bitcoin, indicating whether Supply-Adjusted Coin Days Destroyed exceeded its long-run average on a given day

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/cdd_supply_adjusted_binary
- 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-binary-cdd-binary-coin-days-destroyed-6d9ef1f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_whDrg1LkJDF0MyletNc4l

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-binary-cdd-binary-coin-days-destroyed-6d9ef1f2
```

Example prompt: Can you pull the Glassnode Binary Coin Days Destroyed indicator for Bitcoin and tell me whether more coin days are being destroyed today than the long-run average — give me the result as JSON?

## When to prefer this

Use this endpoint when you need a simple binary regime signal derived from Bitcoin coin aging activity — specifically when you want to know if long-term holders are moving coins more than usual relative to historical norms. Prefer this over raw CDD when you need a clean 0/1 flag rather than a continuous value, useful for rules-based trading signals, alert systems, or regime-classification pipelines.

## Known failure modes

- Missing required 'a' parameter (asset symbol) returns a 400 error
- Payment not provided or insufficient USDC results in 402 Payment Required
- Invalid asset symbol (non-BTC) returns 400 or empty result since only BTC is supported
- Network timeout or Glassnode data unavailability returns 5xx error
- Invalid format parameter returns 400

## How this service works

Binary CDD — Binary Coin Days Destroyed (Binary CDD) is the regime-flag transform of Supply-Adjusted CDD, computed by thresholding Adjusted CDD against its long-run average, asking whether more Adjusted CDDs were destroyed today than on average. Data by Glassnode.

## Output

An array of timestamped data points, each with a Unix timestamp (t) and a binary value (v) of 0 or 1, where 1 means Supply-Adjusted CDD exceeded its long-run average on that day and 0 means it did not. This acts as an on-chain regime flag for Bitcoin coin aging activity.

## 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-binary-cdd-binary-coin-days-destroyed-6d9ef1f2/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)
