Reseller API
Get account usage
Returns traffic used by a single account, optionally restricted to a time range.
Use this endpoint only when you need usage for a specific time window. If you want each subaccount’s cumulative usage against its allowance, read used_bytes from GET /accounts, which returns it for every subaccount in a single call.
GET
Get account usage
Authorizations
Path Parameters
Query Parameters
Start of the range, as a Unix timestamp in seconds. Omit for no lower bound (usage is counted from the start of the account's history).
Example:
"1708526022"
End of the range, as a Unix timestamp in seconds. Defaults to now.
Example:
"1708612422"
Get account usage