Online Chat

API documentation

A、Log in request

HTTP Reqeust:http get/post
Address:http://dvapi.doveip.com/cmapi.php?rq=login
Request parameters:
user:username*
password:password*
Sample Return:
{
    "errno": 200,
    "msg": "Success",
    "data": {
        "token": "Q1FscUtMZzNJNjZubWFFTmpIMVEzUmxGdEZD"
    }
}
Note: token is valid for a long time
//Return errno reference
200:Success
800:Account has been banned
801:User does not exist
802:Incorrect username/password
803:Username and password cannot be empty

B、Request to get IP

HTTP Reqeust:http get/post
Address:http://dvapi.doveip.com/cmapi.php?rq=distribute
Request parameters:
user:username*
token:User login interface access*
geo:get country ip*    

city:Designated country city number (optional)    
accurate:Specify how to get IP (default 0, get IP according to GEO parameter; 1. Get similar IP based on the geographical location of selfip parameter.)
selfip: Fill in the reference IP (no need to fill in when accurate is 0, but mandatory to fill in when accurate is 1)
timeout:Valid time (optional, 1. Mobile agent,unit minute, default 10, minimum 5, maximum 20;2. Dynamic Residential,unit minute, default 60, minimum 60, maximum 180)
auth:authentication method (optional, by default 0, IP whitelist authentication, 1, user password authentication), *We recommend that you use: 1,User password authentication
agreement:Agency agreement(optional, default 0,Socks5 protocol proxy,1,HTTP protocol proxy)
repeat: repeated IP can be acquired within 24 hours (optional, default 0, do not acquire repeated IP, 1, acquire repeated IP)
num:Get the Number of IPs (optional, default 1, up to 10 at a time)
Sample return: IP whitelist authentication(Single)
{
    "errno": 200,
    "msg": "Success",
    "data": {
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
    }
}
Sample return: IP whitelist authentication(Multiple)
{
    "errno": 200,
    "msg": "Success",
    "data": [{
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
    },{
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
    }]
}
Sample return:user password authentication(Single)
{
    "errno": 200,
    "msg": "Success",
    "data": {
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
        "username": "zhangsan"
        "password": "1asfadqdax"
    }
}
Sample return:user password authentication(Multiple)
{
    "errno": 200,
    "msg": "Success",
    "data": [{
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
        "username": "zhangsan"
        "password": "1asfadqdax"
    },{
        "geo": "mx", //Country
        "ip": "47.253.12.97", //Proxy IP
        "port": 40076, //Proxy port
        "d_ip": "201.162.169.86" //Target IP
        "timeout": 600 //Effective time(s)
        "username": "zhangsan"
        "password": "1asfadqdax"
    }]
}
//Return errno reference
200:Success
800:Account has been banned
801:User does not exist
802:Incorrect username/password
803:Username and password cannot be empty
902:Incorrect parameter
903:Invalid country code
904:Invalid type
906:IP list is empty
403:Insufficient account balance
408:selfip cannot be empty
409:The frequency of getting IP request is too high, please try again later
500:The IP token has been created, please get it from a new one
400:Failure, system error

Examples:
Support sock5 protocol
How to use IP whitelist authentication
curl --socks5 ip:port https://www.google.com
How to use user password authentication
curl --socks5 ip:port -U username:password https://www.google.com

Warning:
The proxy IP obtained through IP whitelist authentication can be used by the local public network IP which is used to obtain the proxy IP and the IP from the whitelist list. Use the command line window to view the public network IP: curl cip.cc

C、Request to get user account information

HTTP Request:http get/post
Address:http://dvapi.doveip.com/cmapi.php?rq=getUserInfo
Request parameters:
user:username*
token:User logged in successfully*
Sample Return:
{
    "errno": 200,
    "msg": "Success",
    "data": {
        "username": "gaozy",
        "points_now": "99599", //user current token balance
        "sys_group_id": "VIP1",//user level
        "cellphone": "13521192700",
        "email": "[email protected]"
    }
}
//Return errno reference
200:Success
801:User does not exist
803:Username and password cannot be empty