Create an order

IPv4 type

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

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type IPv4.

authIp

String

Authorization IP. This field is required only if authType is IP.

authType*

String

Authorization type. Available values: LOGIN, IP.

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).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

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

Response

200: OK Success response
{
    "success": true,
    "proxyType": "IPv4",
    "orderNumber": "NUMBER-112233",
    "balance": 4.57,
    "currency": "USD",
    "error": null,
    "promoCodeStatus": null
}
200: OK Success response with valid promo code
200: OK Success response with invalid promo code
200: OK Error response

IPv6 type

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

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type IPv6.

protocol*

String

Protocol. Available values: HTTP, SOCKS.

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

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

authIp

String

Authorization IP. This field is required only if authType is IP.

authType*

String

Authorization type. Available values: LOGIN, IP.

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).

Response

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

Mobile type

POST /client/api/v1/{apiKey}/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).

authIp

String

Authorization IP. This field is required only if authType is IP.

authType*

String

Authorization type. Available values: LOGIN, IP.

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).

Response

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

ISP type

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

Path parameters

Name
Type
Description

apiKey*

String

Your personal API key.

Request body

Name
Type
Description

proxyType*

String

Proxy type ISP.

authIp

String

Authorization IP. This field is required only if authType is IP.

authType*

String

Authorization type. Available values: LOGIN, IP.

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).

quantity*

Number

Quantity of IP addresses.

rentPeriodDays*

Number

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

Response

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

Last updated