API Overview
Use the StatAlpha API to run the same analytics available in the web console from your own tools, scripts, dashboards, or automations.
Base URL
Section titled “Base URL”https://api.statalpha.ioAuthentication
Section titled “Authentication”Send your Auth0 access token with each request:
Authorization: Bearer <ACCESS_TOKEN>Example:
curl -s \ -H "Authorization: Bearer $ACCESS_TOKEN" \ "https://api.statalpha.io/stats/orb/summary?symbol=AAPL&time_window=6M&orb_minutes=30"Common Parameters
Section titled “Common Parameters”| Parameter | Description |
|---|---|
symbol |
Market symbol, for example AAPL, MSFT, or BTCUSD |
time_window |
Relative history window, for example 1M, 3M, 6M, 12M, 24M, or 5Y |
start_date / end_date |
Explicit date range where supported |
timeframe |
Candle timeframe where supported, for example 15m or 1H |
start_time / end_time |
Custom intraday session where supported by the stat and your plan |
include_extended_hours |
Include pre-market and after-hours data where supported |
Common Status Codes
Section titled “Common Status Codes”| Status | Meaning |
|---|---|
200 |
Request succeeded |
401 |
Authentication is missing or invalid |
403 |
Your account does not have access to this endpoint, feature, or history range |
422 |
Request parameters are invalid |
429 |
Request limit exceeded |
Web Console
Section titled “Web Console”If you prefer not to call the API directly, use the web console:
https://app.statalpha.io