Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Market snapshot (quote + daily bar + previous daily bar + intraday sample)

Pan-African Market Data & Intelligence

GET

/market/snapshot

Market snapshot (quote + daily bar + previous daily bar + intraday sample)

Sandbox availablegetMarketSnapshot

Returns a one-call bundle for one or many symbols: the delayed quote (same shape as /market/quotes, carrying asOf, stale, and dataQuality), today's dailyBar, the prevDailyBar, and the latest coarse intradayBar sample. Replaces the 3–4 round-trips a dashboard would otherwise make. Single mode requires both symbol and exchange; batch mode takes symbols (comma-separated, ≤50), returning a map of symbol → snapshot plus not_found. dailyBar is derived from the latest 15-minute-delayed observation until the end-of-day pass writes today's candle. intradayBar is null until the 3×/day intraday capture has run for the symbol.

Parameters

symbolstringquery

Single-symbol mode. Use together with exchange.

Example: SCOM.KE

exchangestringquery

Exchange code (required in single-symbol mode).

Example: NSE

symbolsstringquery

Batch mode. Comma-separated exchange-qualified tickers (max 50), e.g. SCOM.KE,MTN.ZA.

Example: SCOM.KE,MTN.ZA

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

dataunion

Single mode: one Snapshot object. Batch mode: a map of symbol → Snapshot.

not_foundstring[]

Batch mode only — requested symbols that could not be resolved.

metaobject

Standard response metadata included on every market-data envelope.

meta.request_idstring

Unique identifier for this request. Include in support tickets for tracing.

Example: "4f6e1a2b-3c4d-5e6f-7a8b-9c0d1e2f3a4b"

meta.timestampstring

ISO 8601 UTC timestamp of when the response was generated.

Example: "2026-06-04T10:23:45.123Z"

meta.exchangestring | null

Exchange code the request was scoped to, when applicable.

Example: "NSE"

meta.symbolstring | null

Ticker symbol the request was scoped to, when applicable.

Example: "SCOM.KE"

Response codes

200Snapshot bundle. Single mode returns one snapshot under `data`; batch mode returns a symbol→snapshot map.
400Validation error (missing params, invalid symbol, batch > 50).
401Unauthorized.
404Single-symbol mode — symbol not found on the specified exchange.