Get Country List

Basic Information

Interface Description: Get the list of countries supported by Thordata Residential Proxies or Unlimited Proxy Servers through the interface

Interface URL: https://api.thordata.com/api/locations/countries

Request Method: GET

Request parameters

Params:

Parameter name
Type
Required
Describe

token

string

Yes

Please log in to the Dashboard-MENU-My Account to view your token parameter value

key

string

Yes

Please log in to the Dashboard-MENU-My Account to view your key parameter value

proxy_type

number

Yes

Select the proxy type: 1 is Residential Proxies, 2 is Unlimited Proxy servers (default is 1)

Response example


{
    "code": 200,
    "data": [
        {
            "country_code": "AD",
            "country_name": "Andorra"
        },
        {
            "country_code": "AE",
            "country_name": "The United Arab Emirates"
        },
        {
            "country_code": "AM",
            "country_name": "Armenia"
        }
    ],
    "msg": "ok"
}  

If the returned code value is not 200, please check the error code description list and modify it.

Parameter name
Type
Required
Describe

code

number

No

-

data

object

No

-

country_code

string

Yes

Country code

country_name

string

Yes

Country name

msg

string

No

-

Last updated