Documentation Index
Fetch the complete documentation index at: https://docs.statproxies.com/llms.txt
Use this file to discover all available pages before exploring further.
Exchange all proxies in an order for new IP addresses. This endpoint removes all current IPs and assigns fresh ones from the available pool.
This feature requires the proxy_exchange feature to be enabled for your organization. Contact support if you need access to this feature.
Request
| Header | Value | Required |
|---|
Authorization | Bearer {your_api_key} | Yes |
Path Parameters
The order ID for which to exchange proxies.
Example Request
curl -X POST "https://dashboard.statproxies.com/api/v2/order/exchange/sub_1rqjp3jb4g9i6pkhdwmkpjob" \
-H "Authorization: Bearer {your_api_key}"
Response
Success Response
{
"response": "success",
"message": "Proxies exchanged successfully",
"details": {
"order_id": "sub_1rqjp3jb4g9i6pkhdwmkpjob",
"previous_count": 10,
"new_count": 10,
"requested_count": 10,
"overlapping_ips": 0
}
}
Response Fields
Human-readable result message.
Exchange operation details.
The order ID that was processed.
Number of IPs before the exchange.
Number of IPs after the exchange.
Number of IPs requested (based on order quantity).
Number of IPs that are the same between old and new (should be 0 ideally).
Error Responses
403 Forbidden - Feature Not Enabled
{
"response": "error",
"message": "Proxy exchange feature is not enabled for your organization. Contact support to enable this feature."
}
404 Not Found
{
"response": "error",
"message": "Order not found or you don't have permission to access it"
}
400 Bad Request - Order Not Active
{
"response": "error",
"message": "Can only exchange proxies for active orders"
}
400 Bad Request - Wrong Product Type
{
"response": "error",
"message": "Proxy exchange is only available for datacenter products"
}
How It Works
Request Exchange
You call the exchange endpoint with your order ID.
Current IPs Removed
All current proxy IPs are removed from the servers.
New IPs Assigned
Fresh IPs from the available pool are assigned to your order.
Confirmation
The response confirms the exchange with before/after counts.
Requirements
- Active order: Only active orders can have proxies exchanged
- Datacenter product: Exchange is only available for datacenter proxy products
- Feature enabled: Your organization must have the
proxy_exchange feature enabled
Use Cases
- IP blocked: Get fresh IPs if your current ones are blocked
- Clean slate: Start with unused IPs for a new project
- Rotation: Periodic IP rotation for long-running operations
Notes
- The exchange process takes a few seconds to complete
- Your proxy username and password remain the same
- The new IPs will be different from your previous ones (overlap should be 0)
- Exchange does not affect your billing or subscription
Getting Access
If you need the proxy exchange feature enabled for your organization:
Contact Support
Email us to enable proxy exchange for your organization.