Cascade API
Programmatic access to the world's only cross-asset financial contagion signal.
Authentication
Pass your API key in the Authorization header on every request.
GET /signal
Returns the current Cascade signal — regime classification, composite score (0–9), and component sub-scores.
Response
GET /regime
Returns daily regime history. Useful for backtesting integrations and risk reporting.
| Parameter | Type | Default | Description |
|---|---|---|---|
| days | integer | 90 | History window (max 365) |
| interval | string | daily | daily or weekly |
GET /alerts
Returns the log of regime alert events — when each alert triggered and resolved.
| Parameter | Type | Default | Description |
|---|---|---|---|
| limit | integer | 20 | Max results (max 100) |
| since | string | — | ISO date filter e.g. 2025-01-01 |
GET /historical
The full V6 backtest dataset. 15/15 crises detected. Average lead time 29 days.
GET /assets
Current price, change, drawdown, and stress level for all 12 tracked assets: SPY, QQQ, IWM, HYG, LQD, TLT, IEF, EEM, GLD, DBC, XLF, EWA.
Webhooks
Push notifications when regime changes. No polling required.
{"url": "https://your-server.com/hook"} to POST /v1/webhooks.Event Types
regime.changed— regime classification shiftedalert.triggered— entered DANGER or EXTREMEalert.resolved— returned to SAFE or CAUTION
Payload
Verification
Every request includes X-Cascade-Signature — HMAC-SHA256 of the raw body signed with your webhook secret.
Retry policy: 3 attempts — 30s, 5min, 30min exponential backoff. Your endpoint must return 2xx.
Rate Limits
| Tier | Daily Requests | Burst |
|---|---|---|
| Signal Access | 1,000 / day | 10 / second |
| Parametric Engine | 10,000 / day | 50 / second |
| Enterprise | Unlimited | Unlimited |
X-RateLimit-Limit · X-RateLimit-Remaining · X-RateLimit-ResetSDKs
Native client libraries with full type support, automatic retries, and Pandas/tidyverse integrations.
Python
Async support. Pandas integration for time-series workflows.
pip install cascade-analytics
R
tidyverse-native. Built for actuarial and statistical analysis.
install.packages("cascadeanalytics")
JavaScript
TypeScript types included. Works in browser and Node.js.
npm i @cascade-analytics/sdk
Error Codes
All error responses include error (machine key) and message (human readable) fields.
| Code | Status | Cause |
|---|---|---|
| 401 | Unauthorized | Missing or invalid API key |
| 403 | Forbidden | Endpoint requires higher subscription tier |
| 404 | Not Found | Endpoint does not exist |
| 429 | Rate Limited | Daily request quota exceeded |
| 500 | Server Error | Internal error — retry with exponential backoff |
Changelog
/signal /regime /alerts /historical /assets — REST + API key auth.