Interface documentation
English
English
  • Public API
    • Introduce
      • Get token and key
    • Account
      • Query Traffic Balance
      • Query Wallet Balance
      • Query Traffic Usage Records
    • Location
      • Get Country List
      • Get State List
      • Get City List
      • Get ASN List
    • Proxy Users
      • Get Proxy Users List
      • Add Proxy Users
      • Update Proxy Users Information
      • Delete Proxy Users
      • Query Traffic Usage Records
    • Whitelist IPs
      • Get Whitelist IPs List
      • Add Whitelist IP
      • Delete whitelist IP
    • ISP / Datacenter Proxies
      • Get Proxy IP List
      • Query Proxy IP Expiration Time
    • Unlimited Proxy Servers
      • Get Unlimited Proxy Server List
      • Restart Unlimited Proxy Server
      • Get Unlimited Proxy Server Monitor
      • Unlimited Proxy Server Renewal
      • Unlimited Proxy Server Upgrades
    • API Extract Links
      • Residential Proxies
      • Unlimited Proxy Servers
  • CDK
    • Create CDK
    • Get CDK List
    • Revoke CDK
    • Get CDK Details
  • Error Code
    • Error code description
Powered by GitBook
On this page
  • Basic Information
  • Request parameters
  • Response example
  1. Public API
  2. Location

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

key

string

Yes

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"
}  
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

-

PreviousLocationNextGet State List

Last updated 2 months ago

Please log in to the to view your token parameter value

Please log in to the to view your key parameter value

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

error code description list
Dashboard-MENU-My Account
Dashboard-MENU-My Account