Quick Start
Get Your API Key
Generate your key from Account Settings → API Access. Keys start with spxxl_ and are shown once — save it securely.
curl -s https://spxxl.com/api/v1/classification \
-H "Authorization: Bearer spxxl_your_api_key_here" | jq .Your API Key Comes With
The API is part of your Elite membership, not a separate plan. One membership at $25 per month unlocks everything below.
- XLChart™ for every market in the Markets Directory
- SPX session classification & confidence
- Close Zones™, scoring & options context
- Strategy Backtester, session history, alerts & journal
- This API: your own key, 30 requests per minute
- Weekend crypto days included at no extra cost
- Optional Swing Signals: every timeframe, one market, 24 hours, $10. Pay for 10 days, the rest of the month is free ($100 a month max per market)
The API returns the SPX session classification shown on this page. XLChart, Swing Signals and the other tools are used inside the app with the same membership.
Endpoint
https://spxxl.com/api/v1/classificationAuthentication
All requests require a valid API key passed in the Authorization header:
Authorization: Bearer spxxl_your_api_key_hereKey Format
spxxl_ + 48 hex characters
Who Can Use It
Elite members and active trial members
sessionTypestringCurrent session classification: Balanced Day, Trend Day, Expansion Day, Short Covering Rally, Long Liquidation, Liquidity Sweep, Volatility Compression, or Opening Read (before 10:00 ET).confidencenumberClassification confidence (0–100). Higher values mean stronger signal conviction.closeZoneobjectClose Zone™ projection — predicted closing range with center, upper, lower bounds, width (points), and zone confidence (0–95).gexRegimestringCurrent Gamma Exposure regime: POSITIVE (mean-reverting), NEGATIVE (trending), or NEUTRAL.gexContextstringPlain-English GEX interpretation: Mean-reverting, Trending, or Neutral.projectionAgestringMarket phase: Pre-Market, IB Forming, Post-IB, Power Hour, Near Close, or After Hours.historicalAccuracyobjectAuditable track record — correct rate (%), win rate (%), total graded sessions, grade breakdown (CORRECT/PARTIAL/MISSED), and Engine Edge™ composite score.marketobjectCurrent market snapshot — SPX price, previous close, change, change %, VIX, daily range, volume.metadataobjectResponse metadata — timestamp, data source (live or snapshot), session date, refresh interval, API version.{
"sessionType": "Trend Day",
"confidence": 78.4,
"closeZone": {
"center": 5482.15,
"upper": 5498.30,
"lower": 5466.00,
"width": 32.30,
"confidence": 72
},
"gexRegime": "NEGATIVE",
"gexContext": "Trending",
"projectionAge": "Post-IB",
"historicalAccuracy": {
"correctRate": 86.5,
"winRate": 98.8,
"totalGraded": 341,
"gradeBreakdown": { "CORRECT": 295, "PARTIAL": 42, "MISSED": 4 },
"engineEdge": { "engineEdge": 87.2, "edgeRating": "ELITE" }
},
"market": {
"price": 5482.15,
"previousClose": 5465.42,
"change": 16.73,
"changePercent": 0.31,
"vix": 14.8,
"dailyRange": 28.45,
"volume": 1284500000
},
"metadata": {
"timestamp": "2026-06-19T15:30:00.000Z",
"dataSource": "live",
"sessionDate": "2026-06-19",
"nextUpdate": "~60s",
"version": "v1"
}
}What You Can Build
Automated Execution
Feed session type and confidence into your execution bot. Open positions only when the engine agrees with your thesis.
Portfolio Alerts
Poll every minute and trigger Slack/Discord/Telegram alerts when session type transitions or confidence crosses your threshold.
Strategy Backtesting
Pull historical classifications and correlate against your own P&L data to find your highest-edge session types.
AI Agent Integration
Give your AI trading agent access to SPXXL classifications. The JSON schema is designed for LLM consumption.
Ready to Integrate?
Generate your API key in Account Settings. Your first call returns live data in under 200ms.
API + XLChart™ + SPX tools · Charged monthly up front
Swing Signals and classifications are education only, not investment advice.