Start Here
Africa API Documentation
API reference and examples for African country records, indicators, markets, trade, and government data.
Africa API provides country reference records, historical indicators and source-specific data such as exchange rates, trade flows and government records. Country and date coverage varies by dataset. See Coverage before building around a particular metric.
Make your first request
Create an API key and follow the quickstart. Data requests use bearer authentication and routes under /v1:
https://api.africa-api.com/v1/health and /v1/platform/version are public operational routes. See Authentication for key handling and protected requests.
Choose an endpoint
| What you need | Start with |
|---|---|
| Country codes, names and reference fields | Countries |
| A summary of available observations for one country | Signals |
| A metric definition or available country/year coverage | Indicators |
| Indicator values, time series or a specific source | Data |
| Exchanges, tickers, historical prices or FX | Markets |
| Trade partners, products or flows | Trade |
| Leaders, cabinets and leadership terms | Government |
| Election records or results | Elections |
| Policy documents and events | Policies |
Integration guides
Country pages
Choose between country records, profiles and signals.
Indicators and rankings
Discover metrics, query observations and rank countries by year.
Market data
Query supported exchanges, ticker histories and FX rates.
MCP server
Configure read-only API tools in a compatible AI client.
DataAfrica migration
Map selected api.dataafrica.io queries and check coverage differences.
World Bank API comparison
Compare query patterns and decide which data source fits your task.
For topic-specific examples, see Agriculture, Climate, Health, and the other domain guides in the sidebar.
Operate your client
- SDKs and clients: reuse authentication and request handling.
- Errors and Rate limits: handle failed requests and account quotas.
- Sources: inspect provenance, source terms and refresh records.
- Platform and Status: check release identity, source status and platform health.
FAQ covers plans, commercial use and other product questions.