Get choosable countries
Returns all countries available for selection.
Country names are localized according to the requested ISO 639-1 language code.
If no countries are found for the requested language, the endpoint still returns HTTP 200 with an empty data array.
/api/choosable-countrieslangstringISO 639-1 language code. Defaults to English.
Countries found, or no countries available for the requested language.
servicestringrequiredName of the API service.
api_versionstringrequiredAPI version.
response_typestringrequiredIdentifier of the response type.
statusintegerrequiredHTTP status code of the response.
200timestampstring<date-time>requiredTime at which the response was generated.
metadataGetChoosableCountries.ChoosableCountriesMetadataMetadata returned by the choosable countries endpoint.
Show propertiesHide properties
country_countintegerNumber of countries returned.
languagestringISO 639-1 language code used for localization.
response_time_msintegerServer-side response time in milliseconds.
dataGetChoosableCountries.Country[]requiredList of available countries.
Show propertiesHide properties
GetChoosableCountries.Countrycountry_codestring | anyrequiredISO 3166-1 alpha-3 country code.
Show propertiesHide properties
stringanycountry_namestring | anyrequiredLocalized country name.
Show propertiesHide properties
stringanymessagestringHuman-readable response message.
Internal server error.
servicestringrequiredName of the API service.
api_versionstringrequiredAPI version.
response_typestringrequiredIdentifier of the response type.
statusintegerrequiredHTTP status code of the response.
500timestampstring<date-time>requiredTime at which the response was generated.
metadataGetChoosableCountries.ChoosableCountriesMetadataMetadata returned by the choosable countries endpoint.
Show propertiesHide properties
country_countintegerNumber of countries returned.
languagestringISO 639-1 language code used for localization.
response_time_msintegerServer-side response time in milliseconds.
dataanyResponse payload.
Show propertiesHide properties
anyanymessagestringHuman-readable response message.