---
title: "Show Account Stats by Date"
method: GET
path: "/stats/account/by_date"
tags: ["Stats:Account"]
---

# Show Account Stats by Date

`GET /stats/account/by_date`

## Request

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

Retrieve account-wide stats organized by day, between a start and end date parameter (inclusive). If start and end date are not provided, defaults to yesterday and today.


## 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
- `end_date` string, date

## Headers

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

## Response `200`

A list of account stats by date

- object[]
  - `date` string, date
  - `load_count` integer
  - `play_count` integer
  - `hours_watched` number

## Other responses

- `401`: Unauthorized, invalid or missing token
- `403`: Forbidden, token is valid but account does not have access to feature
- `500`: Internal server error

---

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