RotaProxy

Documentation

Get Usage

GET /api/v1/usage — read plan allowance and GB balance.

GET /api/v1/usage

Returns the current data balances for the authenticated account. Free to call — poll it before big jobs to avoid mid-run 402 surprises.

Example request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://rotaproxy.io/api/v1/usage

Example response (200)

{
  "data": {
    "plan": {
      "name": "Quarterly Port",
      "renews_at": "2027-02-24T00:00:00.000Z",
      "monthly_gb": 10,
      "used_this_cycle": 3.42,
      "remaining": 6.58
    },
    "gb_balance": 41.5,
    "total_remaining": 48.08
  }
}

plan is null when the account has no active term plan. total_remaining is the sum you can still spend.