I would like to have API information day by day

Hello,

I tried with curl to retrieve the number of visitors on my site with API version 4. Is it possible to retrieve the number during the last 5 days and to have the information day by day ?

Thanks

Have a look at:
https://demo.matomo.cloud/
In order to see what kind of information you can get

Ok, but is it possible to retrieve the “visits over time” graph with the V4 API?

Something like:

https://demo.matomo.cloud/index.php?module=API&format=TSV&idSite=1&period=day&date=2022-07-17,2022-08-15&method=API.get&filter_limit=100&format_metrics=1&expanded=1&translateColumnNames=1&language=en&token_auth=ENTER_YOUR_TOKEN_AUTH_HERE

:question:

Other kind of data:

  1. Click on the Export this dataset in other formats icon image (at the bottom of the widget)
  2. Choose the format and other options
  3. Click on the Show Export URL button

Hello,

it works. thank you