/api/analytics/v1/searches/trending
Returns the search terms that were trending over the past week/month as well as the volume in the past 7 days, 30 days, 30 days (before the past 7) and 90 days (before the past 30).
The date to analyze.
The customer area to target
The device type to filter such as desktop, phone, or tablet. Accepts a comma-separated list. Example: desktop,phone,tablet.
The search term to target
The matching strategy for the search term, one of exact, contains, prefix (starts with), and suffix (ends with)
The size of the results to return
The output field to sort the results by, must be one of performance or base count fields. For the performance fields, prepend by “performance”. Must be one of the following:
- trend7
- trend30
The order in which to sort results by, must be either asc (ascending) or desc (descending)
The minimum number of occurrences to filter by (based on occurrence in the week prior to date)