API docs

ProxyTee API is served at https://api.proxytee.com.
ProxyTee authenticates an API request via Auth-Token in header.
Each user account has one Auth-Token which can be accessed and reset at API key.
All API requests are POST. Both input and output formats are JSON.
If a request is processed succesfully, server will return JSON string {"error": 0}.
Otherwise, it will return {"error": error_code_as_integer, "message": error_message_as_string}.
3.1 Set whitelist for a proxy
POST /v1/set-whitelist/
Input: {"address": string, "ips": list_of_string}
• address of a proxy can be found in Proxy Dashboard
• ips is the list of IPs to be allowed to access to proxy
Output: {"error": integer, "message": optional_string}
3.2 Set username and password for a proxy
POST /v1/set-userpass/
Input: {"address": string, "userpass": string:string}
• address of a proxy can be found in Proxy Dashboard
• userpass must be in format username:password. Setting userpass will override the whitelist setting. To clear this setting, use empty string.
Output: {"error": integer, "message": optional_string}
3.3 Set country for a proxy
POST /v1/set-country/
Input: {"address": string, "country": csv_string}
• address of a proxy can be found in Proxy Dashboard
• country is CSV string of 2-char country codes in ISO 3166
Output: {"error": integer, "message": optional_string}
3.4 Set rotation period for a proxy
POST /v1/set-rotation/
Input: {"address": string, "rotation": integer}
• address of a proxy can be found in Proxy Dashboard
• rotation is integer in range 2-120 minutes depending on the package
Output: {"error": integer, "message": optional_string}