If you're getting null response like {"searches":null} when accessing Algolia's analytics API, the first thing to check is which domain you're trying to point to.
The Analytics API can be reached from multiple domains, each specific to a region. You should use the domain that matches the region where your analytics data is stored and processed. You can view your analytics region here.
These are the available domains:
- United States: https://analytics.us.algolia.com
- Europe (Germany): https://analytics.de.algolia.com
Note: https://analytics.algolia.com is an alias of https://analytics.us.algolia.com.