Calculate an order

IPv4 type

The request allows to calculate the price before ordering for proxy type IPv4.

POST /client/api/v1/{apiKey}/calculate/order

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type IPv4.

promoCode

String

Code of the promo code (can be obtained by another request).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

Number of days in the rental period (can be obtained by another request).

goal*

String

Custom goal.

country*

String

Alfa3 country code (can be obtained by another request).

Response

200: OK Success response
{
    "success": true,
    "proxyType": "IPv4",
    "balance": 7.18,
    "price": 1.31,
    "currency": "USD",
    "discount": 0,
    "promoCodeStatus": null,
    "error": null,
    "warnings": null
}
200: OK Success response with warnings

200: OK Success response with valid promo code
200: OK Success response with invalid promo code

200: OK Error response

IPv6 type

The request allows to calculate the price before ordering for proxy type IPv6.

POST /client/api/v1/{apiKey}/calculate/order

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type IPv6.

promoCode

String

Code of the promo code (can be obtained by another request).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

Number of days in the rental period (can be obtained by another request).

goal*

String

Custom goal.

country*

String

Alfa3 country code (can be obtained by another request).

200: OK Success response
200: OK Success response with warnings
200: OK Success response with valid promo code
200: OK Success response with invalid promo code
200: OK Error response

Mobile type

The request allows to calculate the price before ordering for proxy type MOBILE.

POST /client/api/v1/{apiKey}/calculate/order

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type MOBILE.

rotationTime*

Number

Rotation time (can be obtained by another request with mobile operators).

mobileOperator*

String

Mobile operator tag (can be obtained by another request).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

Number of days in the rental period (can be obtained by another request).

goal*

String

Custom goal.

country*

String

Alfa3 country code (can be obtained by another request).

promoCode

String

Code of the promo code (can be obtained by another request).

200: OK Success response
200: OK Success response with warnings
200: OK Success response with valid promo code
200: OK Success response with invalid promo code
200: OK Error response

ISP type

The request allows to calculate the price before ordering for proxy type ISP.

POST /client/api/v1/{apiKey}/calculate/order

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type ISP.

promoCode

String

Code of the promo code (can be obtained by another request).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

Number of days in the rental period (can be obtained by another request).

goal*

String

Custom goal.

country*

String

Alfa3 country code (can be obtained by another request).

Response

200: OK Success response
200: OK Success response with warnings
200: OK Success response with valid promo code
200: OK Success response with invalid promo code

200: OK Error response

Last updated