Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

OHLCV price history (deprecated alias)

Pan-African Market Data & Intelligence

GET

/market-data/ohlcv

OHLCV price history (deprecated alias)

Sandbox availableDeprecatedgetOhlcv

Deprecated alias of GET /market/ohlcv — same handler, parameters, and response shape. Existing integrations keep working; use /market/ohlcv in new code.

Parameters

symbolstringqueryRequired

Example: SCOM.KE

exchangestringqueryRequired

Example: NSE

interval1dquery

Example: 1d

fromstringquery
tostringquery

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

See the response format and API Reference for this endpoint.

Response codes

200See `GET /market/ohlcv`.