Soket127.0.0.1
Soket4233
Attribute | Type | Description |
---|---|---|
Type | string |
(,):GetLocal ,GetWebLocal ,GetWebCreate ,ResetIP IP,StartPort ,StopPort ,SelectAreas
|
Data | object |
() |
Attribute | Type | Description |
---|---|---|
PageIndex | int |
|
PageSize | int |
|
PageTotal | int |
|
CountTotal | int |
|
SearchText | string |
Attribute | Type | Description |
---|---|---|
Country | string |
|
CountryCode | string |
|
City | string |
|
CityCode | string |
|
State | string |
|
StateCode | string |
Attribute | Type | Description |
---|---|---|
Status | bool |
:true false
|
Message | string |
[,] |
AddressList | List |
[] |
ProxyData | List |
[] |
Limit | PageListLimit |
[] |
Request
{
"Type":"GetLocal",
"Data":null
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":["127.0.0.1:5000","127.0.0.1:5001"],
"Limit":null
}
Request
xxxxxxxxxx
{
"Type":"GetWebLocal",
"Data":{
"City":"",
"Country":"",
"State":"",
"Limit":{
"PageIndex":0,
"PageSize":10,
"PageTotal":0,
"CountTotal":0,
"SearchText":""
}
}
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":["Country|City|State|Status|127.0.0.1:5000","Country|City|State|Status|127.0.0.1:5000"....],
"AddressList":null,
"Limit":{
"PageIndex":0,
"PageSize":10,
"PageTotal":5,
"CountTotal":55,
"SearchText":""
}
}
GetWebCreate
City CityCode
Country CountryCode
State StateCode
Num
Rule
代理旋转IP规则["0":IP地址5-30分钟旋转一次],["1":每次请求都更换IP,选择该值后Num将失效只会返回一个链接],["2":IP地址1-6小时旋转一次]
Request
xxxxxxxxxx
{
"Type":"GetWebCreate",
"Data":{
"City":"",
"Country":"",
"State":"",
"Num":5,
"Rule":"0"
}
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":["Country|City|State|Status|127.0.0.1:5000","Country|City|State|Status|127.0.0.1:5000"....],
"AddressList":null,
"Limit":null
}
ResetIP IP[]
int
Request
xxxxxxxxxx
{
"Type":"ResetIP",
"Data":5000
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":null,
"AddressList":null,
"Limit":null
}
StartPort
int
Request
xxxxxxxxxx
{
"Type":"StartPort",
"Data":5015
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":null,
"AddressList":null,
"Limit":null
}
StopPort
int
xxxxxxxxxx
{
"Type":"StartPort",
"Data":5015
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":null,
"AddressList":null,
"Limit":null
}
SelectAreas
Language "EN","CN";
Opr
值只有三种 0,1,2;[0:时查询所有支持的国家][1:需要填写Code的值返回 国家为Code下面的州信息],[2:需要填写Code和State的值返回
国家为Code州为State下面的城市信息]
Code Code
State Code
Request
xxxxxxxxxx
{
"Type":"SelectAreas",
"Data":{
"Language":"EN",
"Opr":"0",
"Code":"",
"State":""
}
}
Response
xxxxxxxxxx
{
"Status":true,
"Message":"",
"ProxyData":null,
"Limit":null,
"AddressList":[
{"Country":"","CountryCode":"","City":"","CityCode":"","State":"","StateCode":""}.......
]
}