Communication with the API is carried out using the URL:
Any charges will be deducted from your account balance!
Available methods:
When accessing any API method, the status will always be present in the response:
{
"status": "ok"
}
{
"status": false,
"error_id": 100,
"error": "Error key"
}
Method "getcategory":
Get a list of available categories
Arguments:
{
"status": "ok",
"list": [
{
"id": "for_al",
"name": "List of all sites"
}
]
}
Method "getprice"
Used to obtain information about the order amount (the price) depending on the period and the number of proxies.
Arguments:
In the argument above we are obtaining information on the price of 100 IPv4 proxies for 30 days.
{
"status": "ok",
"price": 1800,
"price_single": 0.6,
"period": 30&,
"count": 100
}
Method "getcount"
Used to obtain information on the number of proxies for a particular country that are available for purchase.
Arguments:
In the example above we are obtaining information about the number of Russian IPv4 proxies available for purchase.
{
"status": "ok",
"count": 971,
}
Method "getcountry":
Used to obtain information about countries available for purchase.
Arguments:
{
"status": "ok",
"list": "["ru","ua","us"]",
}
Method "getproxy":
Used to obtain a list of your proxies.
Arguments:
{
"status": "ok",
"list_count": 4,
"list": {
"11": {
"id": 11,
"ip": "185.22.134.250",
"port": "7330",
"user": "5svBNZ",
"pass": "iagn2d",
"type": "http",
"country": "ru",
"date": "2016-06-19 16:32:39",
"date_end": "2016-07-12 11:50:41",
"unixtime": 1466379159,
"unixtime_end": 1468349441,
"descr": "",
},
"14": {
"id": 14,
"ip": "185.22.134.242",
"port": "7386",
"user": "nV5TFK",
"pass": "3Itr1t",
"type": "http",
"country": "ru",
"date": "2016-06-27 16:06:22",
"date_end": "2016-07-11 16:06:22",
"unixtime": 1466379159,
"unixtime_end": 1468349441,
"descr": "",
}
}
}
Method "setipauth":
Used to specify IP addresses from which you can authorize on the proxy (up to 3 pcs)
Arguments:
{
"status": "ok",
}
Method "settype":
Used for changing the type (protocol) in the list of proxies.
Arguments:
In the example above we are changing the proxy type for numbers 10,11,12,15 to SOCKS5.
{
"status": "ok"
}
Method "setdescr":
Arguments:
One of the arguments, either ids or old_comment, must be supplied.
In the example above we are changing the comment from test to newtest.
{
"status": "ok",
"count": 4
}
Method "buy":
Used to purchase proxies.
Arguments:
In the example above we are purchasing 1 Russian IPv4 proxy for 7 days.
{
"status": "ok",
"user_id": 1,
"balance": 42.5,
"currency": "RUB",
"count": 1,
"price": 6.3,
"price_single": 0.9,
"period": 7,
"country": "ru"
"list": {
"15": {
"id": 15,
"ip": "2a00:1838:32:19f:45fb:2640::330",
"host": "185.22.134.250",
"port": "7330",
"user": "5svBNZ",
"pass": "iagn2d",
"type": "http",
"date": "2016-06-19 16:32:39",
"date_end": "2016-07-12 11:50:41",
"unixtime": 1466379159,
"unixtime_end": 1468349441,
"active": 1
}
}
}
Method "prolong":
Used to extend the current proxies.
Arguments:
In the example above we are extending the proxies with numbers 15 and 16 for 7 days.
{
"status": "ok",
"user_id": 1,
"balance": 42.5,
"currency": "RUB",
"price": 12.6,
"price_single": 0.9,
"period": 7,
"count": 2,
"list": {
"15": {
"id": 15,
"date_end": "2016-07-12 11:50:41",
"unixtime_end": 1468349441
},
"16": {
"id": 16,
"date_end": "2016-07-16 09:31:21",
"unixtime_end": 1466379261
}
}
}
Method "check":
Used to check the validity (functional status) of a proxy.
Arguments:
In the example above we are testing the proxy with number 15.
{
"status": "ok",
"user_id": 1,
"balance": 48.80,
"currency": "RUB",
"proxy_id": 15,
"proxy_status": "true"
}