---
title: "Downloads (Matomo)"
description: "Matomo Actions Downloads"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.Actions.Downloads
original: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.Actions.Downloads
updated: 2026-11-10T15:13:36Z
license: https://documentation.invantive.eu/en/
---

# Downloads: Matomo Matomo Actions Downloads

`read only` `REST`

- Catalog: `Matomo`
- Schema: `Actions`
- Label: Matomo Actions Downloads

Can only retrieve data.

## Summary

Files downloaded from the site over one period, one row per download URL.

## API Source

- Endpoint: `/index.php?module=API&method=Actions.getDownloads&idSite={id_site}&period={period}&date={date}&format=json`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 3,620 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `date` | `varchar2` | [x] |  | The date the period is anchored on, or a range such as '2026-08-01,2026-08-31'. |
| `id_site` | `number` | [x] |  | The Matomo site ID to report on. |
| `period` | `varchar2` | [x] |  | The reporting period: day, week, month, year or range. |

## Table Columns

The columns of the table `Downloads` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `label` | `varchar2` | itgen_mat_label | [ ] | filters on the platform, writable | Download URL, as Matomo groups it - not always the full URL. |
| `nb_hits` | `int32` | itgen_mat_nb_hits | [ ] | filters on the platform, writable | Number of times this file was downloaded, including repeat downloads within one visit. |
| `nb_uniq_visitors` | `int32` | itgen_mat_nb_uniq_visitors | [ ] | filters on the platform, writable | Number of unique visitors who downloaded this file. |
| `nb_visits` | `int32` | itgen_mat_nb_visits | [ ] | filters on the platform, writable | Number of visits during which this file was downloaded. |
| `segment` | `varchar2` | itgen_mat_segment | [ ] | filters on the platform, writable | Matomo's own segment expression selecting exactly this download, usable as the segment argument of another reporting table. |
| `sum_time_spent` | `int32` | itgen_mat_sum_time_spent | [ ] | filters on the platform, writable | Total time visitors spent on the site up to and including this download, in seconds. |
| `url` | `varchar2` | itgen_mat_url | [ ] | filters on the platform, writable | Full URL of the downloaded file. |

