Documentation

Account API

View your account balance and list subscriptions with their statuses, expiry dates, and product-specific usage fields.

Export pages

The Account API lets you view your account balance and list the subscriptions that belong to your account. Use it to discover subscription IDs, check whether subscriptions are active, and decide which subscription to use with the Subscription API.

Authentication

Use your subscription API key as the apiKey query parameter.

apiKey={subscriptionApiKey}

Get account

GET https://api.thunderproxy.com/v1/api/account?apiKey={apiKey}

Query parameters

ParameterDefaultValues
page1Any integer greater than 0.
size5010, 25, or 50.
activeOnlyfalsetrue or false.

Example

curl "https://api.thunderproxy.com/v1/api/account?apiKey=YOUR_API_KEY&activeOnly=true&size=25"

Response

Successful responses use the standard JSON envelope.

{
  "success": true,
  "data": {
    "account": {
      "balance": 42.5
    },
    "subscriptions": [
      {
        "id": "65f000000000000000000001",
        "active": true,
        "expiresAt": "2026-06-01T00:00:00.000Z",
        "type": "rotating-residential",
        "authUser": "customer-user",
        "dataLeft": 5368709120
      },
      {
        "id": "65f000000000000000000002",
        "active": true,
        "expiresAt": "2026-06-10T00:00:00.000Z",
        "type": "static-isp",
        "authUser": "customer-static",
        "ips": 10
      }
    ],
    "pagination": {
      "page": 1,
      "size": 25,
      "totalItems": 2,
      "totalPages": 1
    }
  }
}

Account fields

FieldDescription
balanceAvailable account balance in USD for purchases.

Subscription fields

FieldDescription
idSubscription ID. Use this with Subscription API endpoints.
activetrue when the subscription is not deleted.
expiresAtRenewal or expiry date for the subscription.
typeProduct slug, such as rotating-residential, rotating-datacenter, or static-isp.
authUserBase proxy username for the subscription.
dataLeftRemaining data for rotating residential and datacenter subscriptions.
ipsNumber of static ISP proxies on a static ISP subscription.

Errors

Invalid query parameters return a 400 response.

{
  "success": false,
  "error": "Size must be one of 10, 25 or 50."
}

Missing or invalid API keys return an unauthorized response.

{
  "success": false,
  "error": "Unauthorized"
}

Typical workflow

  1. Call the Account API to list active subscriptions.
  2. Pick the subscription id and product type.
  3. Use the Subscription API to update settings or export the proxy list for that subscription.