nextActions, and canonical URLs. A sibling endpoint returns a 7-day rolling history of that market’s indicators and regime snapshots.
Endpoints
Identifiers
UUIDs from the deprecated
external_markets table return 410 Gone so search engines de-index those URLs faster than they would for a 404.
Detail
Query parameters
The endpoint streams a single response — there is no pagination. Cache:
Cache-Control: public, s-maxage=60, stale-while-revalidate=120.
Response shape
Field reference
Indicators bundle
Returned inindicators when the ticker is in marketIndicators. All numeric fields are nullable.
Regime block
Theregime block reports SimpleFunctions’s adverse-selection scoring (0–1) plus the label maker, taker, or neutral. The cached snapshot is served when fresh (≤15 min old). When stale or when the live spread differs from the cached spread by >50%, the server re-computes on demand and returns fresh: true. With ?refresh=true (auth required), the server always re-computes.
Errors
History
Both arrays are empty for tickers outside the warm-regime cron’s top-500 coverage. Frontends should handle the empty state — most non-top tickers return
indicatorHistory: [] and a populated regimeHistory, or vice versa, depending on which cron has touched them.
Cache: Cache-Control: s-maxage=600, stale-while-revalidate=1200. Errors return 400 ticker required or 500 history failed.
CLI equivalents
sf inspect calls /api/agent/inspect/{ticker} for an agent-shaped dossier; sf book hits /api/public/market/{ticker}?depth=true directly.
See also
Indicators
What
iy, cri, ee, las, cvr, tauDays mean.Market regime
Adverse-selection score, label, signal interpretation.
Inspect ticker
Agent-shaped variant:
/api/agent/inspect/{ticker}.Real-time data
Streaming orderbook / candles / trades for the same ticker over WS.