Live momentum signal vs baseline (5m / 30m / 1h windows)
https://api.skylit.ai/v1/flow/{ticker}/momentumCompares the current 5-minute, 30-minute, and 1-hour flow against the
trailing per-time-of-day baseline (/v1/flow/{ticker}/baseline).
Returns z-scores for the 5-minute window and a one-token trend
classification.
Authorization
Authorization: Bearer <your API key>Required. A missing header returns 401; an invalid, revoked or expired key returns 403.
Path parameters
tickerstringrequiredUnderlying ticker symbol (uppercase, e.g.
SPY,AAPL).
Query parameters
as_ofstringReplay anchor. Accepts RFC 3339 or Unix seconds. Defaults to "now".
lookback_daysintegerdefault20min 1 · max 30Trailing window size in trading days.
min_dteintegermin 0max_dteintegermin 0
Responses
- 200
Live momentum metrics + signal.
- 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
Unknown, revoked or expired API key (the gateway's
forbidden), the account's API access is suspended (account_suspended) or blocked (account_blocked). Not retryable. - 404
Unknown ticker or contract (
SYMBOL_NOT_FOUND), or no data for the requested window. Not charged. - 429
Either the key exceeded its requests-per-minute limit (
X-RateLimit-Limit; noRetry-After, wait untilX-RateLimit-Reset), or the account is over one of the API's own limits, such as the query budget (queries running at once, fresh queries per second):TOO_MANY_CONCURRENT_QUERIESorRATE_LIMITEDwithRetry-After. Not charged; retry after the wait. - 500
Unexpected server error (
INTERNAL_ERROR,DATABASE_ERROR). Not charged; safe to retry with exponential backoff. - 503
Underlying data source temporarily unavailable, the credit balance could not be verified (
credit_check_failed), or the API is paused for maintenance (api_paused, with aRetry-Afterheader and aretry_afterfield in seconds). Not charged; safe to retry. - 504
The request did not complete within 25 seconds. Not charged; narrow the window or retry.
Response fields
dataobjectrequiredtickerstringrequiredasOfstringdate-timerequiredcurrent5mobjectrequiredcurrent30mobjectrequiredcurrent1hobjectrequiredbaselineobjectsignalsobjectrequiredqueryTimeMsintegerrequired
metaobjectrequiredtimestampstringdate-timerequiredServer-side timestamp the response was generated at.
requestIdstringrequiredShort opaque ID for log correlation.
nextCursorstringTrade feeds (
/v1/flow/{ticker},/v1/contract/{symbol}/trades): pass back ascursorwith the same filters for the next page. Present only when more rows may follow.nextEndTimestringdate-time/v1/flow/{ticker}only: the last row's exact time (RFC 3339 with nanoseconds), forend_timepaging. Inclusive, so rows at that instant can repeat;nextCursornever repeats or skips.
Last updated