---
title: "NumberOfVisitsPerVisitDuration (Matomo)"
description: "Matomo Visitor Interest Number of Visits per Visit Duration"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.VisitorInterest.NumberOfVisitsPerVisitDuration
original: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.VisitorInterest.NumberOfVisitsPerVisitDuration
updated: 2026-11-10T15:13:36Z
license: https://documentation.invantive.eu/en/
---

# NumberOfVisitsPerVisitDuration: Matomo Matomo Visitor Interest Number of Visits per Visit Duration

`read only` `REST`

- Catalog: `Matomo`
- Schema: `VisitorInterest`
- Label: Matomo Visitor Interest Number of Visits per Visit Duration

Can only retrieve data.

## Summary

Visits over one period bucketed by visit duration, one row per fixed duration bucket Matomo defines (0-10s, 11-30s, ... 30+ min), every bucket always present regardless of visit count.

## API Source

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

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 37,000 |

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 `NumberOfVisitsPerVisitDuration` 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 | Human-readable duration bucket, for instance '0-10s' or '30+ min'. |
| `nb_visits` | `varchar2` | itgen_mat_nb_visits | [ ] | filters on the platform, writable | Number of visits whose duration falls in this bucket. Numeric, though Matomo does not report it with a consistent type. |
| `segment` | `varchar2` | itgen_mat_segment | [ ] | filters on the platform, writable | Matomo's own segment expression selecting exactly this duration bucket, usable as the segment argument of another reporting table. |

