Report of discrete visits via API

I’m trying to use the Reporting API to generate a list of visits along with other data link UserId, conversion, Referrer info, location info, etc.

So far I’ve only been able to get summary level visit data from the API rather than individual visit data. Is this possible with the Reporting API?

Hi,

Have you checked out the Live API?

It sounds like what you want:
https://demo.piwik.org/index.php?module=API&action=listAllAPI&idSite=3&period=day&date=yesterday

You can alway press on the share button on the end of an report to get the URL to the corresponding API. (In this case the visitor log)

Hi Lukas,

What is the method parameter supposed to be set as to use the Live API? Also, can you show me where the documentation for the Live API is?

Hi,
to get all details of the latest vistors you can use Live.getLastVisitsDetails.

e.g:
https://demo.piwik.org/index.php?module=API&method=Live.getLastVisitsDetails&idSite=3&period=day&date=yesterday&format=JSON&token_auth=anonymous

The API documentation can be found here:
https://developer.piwik.org/api-reference/reporting-api