Bitcoin Regime API
Real-time Bitcoin market regime signals powered by a 4-state Gaussian Hidden Markov Model. Get JSON responses with the current regime, confidence score, transition probabilities, and historical state sequence. Free tier available.
Authentication
All API requests require an API key passed as a header. Get your key by contacting us or signing up for a Pro plan.
Free tier keys are prefixed btcm_free_ and limited to 100 requests/day. Pro keys are prefixed btcm_live_.
Returns the current Bitcoin market regime decoded by the Viterbi algorithm, with confidence score and transition matrix row for the active state.
| Parameter | Type | Description |
|---|---|---|
| asset optional | string | Asset symbol. Default: BTC. Pro: ETH, SOL. |
Returns the Viterbi-decoded regime sequence for a date range, with one entry per day.
| Parameter | Type | Description |
|---|---|---|
| days optional | integer | Number of trailing days. Default: 30. Max: 90 (Pro) / 7 (Free). |
| from optional | date | Start date ISO 8601. Overrides days if provided. |
| to optional | date | End date ISO 8601. Defaults to today. |
Returns the full forward-algorithm posterior probabilities for each state — the filtered α distribution — not just the most likely state.
Real-time WebSocket stream. Pushes an update whenever the regime state or confidence changes by more than 5%.
Error Codes
| Code | Message | Action |
|---|---|---|
401 | Invalid or missing API key | Check your X-API-Key header |
429 | Rate limit exceeded | Upgrade plan or reduce request frequency |
403 | Endpoint not available on your plan | Upgrade to Pro or Institutional |
503 | Model temporarily unavailable | Retry after 30s; check status page |
API Pricing
- 100 requests/day
- /regime/current endpoint
- 7-day history only
- JSON responses
- WebSocket stream
- /regime/probabilities
- SLA guarantee
- 10,000 requests/day
- All endpoints
- 90-day history
- WebSocket stream
- Full probabilities API
- ETH regime (coming soon)
- Custom model parameters
- Unlimited requests
- All assets (BTC, ETH, SOL+)
- Full history
- Custom model retraining
- Dedicated infrastructure
- 99.9% SLA
- On-boarding + support