ISP requests

To get the ISP list of the bought proxies

GET /client-api/v1/<apiKey>/get/proxies

Request parameters:

"proxyType" — type of proxy — "isp".

Example request:

/client-api/v1/<apiKey>/get/proxies?proxyType=isp

Example body answer:

{
    "success":true,
    "user":"[email protected]",
    "balance":13.09,
    "currency":"USD",
    "proxyType":"isp",
    "countOfProxy":2,
    "proxies":[
               {
                "id":"id1",
                "ip":"185.81.112.215",
                "country":"GBR",
                "dateStart":"2022-08-29T14:55:38.293+00:00",
                "dateEnd":"2022-08-30T23:59:38.293+00:00",
                "httpsPort":"49162",
                "socks5Port":"49163",
                "authInfo":{
                            "login":"authLogin123",
                            "password":"authPassword"
                           }
               },
               {
                "id":"id2",
                "ip":"107.181.142.223",
                "country":"GBR",
                "dateStart":"2022-08-29T14:55:38.293+00:00",
                "dateEnd":"2022-08-30T23:59:38.293+00:00",
                "httpsPort":"49162",
                "socks5Port":"49163",
                "authInfo":{
                            "login":"authLogin123",
                            "password":"authPassword"
                           }
               }
              ]
}

Response params:

  • "proxies" — the list of active ISP proxies,

  • "id" — proxy ID. This parameter is needed for extending proxy,

  • "country" — alfa3 country code,

  • "dateStart" — the rent start date,

  • "dateEnd" — the rent end date,

  • "authInfo" — the data for authorization.


Calculate purchase price

GET /client-api/v1/<apiKey>/get/order/price

Request parameters:

  • "proxyType" — type of proxy — "isp",

  • "days" — the number of rental days (available values can be obtained through other request),

  • "goal" — goal of using proxy,

  • "country" — alfa3 country code (available values can be obtained through other request),

  • "count" — the number of proxies.

Example request:

/client-api/v1/<apiKey>/get/order/price?proxyType=isp&days=7&goal=instagram&country=FRA&count=2

Example body answer:

{
    "success":true,
    "user":"[email protected]",
    "balance":13.09,
    "currency":"USD",
    "proxyType":"isp",
    "days":7,
    "count":2,
    "goal":"instagram",
    "amount":2.78,
    "price":1.39
}

Response params:

  • "amount" — total amount,

  • "price" — price for one proxy.


Calculate extending price

GET /client-api/v1/<apiKey>/get/extend/price

Request parameters:

  • "proxyType" — type of proxy — "isp",

  • "days" — the number of renewal days (the available values are the same as for the purchase),

  • "IpId" — proxy IDs that require renewal (it is allowed to indicate several IDs separated by commas).

Example request:

/client-api/v1/<apiKey>/get/extend/price?proxyType=isp&days=7&IpId=id1,id2,id3

Example body answer:

{
    "success":true,
    "user":"[email protected]",
    "balance":13.09,
    "currency":"USD",
    "proxyType":"isp",
    "days":7,
    "count":3,
    "amount":9.13,
    "price":3.04,
    "ipId":[
            "id1",
            "id2",
            "id3"
           ]
}

Response params:

  • "amount" — total amount,

  • "price" — price for one proxy,

  • "ipId" — the list of proxy IDs for extending.


Placing an order

POST /client-api/v1/<apiKey>/order

Request parameters:

  • "proxyType" — type of proxy — "isp",

  • "days" — the number of rental days (available values can be obtained through other request),

  • "goal" — goal of using proxy,

  • "country" — alfa3 country code,

  • "count" — the number of proxies,

  • "authType" — authorization type — "login/ip",

  • "authIp" — authorization IP address. This field is required only if authType = ip.

Example request:

/client-api/v1/<apiKey>/order

Example body request:

{
    "proxyType":"isp",
    "days":90,
    "goal":"instagram",
    "country":"GBR",
    "count":2,
    "authType":"login"
}

Example body answer:

{
    "success":true,
    "user":"[email protected]",
    "balance":4.09,
    "currency":"USD",
    "proxyType":"isp",
    "orderNumber":"DV-16620211552356-jA"
}

Response params:

  • "orderNumber" — order number,

  • "balance" — the balance after the purchase.


Extending proxy

POST /client-api/v1/<apiKey>/extend

Request parameters:

  • "proxyType" — type of proxy — "isp",

  • "days" — the number of renewal days (the available values are the same as for the purchase),

  • "IpId" — the list of proxy IDs to be extended.

Example request:

/client-api/v1/<apiKey>/extend

Example body request:

{
    "proxyType":"isp",
    "days":30,
    "IpId":[
            "id1",
            "id2"
           ]
}

Example body answer:

{
    "success":true,
    "user":"[email protected]",
    "balance":4.09,
    "currency":"USD"
}

Response params:

"balance" — the balance after extending.

Last updated