Pan-African stock market data for developers: exchanges, endpoints, and what you can build
A technical guide to getting live stock prices, indices, ETFs, and market movers from NGX, GSE, NSE, JSE, BRVM, and more via one API.
African stock markets have historically been hard to access programmatically. Every exchange has its own data vendor, its own format, and its own quirks — and most global market data APIs cover African markets poorly or not at all. This guide shows how to get live African stock market data through one API, with real code.
Which exchanges can you access?
| Code | Exchange | Country |
|---|---|---|
| NGX | Nigerian Exchange Group | Nigeria |
| GSE | Ghana Stock Exchange | Ghana |
| NSE | Nairobi Securities Exchange | Kenya |
| JSE | Johannesburg Stock Exchange | South Africa |
| BRVM | Bourse Régionale des Valeurs Mobilières | West Africa (UEMOA) |
| DSE | Dar es Salaam Stock Exchange | Tanzania |
| LUSE | Lusaka Securities Exchange | Zambia |
Getting started
The base URL is https://mansaapi.com and every request uses a Bearer token.
curl https://mansaapi.com/api/v1/markets/exchanges \
-H "Authorization: Bearer YOUR_API_KEY"Live stock prices on an exchange
curl "https://mansaapi.com/api/v1/markets/exchanges/NGX/stocks?limit=20&sort_by=change_pct&order=desc" \
-H "Authorization: Bearer YOUR_API_KEY"Pan-African movers in one call
The standout endpoint: top gainers and losers across every live exchange in a single request — no need to query each market separately.
curl https://mansaapi.com/api/v1/markets/movers/pan-african \
-H "Authorization: Bearer YOUR_API_KEY"Using the Node.js SDK
import { MansaAPI } from "mansaapi";
const mansa = new MansaAPI({ apiKey: "mansa_live_sk_..." });
// Pan-African movers
const movers = await mansa.markets.getPanAfricanMovers({ limit: 10 });
// NGX banking stocks
const stocks = await mansa.markets.getStocks("NGX", { sector: "Banking" });
// NGX index universe
const indices = await mansa.markets.getIndices("NGX");
// Search across all exchanges
const results = await mansa.markets.search("Safaricom");What you can build
Portfolio trackers, market dashboards, trading terminals, research tools, and AI agents that reason over African market data. Because the schema is identical across exchanges, your code doesn't change when you add a new market — query NGX today, add JSE tomorrow with the same parser.
updated_at timestamp on every response. Premium endpoints (dividends, disclosures, broker recommendations, insider trades) are available on Starter and Pro tiers.Next steps
Read the African stock market API page, explore the markets suite docs, or get a free key and run your first call in under five minutes.