API Reference
Dashboard
  1. API Reference
  2. Box API
  3. Selling platform

Show a customer the data used, quota left and next reset time of the proxy they rent

Returns, for each limited counter (DL, UL, ALL), the quota, data used, data left, last and next reset, plus the last reset record per counter.

  • Read only
  • Selling token (?token=)
  • Public API · since v20.9.38
  • Hub: needs owner approval
  • getSellingQuotaInfo
GET/selling/quota_info_by_token

Query parameters

tokenstringrequiredsecret

API token of one sold proxy (api_token in /selling/shared_proxies). Give it only to the customer who rents that proxy; anyone with the link can use it.

Authentication

Authenticated only by the sold proxy's API token; the dashboard login and "Basic auth for all API" do not apply.

Responses

Quota info or refusal.

Errors returned in msg

msgMeaningWhat to do
This function is available on Selling Platform license only. Please contact Administrator!The license does not include the Selling Platform.Upgrade the license.
Token is requiredtoken is missing.Send the token.
API Token invalidToken unknown or reset (in message).Ask the seller for the current link; tokens change when reset.
Quota info not availableThe box could not read the proxy's quota.Retry; contact the seller.
An error occurred while processing the requestUnexpected error (HTTP 500).Retry; contact the seller.
Verified against XProxy v21.3.2 on Nov 17, 2026