API reference

Subscription info

Read plan state and usage counters from the authenticated RotatingProxyHub account.

Subscription info

GET /api/v1.0/datacenter/subscription-info

Returns the active datacenter subscription values stored on the authenticated account.

Use it to show plan name, expiration, subscription status, billing period and thread capacity in your own tools.

Rate limit10 requests / 60 seconds
RequiredapiKey, X-API-Key header alternative
Endpoint details
AuthenticationSend the customer API key as apiKey query parameter or as X-API-Key header.
Access stateThe user account must be ACTIVE and must have a usable datacenter subscription.
Thread capacityconcurrency is returned as the current plan thread limit.
CachingSuccessful responses should be treated as account data and not cached publicly.
Request · Python requests
import json
import requests

endpoint = "https://rotatingproxyhub.com/api/v1.0/datacenter/subscription-info"
api_key = "xxx"

response = requests.get(
    endpoint,
    params={"apiKey": api_key},
    timeout=30
)

print(response.status_code)
print(json.dumps(response.json(), indent=2))
Example response
{
  "success": true,
  "message": "Subscription plan retrieved successfully.",
  "data": {
    "name": "Datacenter Proxies | 200 Threads | Monthly",
    "expiration": "12:35:09 05.08.2026",
    "sub_status": "active",
    "billing_period": "monthly",
    "type": "Datacenter",
    "concurrency": 200
  }
}

Proxy usage

GET /api/v1.0/datacenter/usage

Returns the current usage counters stored on the authenticated account.

Use this endpoint when your own panel should display bandwidth, active threads and request count.

Rate limit10 requests / 60 seconds
RequiredapiKey, X-API-Key header alternative
Endpoint details
bandwidth_usageReturned from the stored usage data. The value is numeric.
current_threadsThe currently reported concurrent usage value.
total_requestsThe total amount of counted proxy requests.
Rate limitMaximum 10 requests every 60 seconds per account/API key.
Request · Python requests
import json
import requests

endpoint = "https://rotatingproxyhub.com/api/v1.0/datacenter/usage"
api_key = "xxx"

response = requests.get(
    endpoint,
    params={"apiKey": api_key},
    timeout=30
)

print(response.status_code)
print(json.dumps(response.json(), indent=2))
Example response
{
  "success": true,
  "message": "Usage data retrieved successfully.",
  "data": {
    "bandwidth_usage": 403.85,
    "current_threads": 41,
    "total_requests": 1958677
  }
}
Previous QuickstartSet up access and send your first request. Next IP authenticationView, add and remove whitelisted IP addresses.