Stock-to-Flow API
Bitcoin Stock-to-Flow (S2F) model — quantifies BTC scarcity vs new supply, projecting long-term fair value based on halving cycles.
https://api.hunchmachine.com/webhook/indicators?indicator=stock_to_flow&api_key=YOUR_API_KEYDescription
Implements the classic Stock-to-Flow model, comparing Bitcoin's existing stock (supply) to annual new issuance (flow). As halvings reduce new supply, the S2F ratio increases, historically coinciding with large bull-cycle expansions. This endpoint provides a programmatic snapshot of where price sits relative to the S2F curve.
What this endpoint provides
Real-time S2F ratio, fair-value estimate, qualitative zone, and narrative summary. Ideal for dashboards or automations that need to discuss long-term scarcity trends without re-implementing the regression logic.
Response fields
btc_price_usdLatest Bitcoin price (USD).
s2f_ratioCurrent Stock-to-Flow ratio (supply divided by annual issuance).
fair_value_usdStock-to-Flow fair value price estimate.
zoneQualitative zone label (e.g., Deep undervaluation vs S2F, Bubble).
zone_scoreNumeric score indicating position within the S2F bands.
trendDirectional assessment (up, down, neutral).
momentum_stateMomentum narrative such as strengthening, stable, cooling.
summaryNatural-language summary combining price, ratio, and interpretation.
Output example
[
{
"indicator": "stock_to_flow",
"timestamp": "2025-11-01T03:13:58.207Z",
"btc_price_usd": 109868,
"s2f_ratio": 121.42,
"fair_value_usd": 318767,
"zone": "🟦 Deep undervaluation vs S2F",
"zone_score": 1,
"trend": "up",
"momentum_state": "strengthening",
"summary": "BTC $109,868 vs S2F fair value $318,767 → Zone: 🟦 Deep undervaluation vs S2F (score 1)."
}
]