Olery Developer Portal logo Olery Developer Portal

Method Path
GET https://agora.olery.com/v2/countries

This route returns a list of all the available countries.

Output Format

The data is returned as an Array of objects in the data key. Each object has the following fields:

Field Data Types Description
name String The name of the country.
code String The ISO 3166 A2 code of the country.

Sort Order

The data is sorted in ascending order on the “code” field.

Example Output

    {
        "data": [
            {
                "name": "Germany",
                "code": "DE"
            },
            {
                "name": "The Netherlands",
                "code": "NL"
            }
        ]
    }

Response Statuses

Status Code Reason
200 OK

Response Fields

Field Data Types Description
data Array The list of countries.