post https://{account}.piwik.pro/api/analytics/v1/query/
API that allows querying the database directly. Please note that each request must be authenticated.
Copy definition
You can use the View API call definition option available in Analytics module in each report to get more usage examples based on your existing reports.

Compression
When requesting large amount of data, make sure to include an Accept-Encoding: gzip header to enable compression.
Cache
Please note that all query results are cached for 10 minutes.