Proxies
Get Proxy Availability
GET
/access/availability/static-residential
Returns a list of countries with available proxies count.
To use this feature, the admin must enable it. This feature requires a minimum total spend of $10000.
Example request:
curl -X GET "https://apid.iproyal.com/v1/reseller/access/availability/static-residential" \
-H "X-Access-Token: <your_access_token>" \
-H "Content-Type: application/json"
Example response:
{
"data": [
{
"country_code": "DE",
"country_name": "Germany",
"available_ips": 2887
},
{
"country_code": "GB",
"country_name": "United Kingdom",
"available_ips": 2351
},
{
"country_code": "US",
"country_name": "United States",
"available_ips": 1112
},
{
"country_code": "NL",
"country_name": "Netherlands",
"available_ips": 1293
},
{
"country_code": "IT",
"country_name": "Italy",
"available_ips": 1812
},
...
]
}
Change Credentials
POST
/orders/proxies/change-credentials
Body Parameters
Name
Type
Description
order_id
Integer
Order id
proxies
Array
List of proxies
username
String
Proxy connection username
password
String
Proxy connection password
random_password
Boolean
Should we assign a random password
is_reset
Boolean
Should we assign a random username and password
Example request:
curl -X POST "https://apid.iproyal.com/v1/reseller/orders/proxies/change-credentials" \
-H "X-Access-Token: <your_access_token>" \
-H "Content-Type: application/json" \
-d '{
"order_id": 12345,
"username": "new_username",
"password": "new_password",
"random_password": false,
"is_reset": true,
"proxies": ["proxy1", "proxy2"]
}'
Last updated