---
title: "Show Media Stats"
method: GET
path: "/stats/medias/{mediaId}"
tags: ["Stats:Media"]
---

# Show Media Stats

`GET /stats/medias/{mediaId}`

## Request

- Base URL: `https://api.wistia.com/modern`
- URL: `https://api.wistia.com/modern/stats/medias/{mediaId}`
- Auth: HTTP bearer

Retrieve stats for a video. This endpoint provides statistics for a specific video identified by its media-id.


## 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
authorization granting the `view-stats` permission on this media can also
be used.

## Path parameters

- `mediaId` string, required: The hashed ID or numeric ID of the media (e.g., "4d23503f70" or "22570")

## Headers

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

## Response `200`

Success response with the stats of the video.

- object
  - `load_count` integer: The total number of times this video has been loaded.
  - `play_count` integer: The total number of times this video has been played.
  - `play_rate` number, float: The percentage of visitors who clicked play (between 0 and 1).
  - `hours_watched` number, float: The total time spent watching this video.
  - `engagement` number, float: The average percentage of the video that gets viewed (between 0 and 1).
  - `visitors` integer: The total number of unique people that have loaded this video.
  - `actions` object[]
    - `type` string: Type of action (e.g., "Call to Action").
    - `action_count` integer: Number of actions performed.
    - `impression_count` integer: Number of times the action was shown.
    - `rate` number, float: The rate of actions performed over impressions.
    - `url` string, nullable: For action types that link out (e.g., post-roll CTA), the URL the viewer was directed to.
    - `text` string, nullable: For action types that include display text (e.g., post-roll CTA), the text shown to the viewer.

## Other responses

- `401`: Unauthorized, invalid or missing token
- `403`: Forbidden, token is valid but account does not have access to feature
- `404`: Media not found or does not belong to account
- `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)
