Retrieve number of users
Retrieves the number of unique users within a time range, including a daily breakdown.
- Algolia distinguishes search users by their IP address, unless you include a pseudonymous user identifier in your search requests with the
userTokenAPI parameter orx-algolia-usertokenrequest header. - The analyzed period includes the last eight days including the current day.
analytics
See also: Distinguish users for analyticsAuthorizations
Your 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.
Query Parameters
Index name.
"ALGOLIA_INDEX_NAME"
End date of the period to analyze, in YYYY-MM-DD format.
"2023-01-21"
Start date of the period to analyze, in YYYY-MM-DD format.
"2022-09-19"
Tags 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.