---
title: "List Visitors"
method: GET
path: "/stats/visitors"
tags: ["Stats:Visitors"]
---

# List Visitors

`GET /stats/visitors`

## Request

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

This endpoint provides a list of visitors that have watched videos in your account.


## 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

- `page` integer
- `per_page` integer
- `filter` 'has_name' | 'has_email' | 'identified_by_email_gate'
- `search` string

## Headers

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

## Response `200`

Successful response with a list of visitors.

- object[]
  - `visitor_key` string: A unique identifier for the visitor.
  - `created_at` string, date-time: When the visitor was created.
  - `last_active_at` string, date-time: The last time the visitor played a video.
  - `last_event_key` string, nullable: The event key for the last video play action.
  - `identifying_event_key` string, nullable: The event key for the conversion event that identified the visitor. Null when the visitor has not been identified.
  - `load_count` integer: The total number of videos loaded by the visitor.
  - `play_count` integer: The total number of videos played by the visitor.
  - `visitor_identity` object
    - `name` string, nullable
    - `email` string, nullable
    - `org` object
      - `name` string, nullable
      - `title` string, nullable
  - `user_agent_details` object
    - `browser` string
    - `browser_version` string
    - `platform` string
    - `mobile` boolean

## 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)
