Developer API

Please note that the API only works for getting new proxy from "ProxyList", and can not be used to reuse the proxy from "TodayList". The following are how to use the API and examples

After login to the software, swich to AutoProxy tab, select "Use API" from "API settings" and you need to keep the software staying logged in when you use the API:

In the software's root folder, there's a sub folder: "proxytool" and there's a file "Autoproxytool.exe" in it

Using your soft/script which want to implement the api to launch "Autoproxytool.exe" with the following parameters, then you are able to change proxy automatically´╝Ü

Autoproxytool.exe -changeproxy/all use a random proxy from any countries

Autoproxytool.exe -changeproxy/US use a random proxy from US

Autoproxytool.exe -changeproxy/US/NY use a random proxy from US, state: NewYork

Autoproxytool.exe -changeproxy/US/NY/New York City use a random proxy from US, state: NewYork, city: New York City

For country you need to enter the country ISO alpha-2 code, if you have no idea, you can google: country ISO alpha-2 code

 

-citynolimit you can use the parameter like this:

Autoproxytool.exe -changeproxy/US/NY/New York City/ -citynolimit

Which means the API system will firstly try to get a proxy from the City you set(New York City) for higher priority, Only if there's no proxy available from that City, then it will try to get a proxy from the State you set(NY). If proxy is available from that City, it wont try from the State(NY)

 

Autoproxytool.exe -changeproxy/ -ip=123.123.123.123

Get a proxy by ip. You can replace * in the ip address to get any proxy from that ip block, e.g: Autoproxytool.exe -changeproxy/ -ip=123.123.*.* or Autoproxytool.exe -changeproxy/ -ip=123.*.*.*

 

Autoproxytool.exe -proxyport=

Forward a proxy to a port, the port need to be in the "port forward" range in software "Settings", Each time using the parameter will result in replacing a new proxy to this port

Autoproxytool.exe -freeport=

Free the port and unload the proxy

Autoproxytool.exe -proxyport=all

Forward proxies to all the ports in the "port forward" range in software "Settings", Each time using the parameter will result in replacing new proxies to all these ports

Autoproxytool.exe -freeport=all

Free all the ports and unload all the proxies

Autoproxytool.exe -isp=

Use a random proxy from the isp

Autoproxytool.exe -zip=

Use a random proxy from the zip location

 

And these parameters mentioned above can be used as a combo, some examples:

Autoproxytool.exe -changeproxy/US/NY/New York City -proxyport=5000

Autoproxytool.exe -changeproxy/US/NY -proxyport=all

Autoproxytool.exe -changeproxy/US/NY -isp=Time Warner Cable

Autoproxytool.exe -changeproxy/US -zip=92626

Autoproxytool.exe -changeproxy/US/NY -isp=Time Warner Cable -proxyport=5000

Autoproxytool.exe -changeproxy/US -zip=92626 -proxyport=5000

 

-hwnd=

With using -hwnd= parameter, Autoproxytool.exe will send WM_COPYDATA message to your soft which launches Autoproxytool.exe, so that your soft is able to get postcheck and more info of the proxy, you also need to pass the Window Handle of your soft which launches Autoproxytool.exe and Autoproxytool.exe will send you WM_COPYDATA message with the following format and info:

1. if the proxy successful get by api:

success|ip|Ping|ProxyCountry|ProxyState|ProxyCity|911s5 account balance

2. if the proxy failed to get by api:

failed|reason for failure

Some examples of how to use it:

Autoproxytool.exe -changeproxy/US/NY/New York City -hwnd=YOUR SOFT'S WINDOW HANDLE

Autoproxytool.exe -changeproxy/US/NY/New York City -citynolimit -hwnd=YOUR SOFT'S WINDOW HANDLE

Autoproxytool.exe -changeproxy/ -ip=123.123.*.* -hwnd=YOUR SOFT'S WINDOW HANDLE

Autoproxytool.exe -changeproxy/US/NY/New York City -proxyport=5000 -hwnd=YOUR SOFT'S WINDOW HANDLE

Autoproxytool.exe -changeproxy/US/NY -isp=Time Warner Cable -proxyport=5000 -hwnd=YOUR SOFT'S WINDOW HANDLE

Autoproxytool.exe -changeproxy/US -zip=92626 -proxyport=5000 -hwnd=YOUR SOFT'S WINDOW HANDLE

 

Auto change proxy from the software:

In "AutoProxy" tab, the features of "AutoProxy Settings" its not for API, its designed for auto swiching proxy according to the configs, you can set the frequency to auto change proxy and set delay of time range to auto launch your program, etc. For using this feature, you need to unselect "Use API" from "API Settings"