Matomo website screenshot

Matomo

Matomo is an open source web analytics platform that provides comprehensive website and application usage analytics with full data ownership. Formerly known as Piwik, it offers an alternative to Google Analytics with on-premise or cloud hosting options, ensuring complete control over analytics data and compliance with privacy regulations including GDPR.

5 APIs 0 Features
AnalyticsData OwnershipOpen SourcePrivacySelf-HostedWeb Analytics

APIs

Matomo Reporting API

The Matomo Reporting API provides programmatic access to all analytics reports available in the Matomo interface. It exposes over 200 API methods organized into modules such as ...

Matomo Tracking API

The Matomo Tracking API allows developers to send tracking data to Matomo from any server-side application, mobile app, or IoT device via HTTP requests. It supports recording pa...

Matomo Live API

The Matomo Live API provides real-time access to visitor data including the most recent visits, visitor profiles, and live counters showing current visitors on the site. It enab...

Matomo Goals API

The Matomo Goals API allows developers to manage and retrieve data about conversion goals. It supports creating, updating, and deleting goals, as well as retrieving goal convers...

Matomo Segments API

The Matomo Segments API enables developers to create and manage saved segments for filtering analytics data. Segments allow filtering visits and actions by any combination of vi...

Collections

Pricing Plans

Matomo Plans Pricing

3 plans

PLANS

Rate Limits

Matomo Rate Limits

5 limits

RATE LIMITS

FinOps

Matomo Finops

FINOPS

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
APIDocumentation
APIDocumentation
🚀
GettingStarted
GettingStarted
📰
Blog
Blog
💰
Pricing
Pricing
👥
GitHub
GitHub
🔗
Login
Login
📝
Signup
Signup
💬
Support
Support
🔗
Forums
Forums
🔗
Marketplace
Marketplace
🔗
SelfHosted
SelfHosted
📄
ChangeLog
ChangeLog
📦
SDKs
SDKs
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Matomo Reporting API
  version: v1
request:
  auth:
    type: apikey
    key: token_auth
    value: '{{token_auth}}'
    placement: query
items:
- info:
    name: Invoke a Matomo Reporting API method
    type: http
  http:
    method: GET
    url: https://{matomo_host}/index.php
    params:
    - name: module
      value: ''
      type: query
    - name: method
      value: ''
      type: query
      description: '`Module.MethodName`, for example `VisitsSummary.get`,

        `Actions.getPageUrls`, `Referrers.getKeywords`,

        `UserCountry.getCountry`, `API.getBulkRequest`.

        '
    - name: idSite
      value: ''
      type: query
      description: Site ID (or comma-separated list / `all`).
    - name: period
      value: ''
      type: query
    - name: date
      value: ''
      type: query
      description: Date in YYYY-MM-DD or magic keywords (today, yesterday, lastWeek).
    - name: format
      value: ''
      type: query
    - name: segment
      value: ''
      type: query
    - name: token_auth
      value: ''
      type: query
      description: 'Matomo auth token. Prefer passing in POST body for security.

        '
  docs: 'All Matomo Reporting API methods are invoked via this single

    endpoint by passing `module=API` and the `method` parameter

    (for example `VisitsSummary.get` or `Actions.getPageUrls`).

    '
- info:
    name: Invoke a Matomo Reporting API method (POST, recommended for token in body)
    type: http
  http:
    method: POST
    url: https://{matomo_host}/index.php
    params:
    - name: module
      value: ''
      type: query
    - name: method
      value: ''
      type: query
      description: '`Module.MethodName`, for example `VisitsSummary.get`,

        `Actions.getPageUrls`, `Referrers.getKeywords`,

        `UserCountry.getCountry`, `API.getBulkRequest`.

        '
    body:
      type: form-urlencoded
      data:
      - name: idSite
        value: ''
      - name: period
        value: ''
      - name: date
        value: ''
      - name: format
        value: ''
      - name: segment
        value: ''
      - name: token_auth
        value: ''
      - name: urls
        value: ''
  docs: Invoke a Matomo Reporting API method (POST, recommended for token in body)
bundled: true