The seo-proxies.com API documentation, free tools and source code

The API documentation

	Our API can be used to integrate automated proxy handling into tools, macros and scripts.
	You could even create a bookmark in your browser to change your external IP on the fly!
	Disclaimer: you may not use our API for illegal activities and you may only use our API if you own an active license
	or have got written permission to do so.
	Hint: When configuring a tool, browser or script make sure you add our domain (www.seo-proxies.com) as proxy exception
	
	

Through the API you can do these actions

* take IPs from the IP pool * start a proxy * stop a proxy * rotate your proxy to a random IP (IPs that were not used for a longer time are favored against IPs you used more recently) * rotate your proxy to a specific IP * verify your external IP

General

The API The API is a HTTP protocol, that means you can access it through a browser, a TCP session, CURL or similar. All API calls require: your userid,your encrypted password, a command name and optional parameters Your API password: d24479f7966bddb4e57451b8e35bb16d Your API userid : -1 Your first Proxy-Port : 7999 The proxies The protocol of your proxy is the HTTP or the SOCKS protocol. You can switch the protocol in your profile at any time. All proxies run on the host "proxy.squabbel.com" , your first proxy port is 7999 . It might look complicate in the first place but actually it is very easy: You simply configure proxy.squabbel.com:7999 as HTTP proxy! The external IP of the proxy is auto-tunneled by our server as you define it (rotate to a random IP or rotate to a specified IP) Each started proxy has a lifetime of 7 hours, after that you have to start it again. Proxy authentication Our proxies are authenticated by your IP address. This happens when you rotate or start the proxy.
This means that you do not have to configure any passwords or logins, all you need is to start the proxy and it will work.

Using the API

The API listens for HTTP GET requests, the below examples already include your current encrypted password and your userid. The base of all API calls: http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd= API commands "hello" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=hello) The API call 'hello' can be used to test if the license is valid without changing anything. A successful response is "HELLO:xx:yy" where xx is the total number of IPs in the license and yy the currently assigned IP count If the license is not ready it will return "ERROR:$code:$reason" or "HELLO:0:0" "rotate" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=rotate) When using the API call 'rotate' then the first started proxy is stopped and replaced by another proxy. In case you had no proxy running a proxy is started for you. In most cases all you need for your API integration is the rotate command! Optional parameters: &ip_wish=xxx.xxx.xxx.xxx , this requests the specific IP to be used for rotation &authip=xxx.xxx.xxxx.xx , this requests a different authorization IP than your own one &randomness=0 , by default the rotation sort-order is based on the last-usage time. The last-usage time has a 5 hours fuzziness applied, so rotation sequences are mixed up a bit. randomness=0 removes the 5h fuzziness. &offset=X , if your license allows multiple proxies you can use this parameter to control a specific proxy. 0 is default (the first proxy) Return values: ERROR:102:STOP FAILED:$IP_ADDRESS : this might happen when the server experiences high load and can not stop your proxy ERROR:104:PROXY START FAILED:$IP_ADDRESS : this might happen when the server experiences high load and can not start your proxy ERROR:103:NO NEW IP FOUND : this return value is currently not available and will be ready in future ROTATE:$PROXY_IP:$PORT:$IP_ADDRESS : rotation successful. IP authentication for $AUTH_IP. Proxy runs on proxy.squabbel.com:$port and has the external IP $IP_ADDRESS "start" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=start&name=) This command is used to start a specific IP, the use of "rotate" is recommended!. The ip to start has to be supplied as parameter &name=xx.xx.xx.xx Return values: ERROR:301:Starting unknown/foreign proxy not allowed : the specified IP is not within your allocated IPs or unknown ERROR:303:Proxy is already started or starting : the specified IP is already booting up (usually a matter of 2-5 seconds) ERROR:106:PROXY START FAILED:$IP_ADDRESS : indication of high load on the server, try again in 10 seconds. START:$PROXY_IP:$PORT:$IP_ADDRESS : start of IP succeeded, the proxy runs through proxy.squabbel.com:$PORT "stop" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=stop&name=) This command is used to stop a running proxy once you are finished, this is only required when managing IPs without the use of the "rotate" cmd The parameter &name=xx.xx.xx.xx is required, to tell the API which Proxy to stop. Return values: ERROR:501:Proxy not found running:$IP_ADDRESS : the specified proxy is not started ERROR:102:STOP FAILED:$IP_ADDRESS : indication of high load on the server STOP:FINISHED:$IP_ADDRESS : stop finished successfully "comment" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=comment&ip=&text=) This command can be used to add, change, remove and view comments on a selected IP The parameter &ip=xx.xx.xx.xx is required, to tell the API which Proxy to check. The parameter &text=html_encoded_text, is used to change or remove the comment The parameter &view is used to view the selected comment Return values: COMMENT:Changed COMMENT:Removed COMMENT:comment text information "status" (http://www.seo-proxies.com/api.php?api=1&uid=-1&pwd=d24479f7966bddb4e57451b8e35bb16d&cmd=status) This command will give an overview about the currently started proxies The first line contains the number of started proxies (STATUS_RUNNING:$NUMBER_OF_RUNNING_PROXIES) Subsequent lines contain information about the started proxies, information pieces are separated by ":" (STATUS_PROXY:$EXTERNAL_IP:$PROXY_HOSTNAME:$PROXY_PORT:$PROXY_TYPE:$PROXY_COMMENT:$SECONDS_SINCE_START) For example: STATUS_PROXY:1.2.3.4:proxy.squabbel.com:10000:http:some comment text:60 Please note: more information might be added by future API versions. To detect you external IP we offer this free script: http://squabbel.com/ipxx.php , it will return back your current IP address. See the php CURL example below as example. The same code can easily be converted into C,C++ or similar programming languages. The commands for activating IPs from the "subnet pool" are currently not supported for customers, this might be useful for resellers in future.

Example source code

PHP code for a professional multipage and keyword expanding Google search result scraper

Scraping Google for Fun and Profit

Premium tool: a professional Digg bot including Captcha solving written in C++

Tiny Digg Bot

API code for a PHP script to rotate/start a proxy:

Example code for a console PHP script to test the external IP after rotation:

Example code for an imacros - myspace account creation script


Support for CLAD Genius


CLAD Genius supports automated proxy rotation through the seo-proxies.com API
There is no need for hacks and scripts anymore, all you need to do is to follow these simple instructions:
1. Start Clad Genius and click the configuration Icon on the upper right side 2. Go to the section "seo-proxies" and activate the checkbox. 3. Enter your userid (-1) and api password (d24479f7966bddb4e57451b8e35bb16d) into the two fields 4. Click the "Test" button, it should now obtain one IP from your pool and start it 5. Now head to the configuration of account creation and ad posting and setup seo-proxies as 1st proxy-rotation method (In settings, you have to go to Posting>Craigslist>Internet and then click on Change to set up the proxy priority rotation.) That's it, now CLAD G. is using your exclusive proxies