API: Get unique visitors for each day in the last week

Hi!

I want to query for the unique visitors for each day in the last week.

I tried this but the response is only summed up for the whole week.

https://demo.matomo.org/index.php?module=API&method=API.getProcessedReport&idSite=3&apiModule=VisitsSummary&apiAction=get&period=week&date=today&format=xml&token_auth=anonymous

I tried to call the request with “period=last7” but it only accepts timestamps.

And idea? I tried to read the documentation but there was no example or list of methods and action I could find.

Thank you for your time.

got it:

period=day&date=last7

=D

1 Like