This is a REST API fro African to search for countries, you can use it to search for African countries
search By | End Point |
---|---|
Search by name(partial name) it returns one country, eg: Ivory Coast is the country name: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/name/Côte d'Ivoire |
Search by capital(the country capital) returns one country, eg: Yamoussoukro is Ivory Coast capital: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/capital/Yamoussoukro |
Search by Calling Code it returns one country, eg: 225 is the calling call of Ivory Coast: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/callingcode/225 |
Search by alpha3Code it returns one country, eg: CIV is Ivory Coast alpha3Code: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/alpha3code/CIV |
Search by subregion, it returns a list of countries: there are 5 sub rebregion in Africa: a)Middle Africa b)Southern Africa c)Western Africa d)Northern Africa e)Eastern Africa eg: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/subregion/Western Africa |
Search by language: it returns a list of countries, eg: | https://africanountriesapi.herokuapp.com/africanCountries/rest/v1/language/french |