Retrieves the object IDs of the 1,000 most frequent search results.
If you set the clickAnalytics query parameter to true, the response also includes:
clickAnalytics parameter set to true. This differs from the response’s count, which shows the overall number of searches, including those where clickAnalytics is false.If you set the revenueAnalytics parameter to true, the response also includes:
There’s a difference between 0% rates and null rates:
analyticsYour Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Index name.
"ALGOLIA_INDEX_NAME"
Search query.
Whether to include metrics related to click and conversion events in the response.
Whether to include metrics related to revenue events in the response.
Start date of the period to analyze, in YYYY-MM-DD format.
"2022-09-19"
End date of the period to analyze, in YYYY-MM-DD format.
"2023-01-21"
Number of items to return.
x <= 1000Position of the first item to return.
x >= 0Tags by which to segment the analytics.
You can combine multiple tags with OR and AND.
Tags must be URL-encoded.
For more information, see Segment your analytics data.
OK
Most frequent search results.