Market-wide breadth, advance/decline, and sector rotation
https://flow-api.skylit.ai/v1/flow/market-breadthCombines SPY/QQQ/IWM aggregate sentiment with an advance/decline ratio (over directional FIR) and per-sector rotation signals. Ideal as a single "is the market risk-on or risk-off right now" probe.
Authorization
Authorization: Bearer <your API key>Required. A missing header returns 401; an invalid, revoked or expired key returns 403.
Query parameters
datestringdateTrading date (YYYY-MM-DD). Defaults to today.
fir_thresholdnumberdoubledefault10Absolute FIR threshold (in %) used to classify a ticker as advancing or declining. Tickers with
|fir| < thresholdcount as unchanged.
Responses
- 200
Market breadth + advance/decline + sector rotation.
- 400
Request validation failed.
- 401
Missing or invalid API key.
- 402
The account's shared Skylit credit balance is lower than this route's cost. Top up to continue. Carries
X-Credits-Remaining: 0. - 403
API key invalid, revoked or expired, or the account's API access is suspended (
account_suspended). - 429
Per-minute rate limit exceeded.
- 503
Underlying data source temporarily unavailable, or the credit balance could not be verified (
credit_check_failed). Safe to retry.
Response fields
dataobjectrequireddatestringdaterequiredmajorIndicesobject[]requiredaggregateSentimentobjectrequiredadvanceDeclineobjectrequiredsectorRotationobject[]required
metaobjectrequiredtimestampstringdate-timerequiredServer-side timestamp the response was generated at.
requestIdstringrequiredShort opaque ID for log correlation.
Last updated