Matomo Reporting API (index.php entrypoint)

The single /index.php dispatch entrypoint through which every Matomo Reporting API method is invoked, by supplying module=API and method=Module.Action. This entry documents the entrypoint contract itself — the shared parameters (idSite, period, date, segment, format, token_auth) and the bulk-request form — rather than any one module. The per-module contracts are the 59 OpenAPI documents generated by Matomo's own ApiReference plugin.

Operations 19

GET /index.php?module=API&method=API.getMatomoVersion API get matomo version #
GET /index.php?module=API&method=API.getPhpVersion API get php version #
GET /index.php?module=API&method=API.getIpFromHeader API get ip from header #
GET /index.php?module=API&method=API.getSegmentsMetadata API get segments metadata #
GET /index.php?module=API&method=API.getMetadata API get metadata #
GET /index.php?module=API&method=API.getReportMetadata API get report metadata #
GET /index.php?module=API&method=API.getProcessedReport API get processed report #
GET /index.php?module=API&method=API.getReportPagesMetadata API get report pages metadata #
GET /index.php?module=API&method=API.getWidgetMetadata API get widget metadata #
GET /index.php?module=API&method=API.get API get #
GET /index.php?module=API&method=API.getRowEvolution API get row evolution #
GET /index.php?module=API&method=API.getBulkRequest API get bulk request #
GET /index.php?module=API&method=API.isPluginActivated API is plugin activated #
GET /index.php?module=API&method=API.getSuggestedValuesForSegment API get suggested values for segment #
GET /index.php?module=API&method=API.getPagesComparisonsDisabledFor API get pages comparisons disabled for #
GET /index.php?module=API&method=API.getGlossaryReports API get glossary reports #
GET /index.php?module=API&method=API.getGlossaryMetrics API get glossary metrics #
GET /index.php Invoke a Matomo Reporting API method #
POST /index.php Invoke a Matomo Reporting API method (POST, recommended for token in body) #

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/matomo-index-php-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

matomo-index-php-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Matomo Index.php API
  version: '1.0'
  description: 'Operations tagged Index.php across 2 of this provider''s published API definitions: matomo-api-openapi.json, matomo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://demo-proxy.innocraft.cloud/
  description: Current Matomo instance
- url: https://{matomo_host}
  description: Your Matomo instance (self-hosted or Matomo Cloud)
  variables:
    matomo_host:
      default: demo.matomo.cloud
tags:


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/matomo/refs/heads/main/openapi/matomo-index-php-api-openapi.yml