獲取國家列表
基礎信息
接口說明:通過接口獲取Thordata住宅代理或無限代理伺服器支持的國家列表
請求地址:https://api.thordata.com/api/locations/countries
請求方式:GET
請求參數
Params:
參數名稱
參數类型
是否必須
描述
proxy_type
number
必須
選擇代理類型:1是住宅代理,2是無限代理伺服器(默認為1)
響應示例
{
"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"
}
参数名称
参数类型
是否必須
描述
code
number
非必須
-
data
object
非必須
-
country_code
string
必須
國家代碼
country_name
string
必須
國家名稱
msg
string
非必須
-
Last updated