APIAPIs and integrationsShardX APIModels

Models

ActiveProxyItemobjectShow propertiesHide properties
ipstringrequired
usernamestringrequired
passwordstringrequired
http_portintegerrequired
socks_portintegerrequired
untilstringrequired

ISO 8601 date string

statusstringrequired
signaturestring· nullableoptional

p0f signature assigned to the IP, null when not set

ApiErrorobjectShow propertiesHide properties
successbooleanrequired
messagestringrequired
rejectedbooleanoptional

Sub-user operations: true when the provider rejected the operation and nothing changed

idempotency_statestring · enumoptional

Only in a 409 from the Idempotency-Key check

Possible values:in_progressunknown
order_idintegeroptional

Only in a 502 from purchase and add-bandwidth: the order that was paid for

refundedbooleanoptional

Only in a 502 from purchase and add-bandwidth: true means the payment was returned to the wallet, false means the refund is pending, contact support

AddonLineobject

One add-on line stored on an order

Show propertiesHide properties
addon_keystringoptional
catalog_idintegeroptional
qtyintegeroptional

Units active in the current period

price_per_unitintegeroptional

Unit price in cents at purchase time

pendingobject· nullableoptional

Change scheduled for the next renewal, or null

Show propertiesHide properties
actionstring · enumoptional
Possible values:canceldowngrade
next_qtyintegeroptional

Target quantity after downgrade

PurchaseRequestDcIspobject

Purchase for Datacenter/ISP; the location field is required.

Show propertiesHide properties
productstring · enumrequired
Possible values:Datacenter ProxyISP Proxy
locationstringrequired
cyclestringrequired
quantityinteger· min: 1· max: 100000· default: 1optional
promo_codestring· nullableoptional
auto_renewalboolean· default: falseoptional
addonsobject · CreateOrderAddonRequest[]· nullableoptional

Add-ons attached at purchase time, for example p0f_slots for DC or ISP

Show propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required
PurchaseRequestResidentialStandardobject

Purchase for Standart Residential Proxy; location is not required; the cycle is fixed (lifetime).

Show propertiesHide properties
productstring · enumrequired
Possible values:Standart Residential Proxy
quantityinteger· min: 1· max: 100000· default: 1optional
promo_codestring· nullableoptional
addonsobject · CreateOrderAddonRequest[]· nullableoptional

Add-ons attached at purchase time, for example p0f_slots for DC or ISP

Show propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required
PurchaseRequestResidentialPremiumobject

Purchase for Premium Residential Proxy; location is not required; the cycle is fixed (lifetime).

Show propertiesHide properties
productstring · enumrequired
Possible values:Premium Residential Proxy
quantityinteger· min: 1· max: 100000· default: 1optional
promo_codestring· nullableoptional
addonsobject · CreateOrderAddonRequest[]· nullableoptional

Add-ons attached at purchase time, for example p0f_slots for DC or ISP

Show propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required
PurchaseRequestResidentialUnmeteredobject

Purchase for Unmetered Residential proxy; supports auto-renewal.

Show propertiesHide properties
productstring · enumrequired
Possible values:Unmetered Residential proxy
cyclestringrequired
promo_codestring· nullableoptional
auto_renewalboolean· default: falseoptional
addonsobject · CreateOrderAddonRequest[]· nullableoptional

Add-ons attached at purchase time, for example p0f_slots for DC or ISP

Show propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required
PurchaseRequestobjectShow propertiesHide properties
productstringrequired
locationstring· nullableoptional
cyclestringrequired
quantityinteger· min: 1· max: 100000· default: 1optional
promo_codestring· nullableoptional
auto_renewalboolean· default: falseoptional
addonsobject · CreateOrderAddonRequest[]· nullableoptional

Add-ons attached at purchase time, for example p0f_slots for DC or ISP

Show propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required
PurchaseResponseobjectShow propertiesHide properties
successbooleanrequired
messagestringrequired
order_idintegerrequired
ProductWithCyclesobjectShow propertiesHide properties
namestringrequired
descriptionstring· nullableoptional
locationstring· nullableoptional
cyclesstring[]required
AvailableCountResponseobjectShow propertiesHide properties
countrystringrequired
productstringrequired
amountintegerrequired
ApiMeResponseobjectShow propertiesHide properties
emailstringrequired
active_ordersintegerrequired
wallet_balanceintegerrequired

in cents

ApiSuccessobjectShow propertiesHide properties
successbooleanrequired
AvailableCountRequestobjectShow propertiesHide properties
countrystringrequired
productstringrequired
AddBandwidthRequestobjectShow propertiesHide properties
amountintegerrequired

Amount in GB (1 GB = 1 073 741 824 bytes), up to 100 000

promo_codestring· nullableoptional
GetSubUsersRequestobjectShow propertiesHide properties
offsetintegeroptional

Offset (default 0)

limitintegeroptional

Page size (default 20)

EditSubUserPayloadobjectShow propertiesHide properties
namestringrequired
CreateSubUserPayloadobject

Either data or data_bytes is required; data_bytes takes precedence.

Show propertiesHide properties
proxy_typestringrequired
namestringrequired
dataintegeroptional

Amount in GB (1 GB = 1 073 741 824 bytes), up to 100 000

data_bytesinteger · int64optional

Amount in bytes (exact; takes precedence over data), up to 100 000 GB

ChangeSubUserPasswordPayloadobjectShow propertiesHide properties
proxy_typestringrequired
ModifyTrafficPayloadobject

Either data or data_bytes is required; data_bytes takes precedence.

Show propertiesHide properties
proxy_typestringrequired
dataintegeroptional

Amount in GB (1 GB = 1 073 741 824 bytes), up to 100 000

data_bytesinteger · int64optional

Amount in bytes (exact; takes precedence over data), up to 100 000 GB

AnalyticsSeriesobject

The provider's answer, passed through unchanged. Its shape depends on kind: `overall`: `results` are time buckets `{timestamp, data, requests}`, empty intervals included as zeros; buckets are hourly on a short window and daily on a long one; domains: results are hostnames {hostname, data, requests}, sorted by data descending; there is no count; * connections: results are open connections {user_id, package_id, server_ip, connections} right now; there is no period (timezone, start, end).

Show propertiesHide properties
countintegeroptional

Total number of results (overall)

nextstring· nullableoptional

Link to the next page

previousstring· nullableoptional

Link to the previous page

timezonestringoptional
startstring · date-timeoptional
endstring · date-timeoptional
resultsobject[]optional
Show propertiesHide properties
timestampstring · date-timeoptional

Start of the bucket (overall)

hostnamestringoptional

Destination host (domains)

datainteger · int64optional

Bytes (overall, domains)

requestsintegeroptional

Requests (overall, domains)

user_idstringoptional

Account or sub-user id (connections)

package_idstringoptional

Package id (connections)

server_ipstringoptional

IP of the gateway that holds the connections (connections)

connectionsintegeroptional

Open connections (connections)

SubUserOrderStateobject· nullable

Sub-user quota state AFTER the operation (null when the provider returned no order object)

Show propertiesHide properties
proxy_passwordstringoptional
datainteger · int64optional

Total assigned quota in bytes

data_spentinteger · int64optional

Consumed bytes

data_remaininteger · int64optional

Remaining bytes (may be negative on overdraft)

CountryobjectShow propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

RegionobjectShow propertiesHide properties
codestring· max length: 10required

Region or state code

namestring· max length: 255required

Region or state name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

CityobjectShow propertiesHide properties
codestring· max length: 50required

City code, usually a slug

namestring· max length: 255required

City name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

regionobject· nullableoptional
Show propertiesHide properties
codestring· max length: 10required

Region code

namestring· max length: 255required

Region name

PagedCountriesResponseobjectShow propertiesHide properties
countintegerrequired
resultsobject · Country[]required
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

PagedRegionsResponseobjectShow propertiesHide properties
countintegerrequired
resultsobject · Region[]required
Show propertiesHide properties
codestring· max length: 10required

Region or state code

namestring· max length: 255required

Region or state name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

PagedCitiesResponseobjectShow propertiesHide properties
countintegerrequired
resultsobject · City[]required
Show propertiesHide properties
codestring· max length: 50required

City code, usually a slug

namestring· max length: 255required

City name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

regionobject· nullableoptional
Show propertiesHide properties
codestring· max length: 10required

Region code

namestring· max length: 255required

Region name

IspobjectShow propertiesHide properties
codestringrequired

ISP code, usually a slug

namestringrequired

ISP name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

regionobject· nullableoptional
Show propertiesHide properties
codestringrequired

Region code

namestringrequired

Region name

PagedIspsResponseobjectShow propertiesHide properties
countintegerrequired
resultsobject · Isp[]required
Show propertiesHide properties
codestringrequired

ISP code, usually a slug

namestringrequired

ISP name

countryobject · Countryrequired
Show propertiesHide properties
codestring· max length: 10required

ISO country code

namestring· max length: 255required

Country name

regionobject· nullableoptional
Show propertiesHide properties
codestringrequired

Region code

namestringrequired

Region name

CreateOrderAddonRequestobjectShow propertiesHide properties
addon_keystringrequired
qtyinteger· min: 1required

Last updated on

On this page