About this endpoint
What it does
Returns a list of countries as a JSON object containing a data array. Each array item is a country object with country codes, emoji, name, optional currency details, and calling codes as declared in the response schema.
Response
Returns a JSON object with a data array field. Each item in data is an object describing a country. The schema does not declare a specific success status code.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object Array | Yes | List of country objects. Each item includes key, cca3, emoji, value, optional currency, and calling_codes. |
| data[].key | String | No | ISO 3166-1 alpha-2 country code. |
| data[].cca3 | String | No | ISO 3166-1 alpha-3 country code. |
| data[].emoji | String | No | Country flag emoji. |
| data[].value | String | No | Country name. |
| data[].currency | Object | No | Currency information for the country. |
| data[].currency.key | String | No | ISO 4217 currency code. |
| data[].currency.emoji | String | No | Currency emoji. |
| data[].currency.value | String | No | Currency name in English. |
| data[].currency.symbol | String | No | Currency symbol. |
| data[].calling_codes | String Array | No | Country calling codes. |