mystocks
African Markets
mystocks.africa
A fully isolated test environment with real API parity. Start with $100,000 in virtual USD, trade African stocks across NSE, NGX, JSE, GSE, BRVM, LuSE and more — all without touching production data.
Instant settlement
No approval queues
9 exchanges
NSE · NGX · JSE · BRVM · LuSE
Isolated environment
Separate Firebase project
Pass your API key using either method:
Authorization: Bearer sk_sandbox_<your_key>x-api-key: sk_sandbox_<your_key>Create a sandbox account and get your API key.
POST /api/sandbox/v1/registerRequest body
{
"businessName": "Acme Corp",
"email": "dev@acme.com"
}View your wallet balance and account info.
GET /api/sandbox/v1/accountList all available sandbox stocks.
GET /api/sandbox/v1/stocksView your current holdings.
GET /api/sandbox/v1/portfolioExecute an instant BUY or SELL order.
POST /api/sandbox/v1/tradeRequest body
{
"symbol": "SCOM",
"exchange": "NSE",
"type": "BUY",
"quantity": 500
}Order history. Optional: ?symbol=SCOM&limit=20
GET /api/sandbox/v1/ordersReset your sandbox account to $100,000 with no holdings.
POST /api/sandbox/v1/resetBuy 500 shares of Safaricom (SCOM · NSE) in one curl command:
curl -X POST https://mystocks.africa/api/sandbox/v1/trade \
-H "Authorization: Bearer sk_sandbox_<your_key>" \
-H "Content-Type: application/json" \
-d '{"symbol":"SCOM","exchange":"NSE","type":"BUY","quantity":500}'Sandbox data is isolated from production. All prices are static test values. For production API access, contact partnerships@mystocks.africa