---
title: "Get hosts in built-in player"
method: GET
path: "/streaming/statistics/hosts"
tags: ["Streaming Statistics"]
---

# Get hosts in built-in player

`GET /streaming/statistics/hosts`

Aggregates the number of views, grouping them by "host" domain name the built-in player was embeded to.

Note. This method operates only on data collected by the built-in HTML player. It will not show statistics if you are using another player or viewing in native OS players through direct .m3u8/.mpd/.mp4 links. For such cases, use calculations through CDN (look at method /statistics/cdn/uniqs) or statistics of the players you have chosen.

## Query parameters

- `date_from` string, required
- `date_to` string, required

## Response `200`

OK

- Hosts
  - `data` object[]
    - `views` integer, required
    - `host` string, required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.net/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
