The RotaProxy API lets you list ports, rotate exit IPs and check data usage programmatically. It is a JSON API over HTTPS.
Base URL: https://rotaproxy.io/api/v1
Conventions
- All requests and responses use JSON with UTF-8 encoding.
- Authentication:
Authorization: Bearer YOUR_API_KEY. Keys are created under My Account → API Keys. - Timestamps are ISO 8601 in UTC.
- Data volumes are in gigabytes (GB) with up to 3 decimals.
Endpoints
| Method & path | Purpose |
|---|---|
GET /api/v1/proxies |
List your rotating ports |
POST /api/v1/rotate |
Rotate one port to a fresh exit IP |
GET /api/v1/usage |
Plan allowance and GB balance |
A complete session
API=https://rotaproxy.io/api/v1
KEY=YOUR_API_KEY
# 1. List ports
curl -H "Authorization: Bearer $KEY" $API/proxies
# 2. Rotate the first one
curl -X POST -H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"proxy_id": "px_xxx"}' $API/rotate
# 3. Check remaining data
curl -H "Authorization: Bearer $KEY" $API/usage
Continue with Authentication, then each endpoint page for exact request/response shapes and the error catalog.