llms.txt Content
# Africa API
> One REST API for all 54 African countries: economic indicators, FX and markets, trade, elections, policies, and current country signals. Free API key.
## Core URLs
- Website: https://africa-api.com/
- Documentation: https://africa-api.com/docs
- Full docs as plain text: https://africa-api.com/llms-full.txt
- API Base URL: https://api.africa-api.com
- OpenAPI Schema: https://api.africa-api.com/openapi.json
- MCP server: https://www.npmjs.com/package/africa-api-mcp (run with `npx -y africa-api-mcp`)
- Free API key: https://africa-api.com/dashboard
- Repository: https://github.com/africa-api/africa-api
## Data Explorer (free to browse, no key required)
- 203 indicators ranked across all 54 African countries, each with history, sources, and a JSON API call: https://africa-api.com/data
- Per-country profiles of key indicators, e.g. https://africa-api.com/data/nigeria or https://africa-api.com/data/kenya
- Per-country per-indicator pages, e.g. https://africa-api.com/data/nigeria/inflation
- Currency converter — USD to 19+ African currencies at official rates with history: https://africa-api.com/convert
- Query any figure directly: https://api.africa-api.com/v1/data?metric_key=<key>&latest=true
### Indicator rankings (one page per metric, all 54 countries)
### Economy
- [GDP by African country](https://africa-api.com/data/gdp): Gross domestic product in current US dollars.
- [GDP per Capita by African country](https://africa-api.com/data/gdp-per-capita): Gross domestic product divided by mid-year population, in current US dollars.
- [Inflation Rate by African country](https://africa-api.com/data/inflation): Latest year-on-year consumer price inflation.
- [Central Bank Policy Rate by African country](https://africa-api.com/data/central-bank-rate): The central bank's headline monetary policy rate.
- [Official Exchange Rate by African country](https://africa-api.com/data/exchange-rate): Official local currency units per US dollar.
- [Budget Balance by Afri