# Bitcoin Coin Days Destroyed (CDD) Metric

> Bitcoin Coin Days Destroyed (CDD) Metric is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-02).

Returns Bitcoin Coin Days Destroyed (CDD) values for recent days or a specific date, measuring the economic weight of transferred coins weighted by their dormancy period.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/btc-coin-days-destroyed?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-coin-days-destroyed-cdd-metric-faa26fd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wL7Hi2GEqKz_N4TTiETZT

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 bitcoin-coin-days-destroyed-cdd-metric-faa26fd7
```

Example prompt: Pull the Bitcoin Coin Days Destroyed metric for the last 30 days so I can see how much economic weight is behind recent BTC transfers — include the calculation methodology.

## When to prefer this

Choose this endpoint when you need Bitcoin-specific on-chain economic activity metrics weighted by coin dormancy, particularly for assessing whether long-term holders are moving coins. Prefer it over raw transaction volume metrics when the age or dormancy of transferred coins matters for the analysis.

## Known failure modes

- Invalid date format (not YYYY-MM-DD) returns a validation error
- Days parameter outside 1-365 range returns a validation error
- Future dates may return no data or an error
- Service unavailability from upstream blockchain data source causes 5xx error
- Payment not completed via x402 protocol results in 402 Payment Required

## How this service works

Bitcoin Coin Days Destroyed (CDD) metric for recent days or a specific date, measuring economic weight of transferred coins weighted by their dormancy period. Includes documented calculation methodology.

## Output

Returns an array of daily Bitcoin Coin Days Destroyed values for the requested period or a single entry for a specific date, each including the date, the CDD figure, and documented calculation methodology explaining how dormancy-weighted coin transfers are computed.

## 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",
     "properties": {
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Optional specific date in YYYY-MM-DD format"
      },
      "days": {
       "type": "integer",
       "default": 30,
       "maximum": 365,
       "minimum": 1,
       "description": "Number of recent daily records to return"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-coin-days-destroyed-cdd-metric-faa26fd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
