Tier 3 · B2B API Access · v1
Stratum Macro B2B API Reference
One endpoint turns a breaking headline into the three tickers that historically moved most, with sector tags, 10-year win rates and average 72-hour alpha. Built for brokerages, trading communities and Discord bots that want to push event context to their users.
Illustrative data · not investment advice
Authentication
Every request needs a secret API key sent as a Bearer token. Requests without a valid, active key return 401.
Authorization: Bearer sm_live_k3f9q2m7x1c8v4b6n0z5h2j7- 01Generate keys in the API key portal. The full secret is shown once at creation; Stratum stores only an HMAC-SHA256 hash.
- 02Send the key in the Authorization header on every request. Keys in query strings are rejected.
- 03Call the API from your server or bot process only. Never ship a key to a browser, mobile app or public repo.
- 04Use one key per integration (e.g. a Discord bot and a brokerage webhook) so you can revoke one without downtime elsewhere.
Correlate an event
/v1/correlateSend a headline and the engine classifies it against the analog library, or send an event_id for an exact lookup. Results for known events come from the backtest cache when available.
Parameters
AuthorizationstringheaderBearer <API_KEY>. Keys look like sm_live_ followed by 24 lowercase letters or digits.
headlinestringbodyFree-text news headline, 6–280 characters. The engine maps it to the closest live scenario or historical anchor event.
event_idstringbodyExact event lookup instead of a headline: an anchor id (cat-003), anchor slug, or scenario slug (taiwan-strait). Send exactly one of headline or event_id.
curl -X POST https://www.stratummacro.com/v1/correlate \
-H "Authorization: Bearer $STRATUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"headline": "Houthi missile strikes tanker in Red Sea"}'Response schema
Returns are decimals (0.088 = +8.8%). Win rates and alpha are historical event-study statistics, not forecasts.
{
"request_id": "req_9f2ed4a98f104223aa44",
"event": {
"id": "red-sea-shipping",
"slug": "red-sea-shipping",
"title": "Red Sea / Bab el-Mandeb Maritime Disruption",
"category": "Supply Chain",
"severity": "CRITICAL",
"event_date": null,
"summary": "Sustained Houthi strikes force Cape routings, tightening effective container capacity ~9% and lifting spot SCFI rates.",
"match": {
"method": "headline_scenario",
"confidence": 0.81,
"analog_count": 4
}
},
"sectors": ["Container Shipping", "Counter-UAS", "Unmanned Systems"],
"top_tickers": [
{
"ticker": "ZIM",
"name": "ZIM Integrated Shipping",
"sector": "Container Shipping",
"direction": "up",
"win_rate_10y": 0.86,
"avg_alpha_72h": 0.088
},
{
"ticker": "DRSHF",
"name": "DroneShield Ltd",
"sector": "Counter-UAS",
"direction": "up",
"win_rate_10y": 0.72,
"avg_alpha_72h": 0.0583
},
{
"ticker": "RCAT",
"name": "Red Cat Holdings",
"sector": "Unmanned Systems",
"direction": "up",
"win_rate_10y": 0.69,
"avg_alpha_72h": 0.0502
}
],
"lookback_years": 10,
"disclaimer": "Informational data only; not investment advice. Historical and backtested results do not guarantee future performance. See https://www.stratummacro.com/terms",
"cache": "MISS",
"usage": {
"used": 42191,
"quota": 100000,
"remaining": 57809,
"period": "2026-11"
},
"latency_ms": 41,
"_meta": {
"disclaimer": "Informational data only; not investment advice. Historical and backtested results do not guarantee future performance. See https://www.stratummacro.com/terms",
"generatedAt": "2026-11-11T20:55:28.550Z"
}
}request_idstringUnique id for this call. Quote it in support requests.
event.id / event.slugstringStable id of the matched event. Pass it back as event_id to skip classification.
event.categoryenumEnergy | Tech | Supply Chain | Defense | Commodities
event.severityenumCRITICAL | HIGH | MEDIUM
event.event_datestring | nullYYYY-MM-DD of the historical anchor; null for a live scenario.
event.match.methodenumevent_id | headline_scenario | headline_anchor: how the request was mapped.
event.match.confidencenumber | nullClassifier confidence 0–1 for scenario matches.
sectorsstring[]Distinct sectors of the returned tickers, in rank order.
top_tickers[]object[3]The three most-impacted instruments, ranked by absolute historical move.
top_tickers[].direction"up" | "down"Direction the instrument historically moved after analog events.
top_tickers[].win_rate_10ynumberShare of analog episodes over 10 years where the ticker moved in direction (0–1).
top_tickers[].avg_alpha_72hnumberMean abnormal return vs sector benchmark in the 72 h after the event, as a decimal (0.088 = +8.8%).
disclaimerstringRequired legal notice. Display it wherever you show this data to end-users.
cache"HIT" | "MISS"Whether the correlation came from the backtest cache.
usageobjectThis key's monthly usage after the call: used, quota, remaining, period (YYYY-MM, UTC).
Quotas & headers
- 01Only successful (200) responses count toward the quota. 4xx errors are free.
- 02Usage is counted per key and resets at 00:00 UTC on the first day of each month.
- 03Once a key reaches its quota, calls return 429 quota_exhausted until the reset. Contact sales for a volume contract.
| Header | Example | Meaning |
|---|---|---|
| X-RateLimit-Limit | 100000 | Monthly call quota for this key. |
| X-RateLimit-Remaining | 57809 | Calls left this UTC month. |
| X-Stratum-Cache | HIT | HIT when served from the cached backtest payload. |
| Retry-After | 1652659 | Only on 429: seconds until the quota resets (00:00 UTC on the 1st). |
Errors
Errors share one shape and always include the disclaimer block.
invalid_requestBody is not JSON, or does not contain exactly one of headline / event_id.unauthorizedMissing, malformed or unknown API key.key_revokedThe key was revoked in the portal. Generate a new one.subscription_inactiveThe account that owns this key has no active B2B API Access subscription.event_not_foundevent_id does not match any anchor or scenario.unclassifiable_eventThe headline could not be mapped to any event in the analog library.quota_exhaustedMonthly quota used. See the Retry-After header.{
"error": {
"code": 429,
"slug": "quota_exhausted",
"message": "Monthly quota of 100,000 calls used. Resets at 00:00 UTC on the 1st."
},
"_meta": {
"disclaimer": "Informational data only; not investment advice. …",
"generatedAt": "2026-11-30T18:02:11.204Z"
}
}