Retrieve Countries API is an open-source REST API licensed under MIT that allows you to query data about countries, cities, and other relevant information worldwide. This API is continuously developing and growing.
Retrieves all country data with an option to exclude cities.
Parameters:
excludeCities
(optional): boolean
curl -X GET "https://countries.tica.cl/v1/all"
or exclude cities
curl -X GET "https://countries.tica.cl/v1/all?excludeCities=true"
For more information and other endpoints, please refer to the Postman API Documentation or Swagger Documentation.
This project is licensed under the MIT License. See the LICENSE file for more details.