# ChainQuery HODL Waves History

> ChainQuery HODL Waves History is a paid API for AI agents from intel.chainquery.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns full HODL-waves history for Bitcoin: weekly snapshots of total BTC supply split across 12 coin-age bands

## Facts

- Endpoint: GET https://intel.chainquery.com/v1/hodl-waves
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainquery-hodl-waves-history-6c3a3882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5SO2EvwjJEnjsMjY73px5

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 chainquery-hodl-waves-history-6c3a3882
```

Example prompt: Pull the full HODL waves history for Bitcoin from ChainQuery and show me how the supply is currently distributed across the 12 coin-age bands, including when the data was last updated.

## When to prefer this

Use this endpoint when you need the full historical HODL waves dataset for Bitcoin — specifically the multi-year, weekly-resolution supply distribution across all 12 coin-age bands. Prefer this over other on-chain data providers when you want no API key setup (pay-per-call via x402/USDC), independent Bitcoin-native data, and comprehensive age-band granularity rather than just a single current snapshot.

## Known failure modes

- Payment failure or insufficient USDC balance returns 402 Payment Required
- Network timeout if the dataset is large or the backend is slow
- Malformed or missing query params return 400 Bad Request
- Service unavailable returns 503 if backend indexer is down or catching up to chain tip
- Stale data if the weekly snapshot has not yet been computed for the most recent period

## How this service works

ChainQuery Bitcoin Intelligence: independent Bitcoin-native on-chain data over x402, no API key. Full HODL-waves history: supply split across 12 age bands per weekly snapshot.

## Output

A time-series dataset of weekly Bitcoin supply snapshots, each broken down into 12 coin-age bands (e.g. <1 day, 1d–1w, 1w–1m, 1m–3m, 3m–6m, 6m–12m, 1y–2y, 2y–3y, 3y–5y, 5y–7y, 7y–10y, 10y+), showing what percentage or absolute amount of BTC supply falls into each age cohort per snapshot, plus an as_of timestamp indicating data freshness.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "as_of": {
       "description": "data freshness timestamp"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-hodl-waves-history-6c3a3882/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.chainquery.com](https://www.zero.xyz/host/intel.chainquery.com/llms.txt)
