Listing analytics
items_post_item_analyticsRetrieve extended analytics for Avito listings: views, contacts, presence spending, with filters by category or employee, grouping by day/week/month/item, and sorting.
Instructions
Returns EXTENDED statistical metrics for the profile/listings over a period (post_item_analytics, stats v2): views, contacts, presenceSpending, etc. with flexible grouping, filters and sorting. Read-only analytics. Choose it over items_post_item_stats_shallow when you need filters by category/employee, sorting by a metric, or presence-spending metrics. limit ≤ 1000.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sorting of results: key — the metric name, order — asc (ascending) or desc (descending). | |
| limit | Yes | Maximum number of rows in the response (0..1000) for pagination. | |
| dateTo | Yes | End of the period, inclusive (YYYY-MM-DD). | |
| filter | No | Selection filters: categoryIDs — an array of category IDs, employeeIDs — an array of employee IDs. Without the filter — the entire profile. | |
| offset | Yes | Offset from the start of the selection for pagination (>= 0). | |
| metrics | Yes | List of requested metrics (at least 1): views, contacts, presenceSpending, etc. | |
| user_id | No | ID of the owner user. Defaults to Profile_id from .env. | |
| dateFrom | Yes | Start of the period, inclusive (YYYY-MM-DD). | |
| grouping | Yes | How to group metrics: day, week, month, item, or totals. |