API reference

Proxy rotation time

Change the account-wide rotation interval used by your active datacenter proxy subscription.

Change proxy rotation time

POST /api/v1.0/datacenter/proxies/rotation

Changes the rotation interval for the API-key owner’s datacenter proxy account.

The new value is applied to the proxy-gateway servers and saved to the account profile.

Rate limit4 requests / 60 seconds
RequiredX-API-Key header, rotation JSON field
Endpoint details
AuthenticationSend the account API key in the X-API-Key header. The apiKey JSON field is also accepted.
Accepted valuesUse request for every-request rotation, a number of seconds, or a duration such as 30s, 5m, or 1h.
Allowed rangeTimed rotation must be between 1 second and 24 hours. request and 0 select per-request rotation.
Alternative fieldrotation_interval is accepted as an alternative to rotation.
Account-wide settingThe setting applies to the authenticated datacenter account and its active proxy-gateway servers.
Request · Python requests
import requests

response = requests.post(
    "https://rotatingproxyhub.com/api/v1.0/datacenter/proxies/rotation",
    headers={"X-API-Key": "xxx"},
    json={"rotation": "5m"},
    timeout=30
)

print(response.json())
Example response
{
  "success": true,
  "message": "Proxy rotation updated successfully.",
  "account_id": "200",
  "rotation": "5m",
  "rotation_interval": 300,
  "servers": ["51.15.21.75"]
}
Previous Username & passwordConnect with assigned proxy credentials. Next Proxy listRetrieve rotating datacenter proxy endpoints.