-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
Description
Hi there,
I'm experiencing an issue with the API for my account. The /api/v0/stats/total endpoint works correctly, but the /api/v0/stats/hits endpoint consistently fails or returns an empty array, even for dates that I can see have data in my dashboard.
My site code is: alinovian
Here are the API calls for diagnostics.
This call SUCCEEDS and returns the correct total:
curl -H "Authorization: Bearer [API_KEY]" \
"https://[sites]/api/v0/stats/total"
This call FAILS (returns empty or error) even though my dashboard shows N/A visits for this date:
curl -H "Authorization: Bearer [API_KEY]" \
"https://[sites]/api/v0/stats/hits?from=2025-08-24&to=2025-08-24"
It seems there might be an issue with the /stats/hits endpoint for my account. Could you please look into this?
Thank you!