Quickstart Guide
Get crypto market intelligence from 9 data sources in one API call. No SDK required.
API Playground
Click any endpoint below to see a live response. No setup needed — these hit the real API.
Click an endpoint above to test it
Your First API Call
The market overview endpoint requires no authentication. Try it now:
curl https://getregime.com/api/v1/market/overview
This returns BTC/ETH prices, Fear & Greed index, regime classification, BTC dominance, DeFi TVL, and total market cap — all from a single call.
Loading...
Get an API Key
Register with your email to get a free API key. No credit card required.
curl -X POST https://getregime.com/api/v1/auth/register \ -H "Content-Type: application/json" \ -d '{"email": "[email protected]"}'
{
"tenant": {
"id": "ten_abc123...",
"email": "[email protected]",
"tier": "free"
},
"apiKey": {
"key": "cse_live_k1_abc123...",
"tier": "free",
"rate_limit_rpm": 30
}
}POST /api/v1/auth/keys.
Authentication
Pass your API key as a Bearer token in the Authorization header:
curl https://getregime.com/api/v1/signals/all \
-H "Authorization: Bearer YOUR_API_KEY"Rate limit headers are included in every authenticated response:
X-RateLimit-Limit— your tier's requests per minuteX-RateLimit-Remaining— requests left in this windowX-RateLimit-Reset— seconds until the window resets
Market Overview
Complete market snapshot from 9 data sources in one response.
GET /api/v1/market/overview # Returns: # - BTC & ETH price, 24h change # - Fear & Greed Index (0-100) # - BTC Dominance % # - Total market cap, volume # - DeFi TVL # - Regime classification (bull/bear/chop + confidence) # - 10 regime signals with individual interpretations
Regime Detection
Classifies the crypto market as bull, bear, or chop using 10 independent signals.
curl https://getregime.com/api/v1/market/regime
Signals Used
- BTC SMA 50/200 — Golden cross vs death cross
- BTC Funding Rate — Overheated longs vs fearful shorts
- Fear & Greed Index — Sentiment extreme detection
- BTC Dominance — Risk-on vs risk-off flows
- Stablecoin Supply — Dry powder tracking
- Volume Profile — Confirmed trend vs distribution
- Volatility Regime — ATR20/ATR90 ratio
- Aggregated Funding — Cross-exchange futures sentiment
- Liquidation Imbalance — Long/short rekt ratio
- DXY Dollar Index — Macro risk-off overlay
Intelligence Endpoints
Pre-analyzed market intelligence — regime + crowd positioning + macro divergences + risk assessment in structured endpoints. All require Pro ($49/mo) or higher.
Intelligence Brief
One-call synthesis of regime state, crowd positioning, macro environment, and risk factors.
curl https://getregime.com/api/v1/intelligence/brief \ -H "Authorization: Bearer YOUR_API_KEY" # Returns: regime, confidence, top drivers, crowd positioning, # macro environment (DXY, VIX, SPX, Gold), active signals, # risk assessment, and actionable summary
Crowd Positioning
Aggregate funding rate bias, liquidation imbalance, and crowd direction across major exchanges.
curl https://getregime.com/api/v1/intelligence/crowd-positioning \ -H "Authorization: Bearer YOUR_API_KEY" # Returns: funding_bias (long/short/neutral), # avg_funding_rate_btc, long_short_ratio_btc, # liquidation_imbalance, crowd_direction
Divergences
Detects cross-market divergences that often precede major moves.
curl https://getregime.com/api/v1/intelligence/divergences \ -H "Authorization: Bearer YOUR_API_KEY" # Detects: DXY-BTC divergence, VIX-crypto mismatch, # fear-regime disagreement, extreme fear in bear regime, # OI-price divergence across assets
Regime History
Historical regime transitions with timestamps, duration, and average confidence.
curl https://getregime.com/api/v1/intelligence/regime-history \ -H "Authorization: Bearer YOUR_API_KEY" # Pro: 30 days of history # Institutional: full history back to day one
Point-in-Time Regime
Query what the regime was at any historical timestamp.
# Pass a Unix timestamp (ms) curl "https://getregime.com/api/v1/intelligence/regime-at?ts=1774500000000" \ -H "Authorization: Bearer YOUR_API_KEY"
HMM Regime Detector
Hidden Markov Model regime detection using Baum-Welch + Viterbi algorithms. Probabilistic state estimation independent of the main classifier.
curl https://getregime.com/api/v1/intelligence/hmm-regime \
-H "Authorization: Bearer YOUR_API_KEY"See plans & upgrade →
Strategy Signals
Live entry/exit signals from 6 strategies running 24/7 on real candle data.
# All signals curl https://getregime.com/api/v1/signals/all \ -H "Authorization: Bearer YOUR_API_KEY" # Signals for a specific asset curl https://getregime.com/api/v1/signals/ETHUSDT \ -H "Authorization: Bearer YOUR_API_KEY"
Active Strategies
- SMA Crossover — 20/50 and 50/200 moving average crosses
- MACD Trend Following — Momentum-based trend detection
- Donchian Breakout — Channel breakout with volume confirmation
- Volume Breakout — Price breakout gated on relative volume
- VWAP Reversion — Mean reversion to volume-weighted average price
See plans & upgrade →
All Endpoints
Market Intelligence (Public)
Intelligence (Pro+)
Signals & Data (Pro+)
Auth
Billing
Historical Data
Webhooks
Tiers & Rate Limits
| Tier | Price | Rate Limit | Data Delay | Assets | Key Features |
|---|---|---|---|---|---|
| Free | $0 | 10 req/min | 15 min | BTC, ETH | Market overview, regime detection, AI briefings |
| Pro | $49/mo | 120 req/min | Real-time | All 20+ | + Signals, risk scoring, prediction markets, macro, futures |
| Institutional | $149/mo | 1,000 req/min | Real-time | All 20+ | + Historical data, webhooks, priority support |
Error Handling
All errors return JSON with an error message and a machine-readable code:
{
"error": "Rate limit exceeded",
"code": "RATE_LIMITED",
"limit": 10,
"retryAfterMs": 45000
}| Status | Code | Meaning |
|---|---|---|
| 401 | MISSING_AUTH | No Authorization header |
| 401 | INVALID_KEY | API key revoked or invalid |
| 403 | FEATURE_GATED | Endpoint requires higher tier |
| 429 | RATE_LIMITED | Too many requests |
Code Examples
Python
# pip install requests import requests BASE = "https://getregime.com" API_KEY = "YOUR_API_KEY" # No auth needed for market data overview = requests.get(f"{BASE}/api/v1/market/overview").json() print(f"Regime: {overview['regime']['regime']} ({overview['regime']['confidence']:.0%})") print(f"Fear & Greed: {overview['fearGreedIndex']}") # Auth required for signals headers = {"Authorization": f"Bearer {API_KEY}"} signals = requests.get(f"{BASE}/api/v1/signals/all", headers=headers).json() for s in signals: print(f" {s['symbol']} — {s['direction']} (strength: {s['strength']})")
JavaScript / Node.js
// No dependencies needed — uses built-in fetch const BASE = 'https://getregime.com'; const API_KEY = 'YOUR_API_KEY'; // Market overview (no auth) const overview = await fetch(`${BASE}/api/v1/market/overview`) .then(r => r.json()); console.log(`Regime: ${overview.regime.regime}`); console.log(`Fear & Greed: ${overview.fearGreedIndex}`); // Strategy signals (auth required) const signals = await fetch(`${BASE}/api/v1/signals/all`, { headers: { Authorization: `Bearer ${API_KEY}` } }).then(r => r.json()); signals.forEach(s => console.log(`${s.symbol} — ${s.direction} (${s.strength})`) );
Trading Bot Pattern
# Check regime before entering any trade import requests, time BASE = "https://getregime.com" KEY = "YOUR_API_KEY" headers = {"Authorization": f"Bearer {KEY}"} while True: # 1. Check regime — don't trade in bear markets regime = requests.get(f"{BASE}/api/v1/market/regime").json() if regime["regime"] == "bear" and regime["confidence"] > 0.7: print("Bear market — sitting out") time.sleep(300) continue # 2. Get signals signals = requests.get(f"{BASE}/api/v1/signals/all", headers=headers).json() bullish = [s for s in signals if s["direction"] == "long"] for signal in bullish: # 3. Check token risk before entering risk = requests.get( f"{BASE}/api/v1/risk-score/{signal['token_address']}", headers=headers ).json() if risk["score"] > 70: print(f"Skipping {signal['symbol']} — risk score {risk['score']}") continue print(f"Signal: {signal['symbol']} {signal['direction']} (risk: {risk['score']})") # Execute your trade logic here... time.sleep(60)
Ready for real-time data and strategy signals?
Free gives you the market picture. Pro gives you the playbook — real-time data, 6 strategy signals, prediction markets, macro overlay, and 20+ assets.
No credit card for free tier. Cancel Pro anytime.