Menu

Documentation

API Languages

Country Data API provides detailed information about +200 different countries

API Languages

The CountryDataAPI database contains data in several languages:

  • English: Use the code ‘en’ in the lang parameter of requests
  • Spanish: Use the code ‘es’ in the lang parameter of requests
  • French: Use the code ‘fr’ in the lang parameter of requests
  • German: Use the code ‘de’ in the lang parameter of requests
  • Portuguese: Use the code ‘pt’ in the lang parameter of requests

IMPORTANT

In cases of specific data queries such as in requests “All country data”, “All state data”, the lang variable will be used to distinguish countries with the same name between different languages.

Example:

If the country_name is “Spain” but the lang variable is es, the result will be empty. In this case, you should search for the country_name “España”

In the case of a country whose name in different languages is the same, such as “Antarctica”, using the lang variable will return only the country in that language