Analytics Breakdown
This endpoint analyzes proxy usage for a given customer within a specified time range and provides breakdowns by proxy users, hostnames, and network types.
You can either:
- Provide a “preset” parameter, which automatically sets the time period (e.g. “last_day”, “last_hour”, etc.).
- OR, manually specify your own time range using period_start and period_end.
You can also filter by hostname, network, and proxy_user_id. Hostname filters are disallowed if searching older than 90 days.
Authorizations
Private API key for user-level authentication.
Public API key for user-level authentication.
Query Parameters
If provided, overrides period_start and period_end. Must be one of ["last_hour", "last_day", "last_week", "last_30_days", "last_60_days", "last_90_days", "last_year"].
Start date for the analytics period. If not provided, defaults to 7 days ago.
End date for the analytics period. If not provided, defaults to current time.
Filter results by specific hostname. Cannot be used for data older than 90 days.
Filter results by network type.
datacenter
, isp
, residential
Filter results by proxy user ID. Must belong to the current customer.
Whether to include proxy user data in response. Defaults to true.
Whether to include hostname data in response. Defaults to true.
Whether to include network data in response. Defaults to true.
Field to sort results by, with optional _asc or _desc suffix to specify direction.
Maximum number of results to return.
Response
Analytics breakdown successful.
The response is of type object
.