- API Reference
- Box API
- Selling platform
Show a customer the up and down events of the proxy they rent
Returns paged up/down events, newest first, for the proxy's slot (all member slots for group proxies). Default range is the last 24 hours; at most 7 days. A non-integer page or limit makes the box answer HTTP 500.
/selling/uptime_logQuery parameters
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.
Look back this many hours from now. Overrides start_date and end_date. The range cannot exceed 7 days (168 hours).
168Range start as a Unix timestamp in seconds. Used only together with end_date and without last_hours.
1763251200Range end as a Unix timestamp in seconds. Used only together with start_date and without last_hours.
17633376001Example 110Example 10Authentication
Authenticated only by the sold proxy's API token; the dashboard login and "Basic auth for all API" do not apply.
Responses
Events or refusal.
Unexpected error.
Errors returned in msg
| msg | Meaning | What 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 required | token is missing. | Send the token. |
API Token invalid | Token unknown or reset (in message). | Ask the seller for the current link; tokens change when reset. |
last_hours must be a positive number | last_hours is 0 or negative. | Send a positive integer. |
Invalid last_hours format. Must be a positive integer. | last_hours is not an integer. | Send a positive integer. |
Invalid date format. Use Unix timestamp in seconds. | start_date or end_date is not an integer. | Send epoch seconds. |
Please select date range is not over than 7 days! | Range longer than 7 days. | Shorten the range. |
No positions found for proxy group | The group proxy has no slots. | Contact the seller. |
An error occurred while processing the request | Unexpected error (HTTP 500). | Retry; contact the seller. |