Piwik PRO Analytics API

The Analytics API from Piwik PRO — 15 operation(s) for analytics.

GitHub OpenAPI

Operations 25

POST /api/analytics/v1/events/ Fetch events #
GET /api/analytics/v1/manage/annotation/system/ List System Annotations #
POST /api/analytics/v1/manage/annotation/user/ Create user annotation #
GET /api/analytics/v1/manage/annotation/user/ List user annotations #
GET /api/analytics/v1/manage/annotation/user/{id}/ Get user annotation #
PATCH /api/analytics/v1/manage/annotation/user/{id}/ Update user annotation #
DELETE /api/analytics/v1/manage/annotation/user/{id}/ Delete user annotation #
POST /api/analytics/v1/manage/custom-dimensions/ Create custom dimension #
GET /api/analytics/v1/manage/custom-dimensions/ List custom dimensions #
GET /api/analytics/v1/manage/custom-dimensions/slots/ Get custom dimension slots #
GET /api/analytics/v1/manage/custom-dimensions/{id}/ Get custom dimension #
PUT /api/analytics/v1/manage/custom-dimensions/{id}/ Update custom dimension #
POST /api/analytics/v1/manage/goals/ Create goal #
GET /api/analytics/v1/manage/goals/ List goals #
GET /api/analytics/v1/manage/goals/{id}/ Get goal #
PUT /api/analytics/v1/manage/goals/{id}/ Update goal #
DELETE /api/analytics/v1/manage/goals/{id}/ Delete goal #
POST /api/analytics/v1/manage/product-custom-dimensions/ Create product custom dimension #
GET /api/analytics/v1/manage/product-custom-dimensions/ List product custom dimensions #
GET /api/analytics/v1/manage/product-custom-dimensions/{id}/ Get product custom dimension #
PUT /api/analytics/v1/manage/product-custom-dimensions/{id}/ Update product custom dimension #
POST /api/analytics/v1/query/ Execute query #
POST /api/analytics/v1/real-time-events/ Fetch Real-time events #
POST /api/analytics/v1/real-time-query/ Execute Real-time query #
POST /api/analytics/v1/sessions/ Fetch sessions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/piwik-pro:piwik-pro-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

piwik-pro-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Analytics API
  version: master
servers:
- url: https://{account}.piwik.pro
  variables:
    account:
      default: example
security:
- OAuth2ClientCredentials: []
tags:


# --- truncated at 32 KB (214 KB total) ---
# Full source: https://artifacts.apis.io/piwik-pro/openapi/piwik-pro-analytics-api-openapi.yml