---
title: "Show Account Analytics Timeseries"
method: GET
path: "/analytics/account/timeseries"
tags: ["Analytics:Account"]
---

# Show Account Analytics Timeseries

`GET /analytics/account/timeseries`

## Request

- Base URL: `https://api.wistia.com/modern`
- URL: `https://api.wistia.com/modern/analytics/account/timeseries`
- Auth: HTTP bearer

Retrieve analytics timeseries data for the entire account over a date range with
configurable granularity. Returns an array of timestamped metric buckets aggregated
across all of the account's media.

The date range between `start_date` and `end_date` must not exceed 2 years.


## Requires api token with one of the following permissions
```
Read detailed stats
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.

An [expiring access token](https://docs.wistia.com/reference/post_expiring-token)
created with the `all:delegate_to_contact_permissions` scope and an
`account` authorization granting the `view-stats` permission can also
be used.

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required
- `granularity` 'daily' | 'weekly' | 'monthly', required

## Headers

- `X-Wistia-API-Version` string, required

## Response `200`

Success response with timeseries analytics data for the account.

- object[]
  - `timestamp` string, date-time: The start of the time bucket in ISO 8601 format.
  - `unique_loads` integer, nullable: The number of unique video loads.
  - `unique_plays` integer, nullable: The number of unique video plays.
  - `plays` integer, nullable: The total number of video plays.
  - `play_rate` number, float, nullable: The percentage of loads that resulted in a play (between 0 and 1).
  - `played_time` integer, nullable: Total time spent watching the video in seconds.
  - `unique_visitors` integer, nullable: The number of unique visitors who loaded the video.
  - `engagement_rate` number, float, nullable: The average percentage of the video watched (between 0 and 1).
  - `form_conversions` integer, nullable: The number of form submissions.

## Other responses

- `400`: Bad request
- `401`: Unauthorized, invalid or missing token
- `403`: Forbidden, token is valid but account does not have access to feature
- `500`: Internal server error
- `503`: Analytics service is temporarily unavailable

---

[API](https://skmtc.dev/wistia/apis/analytics-api.md) - [All operations](https://skmtc.dev/wistia/apis/analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wistia/apis/analytics-api/revisions/51b37cd3d37c?raw)
