# Glassnode Pi Cycle Top Indicator

> Glassnode Pi Cycle Top Indicator 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-14).

Returns the Pi Cycle Top Indicator for BTC/ETH/LTC — the 111-day SMA and 2× the 350-day SMA — used to identify potential cycle market tops.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/indicators/pi_cycle_top
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-pi-cycle-top-indicator-9756c57d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MLqs2wyl6rCKbxTsUpdl4

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-pi-cycle-top-indicator-9756c57d
```

Example prompt: Pull the Pi Cycle Top indicator data for Bitcoin from Glassnode — I want to see the 111-day SMA and 2× the 350-day SMA in JSON format to check if we're approaching a cycle top.

## When to prefer this

Use this endpoint when you need the Pi Cycle Top indicator specifically — the combination of 111SMA and 350SMA×2 — for BTC, ETH, or LTC cycle analysis. Prefer this over general price endpoints when your use case is identifying macro cycle tops or monitoring the Pi Cycle crossover signal. It is ideal for on-chain analytics dashboards, trading signal pipelines, or cycle-aware portfolio monitoring.

## Known failure modes

- Unsupported asset symbol (only BTC, ETH, LTC allowed) → validation error
- Invalid or missing 'a' query parameter (required) → 400 Bad Request
- Unsupported interval or format enum value → error response
- Payment failure or insufficient USDC balance → 402 Payment Required
- Rate limiting or upstream Glassnode data unavailability → 503 or timeout

## How this service works

Pi Cycle Top Indicator — Pi Cycle Top Indicator is composed of the 111-day simple moving average (111SMA) and a 2x multiple of the 350-day simple moving average (350SMA x 2) of the asset's price. Data by Glassnode.

## Output

Returns a time-series array of objects, each with a Unix timestamp (t) and nested values (o) containing the 111-day SMA and 2× the 350-day SMA of the asset's price, allowing identification of potential Pi Cycle Top crossover signals.

## 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",
        "ETH",
        "LTC"
       ],
       "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-pi-cycle-top-indicator-9756c57d/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)
