Get statistics tree (GET)
Returns statistics in a hierarchical tree format, grouped by breakdown dimensions. Date range parameters are interpreted in the authenticated user’s timezone. Response rows may include traffic_source (object {id, value}) when breakdowns contains traffic_source, and traffic_approach (object {id, value}) when breakdowns contains traffic_approach.
Authorizations
Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.
Query Parameters
Date range start. Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.
Date range end. Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.
Page number.
Items per page.
Sort by column key. Default is added_timestamp.
Sort direction.
asc, desc Comma-separated metric keys.
Primary grouping dimension.
Additional grouping dimensions (comma-separated).
Return monetary values in the original currency without conversion. Pass yes to enable.
yes, no Search text.