---
title: "Get active viewers"
method: GET
path: "/admin/viewers"
tags: ["Internal", "Admin"]
---

# Get active viewers

`GET /admin/viewers`

## Response `200`

List of active viewers

- Viewer[]
  - `firstSeen` string, date-time
  - `geo` GeoDetails
    - `countryCode` string
    - `regionName` string
    - `timeZone` string
  - `userAgent` string
  - `ipAddress` string
  - `clientID` string

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

## Changes

- **2026-07-17** `4e0ebcbe06e8` — 1 breaking, 3 warning, 1 info
  - the `items/geo` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `items/geo/countryCode` from the response with the `200` status
  - removed the optional property `items/geo/regionName` from the response with the `200` status
  - removed the optional property `items/geo/timeZone` from the response with the `200` status
  - …1 more
- **2024-07-02** `618b7ae59cc5` — 1 info
  - endpoint added
- **2021-09-23** `02fef72d775b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/owncast/apis/owncast-apis/changes/admin/viewers/get.md)

---

[API](https://skmtc.dev/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.dev/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/owncast/owncast-apis/revisions/e2ce1f2fcdfa/schema)
