Account
Retrieve your RaxyProxy account details, balance, traffic totals, and the API key currently in use.
GET /account
Returns account profile, current USD balance, package counts, 30-day traffic total, and metadata about the API key making the call.
GET
/api/v1/accountAuthentication: Bearer token required.
Parameters: none.
response.json
{
"data": {
"id": 4823,
"email": "user@example.com",
"balance_usd": 24.7500,
"packages_active": 3,
"packages_total": 4,
"total_used_gb_30d": 127.4192,
"member_since": "2026-01-15T08:32:00+00:00",
"api_key": {
"name": "ci-pipeline",
"prefix": "raxy_xY",
"scopes": null,
"last_used_at": "2026-05-29T11:04:12+00:00",
"expires_at": null
}
},
"meta": { "version": "v1" }
}Response fields
| Field | Type | Description |
|---|---|---|
email | string | Account email address. |
balance_usd | float | Current wallet balance in USD (4 decimals). |
packages_active | integer | Number of packages with status=active. |
packages_total | integer | Active + suspended packages. |
total_used_gb_30d | float | Total traffic consumed in the last 30 days across all packages, in GB. |
member_since | string | Account registration timestamp (ISO 8601). |
api_key | object | null | Metadata about the API key used for this request — see below. |
API key info
Use this to verify which key is making the call, inspect its scopes, and check the expiry date — useful for rotation and audit pipelines.
api_key.json
{
"name": "ci-pipeline",
"prefix": "raxy_xY",
"scopes": ["farm"] | null,
"last_used_at": "2026-05-29T11:04:12+00:00",
"expires_at": "2026-08-01T00:00:00+00:00" | null
}Code examples
account.sh
curl https://raxyproxy.com/api/v1/account \
-H "Authorization: Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"account.py
import requests
resp = requests.get(
'https://raxyproxy.com/api/v1/account',
headers={'Authorization': 'Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'},
timeout=10,
)
data = resp.json()['data']
print(f"Balance: ${data['balance_usd']:.2f} — 30d traffic: {data['total_used_gb_30d']} GB")account.mjs
const resp = await fetch('https://raxyproxy.com/api/v1/account', {
headers: { Authorization: 'Bearer raxy_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' },
});
const { data } = await resp.json();
console.log(`Balance $${data.balance_usd.toFixed(2)} — 30d traffic ${data.total_used_gb_30d} GB`);