RotaProxy

Documentation

Rotate IP

POST /api/v1/rotate — move one port to a fresh exit IP.

POST /api/v1/rotate

Moves one port to a fresh exit IP from the same country pool. Each call costs a 0.01 GB metering fee, drawn from the plan allowance first, then the GB balance.

Request body

Field Type Required Description
proxy_id string yes Port id from List Proxies.

Example request

curl -X POST https://rotaproxy.io/api/v1/rotate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"proxy_id": "px_k3a9z"}'

Example response (200)

{
  "data": {
    "id": "px_k3a9z",
    "previous_ip": "203.0.113.44",
    "current_ip": "198.51.100.23",
    "rotations": 13,
    "last_rotated_at": "2026-11-25T03:41:10.000Z"
  }
}

Errors

Status Code Meaning
400 missing_proxy_id No proxy_id in the body.
404 not_found No port with that id on your account.
409 missing_authorized_ip The port has no authorized machine IP yet — bind one on its card.
402 insufficient_data Both data buckets are empty — top up.
409 suspended The port is suspended; contact support.

See the full error catalog.