African country data through one REST API.
Query country profiles, indicators, exchange rates, trade and government records. Check the coverage guide for available countries, metrics and reporting periods.
$ curl https://api.africa-api.com/v1/countries/ke/profile -H "Authorization: Bearer $AFRICA_API_KEY"Free tier: 1,000 requests/month · no card required · see pricing
Data from named upstream sources
Choose an endpoint
Protected endpoints use bearer-token authentication. Each reference lists its parameters and response fields. Start with Countries, Agriculture, or Policies.
Get selected indicators, prices, FX rates, market data and government records for one country. Available fields and reporting periods vary by source.
Other endpoints
Look up codes, capitals, currencies, languages and profiles for 54 African countries.
Query indicators by country, year and source, or request the latest available values.
Query trade totals, partner flows and product categories for the countries covered.
Search laws and policy documents, and look up adoption, implementation and repeal events.
How it works
Create a key, then run the example request.
Get an API key
Create an account in the dashboard, generate a key once, and reuse the same bearer-token pattern across the platform.
Request country data
Use signals for a country summary, profiles for reference data, or /v1/data to query specific metrics and years.
curl -H "Authorization: Bearer $AFRICA_API_KEY" https://api.africa-api.com/v1/countries/ng/signalsCheck coverage and sources
Check which countries and reporting periods are available for your metric. Use source metadata to understand where an observation comes from.
Inspect the data and API
Browse the data, read the reference and check source metadata before integrating.
Browse the data
Explore country profiles, indicator rankings and available history. The pages include API request examples.
Open the explorer ->Versioned /v1 routes
Public routes use /v1 paths. Changes are intended to be additive where possible; check the reference for each endpoint.
Source metadata
Observation responses include source and reporting-period fields. Check source metadata before comparing figures.
Sources & methodology ->Official MCP server
Run the local MCP server with npx and an API key. The guide includes setup commands for supported clients.
Transparent pricing
The Free plan includes 1,000 requests a month with no card required. Paid plans have higher request and key limits.
See pricing ->Status you can check
Check the public health endpoint. Authenticated requests provide source refresh details.
API status ->Connect an MCP client
The MCP server provides read-only tools for country data, indicators, markets, trade and government records. See the guide for client setup and runtime requirements. Machine-readable documentation is available at llms.txt.
claude mcp add africa-api -e AFRICA_API_KEY=your-key -- npx -y africa-api-mcpMake your first API request
Create an API key and run the quickstart request. The Free plan includes 1,000 requests a month, with no card required.