Yandex Metrika

Интеграция с API Яндекс.Метрики (Management, Reporting, Logs)

Reporting → Get Report

AI-generated

Summary

Retrieve various metrics and dimensions for a specified date range from Yandex Metrika.

Inputs

  • counterId (required) — ID of the Metrika counter.
  • metrics (required) — Comma-separated list of metrics to retrieve (e.g., 'ym:s:visits').
  • dimensions (required) — Comma-separated list of dimensions for breaking down the metrics (e.g., 'ym:s:trafficSource').
  • dateFrom (required) — Start date of the reporting period in DD.MM.YYYY format (MSK).
  • dateTo (required) — End date of the reporting period in DD.MM.YYYY format (MSK).
  • filters — Filters to apply to the report.
  • limit — Maximum number of rows to return, between 1 and 10,000.

Output shape

a list of metrics and dimensions data

Returns the requested metrics and dimensions based on the input parameters. The response may include an error if inputs are invalid.

Discussion