Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Get quotes — single symbol or batch (NSE, NGX, JSE, GSE, etc.)

Pan-African Market Data & Intelligence

GET

/market/quotes

Get quotes — single symbol or batch (NSE, NGX, JSE, GSE, etc.)

Sandbox availablegetBatchQuotes

Returns delayed price quotes for one or many stock/ETF symbols. Operates in two modes: Single-symbol mode (?symbol=X&exchange=Y) Both symbol and exchange are required. Returns a single data object. Batch mode (?symbols=X,Y,Z) Comma-separated list of exchange-qualified tickers (up to 50). exchange is optional as a filter. Returns data array and a not_found array for any symbols that could not be resolved. Also available at GET /market-data/quotes (identical handler).

Parameters

symbolstringquery

Single ticker symbol — exchange-qualified (e.g. SCOM.KE) or bare. Requires exchange. Use this or symbols, not both.

Example: SCOM.KE

symbolsstringquery

Comma-separated batch of up to 50 exchange-qualified ticker symbols (e.g. SCOM.KE,GLD.ZA,BAT.KE). Use this or symbol, not both.

Example: SCOM.KE,GLD.ZA

exchangestringquery

Exchange code (NSE, NGX, JSE, GSE, BRVM, ZSE, BSE, LUSE, EGX, DSE, USE, MSE, CSE, SEM). Required in single-symbol mode; optional filter in batch mode.

Example: NSE

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

See the response format and API Reference for this endpoint.

Response codes

200Quote response. Shape varies by mode: - **Single-symbol**: `data` is a single StockSummary object. - **Batch**: `data` is an array of StockSummary objects; `not_found` lists unresolvable symbols. Both modes include a `meta` block with `request_id` and `timestamp`.
400Validation error (missing required params, invalid symbol format, batch limit exceeded).
401Unauthorized.
404Symbol not found (single-symbol mode only).
429Rate limited.