Bitcoin Rainbow Chart API
Logarithmic regression model categorizing BTC price into color-coded zones representing different market phases (fire sale to bubble territory).
https://api.hunchmachine.com/webhook/indicators?indicator=rainbow_chart&api_key=YOUR_API_KEYDescription
Implements the classic Bitcoin Rainbow Chart — a logarithmic regression model that estimates Bitcoin's long-term fair value and categorizes price into color-coded "zones" representing different market phases (e.g., fire sale, HODL, bubble territory). This indicator offers an intuitive, data-driven way to visualize where BTC sits within its historical growth curve.
What this endpoint provides
A simplified, programmatic version of the Rainbow Chart that includes fair value estimation, log deviation, and current zone classification. It allows automations and AI agents to assess whether Bitcoin is undervalued, fairly priced, or overheated in a cycle context.
Response fields
valueLatest BTC price in USD.
fair_value_usdEstimated fair value according to the rainbow regression model.
deviation_logLogarithmic deviation from fair value (negative = undervalued, positive = overvalued).
zoneCurrent rainbow zone label (e.g., 🔵 Fire Sale, 🟡 HODL!, 🔴 Bubble Territory).
zone_scoreNumeric representation of the current zone (1–10 scale).
trendDirectional trend classification (up, down, or neutral).
momentum_stateDescribes whether price is moving faster or slower relative to the fair value curve (accelerating, stable, cooling).
summaryHuman-readable interpretation summarizing value, fair value, zone, and deviation.
timestampUTC time of the latest update.
Output example
[
{
"indicator": "rainbow_chart",
"timestamp": "2025-11-01T03:03:18.052Z",
"value": 109777.86,
"fair_value_usd": 83266.03,
"deviation_log": 0.2512,
"zone": "🟢 Still cheap",
"zone_score": 4,
"trend": "up",
"momentum_state": "stable",
"summary": "BTC $109,778 vs rainbow fair value $83,266 → Zone: 🟢 Still cheap (log deviation 0.25)."
}
]