The Matomo Live! API gives you easy access to all visits and actions on your websites.
The Live! API can be used to query individual visitor records or fetch all of the visits in a given day or date range. You can, for example, use it to integrate with other user databases to get a global view of the path and history of your visitors from the moment they found your website, to conversion, and later to their retention and experience of your site or application. Try integrating Matomo with a CRM, Customer databases, ECommerce databases, or existing data warehouse.
Here are some examples of the Live! API output in XML (you can request many other different formats and other options, see the
Analytics API documentation). These are based on the Matomo Forums analytics data.
- See XML output of the Real Time counter API, for the last 30 minutes
- See XML output of the last 10 visits and their actions and Goal conversions
Read more about general information about the Live! Matomo Analytics (formerly Piwik Analytics) API in the Analytics API Reference page.
You may also be interested in how do I export all my analytics RAW data and copy it in a data warehouse?