Home

APIs

Comprehensive REST and WebSocket APIs for accessing African data.

Waafrika provides comprehensive APIs for accessing African market, commodity, and demographic data. All APIs follow RESTful principles with consistent schemas, comprehensive documentation, and interactive examples.

Market Data API

Access real-time and historical data from African stock exchanges including JSE, NSE, EGX, and more.

GET /v1/markets/quotesGET /v1/markets/historicalGET /v1/markets/indicesWS /v1/markets/stream

Commodities API

Gold, oil, natural gas, metals, and agricultural commodities from across Africa.

GET /v1/commodities/pricesGET /v1/commodities/historicalWS /v1/commodities/stream

Demographics API

Population, census, and socio-economic data for all 54 African countries.

GET /v1/demographics/populationGET /v1/demographics/censusGET /v1/demographics/socioeconomic

Reference Data API

Symbols, identifiers, corporate actions, and static reference datasets.

GET /v1/reference/symbolsGET /v1/reference/corporate-actionsGET /v1/reference/currencies

Authentication

All APIs use API key authentication. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Get your API key by signing up for a free account or contact sales for enterprise access.

Rate limits

Free tier: 1,000 requests/day. Pro tier: 100,000 requests/day. Enterprise: Custom limits. Rate limit headers are included in all responses.

Documentation

Interactive API documentation with examples, schemas, and SDKs available in multiple languages.