Pi Cycle Top API
Pi Cycle Top indicator — detects Bitcoin cycle peaks when 111-day MA crosses above 2×350-day MA, historically accurate for major tops.
https://api.hunchmachine.com/webhook/indicators?indicator=pi_cycle_top&api_key=YOUR_API_KEYDescription
Implements the Pi Cycle Top indicator, one of Bitcoin's most referenced historical top signals. The model identifies major market cycle peaks when the 111-day moving average (MA111) crosses above 2× the 350-day moving average (MA350) — a relationship that has historically coincided with macro tops in prior bull markets.
What this endpoint provides
A real-time calculation of the moving averages and their ratio, showing how close the market currently is to a potential cycle-top configuration. This version also includes a clear text signal (Normal, ⚠️ Approaching, 🚨 Triggered) and contextual notes, making it easy for automations and AI agents to interpret at a glance.
Response fields
price_usdLatest Bitcoin price in USD.
ma111Current 111-day moving average.
ma350Current 350-day moving average.
threshold_2x350Double of the 350-day MA (the top threshold used in the model).
ratioRatio between ma111 and 2×ma350; values approaching 1.0 indicate proximity to a historical top trigger.
distance_pctPercentage distance from the trigger threshold.
signalText-based top-state classification (Normal, Approaching, or Triggered).
notesDescription of the model logic and its historical behavior.
timestampUTC time of the latest update.
Output example
[
{
"indicator": "pi_cycle_top",
"timestamp": "2025-11-01T02:57:00.000Z",
"price_usd": 109767.703125,
"ma111": 113692.42708333333,
"ma350": 102373.82004464285,
"threshold_2x350": 204747.6400892857,
"ratio": 0.5552807692130405,
"distance_pct": -44.47192307869595,
"signal": "✅ Normal",
"notes": "The Pi Cycle Top indicator triggers when the 111-day MA crosses above 2× the 350-day MA."
}
]