Streaming Statistics

Get hosts in built-in player

Changed on

Aggregates the number of views, grouping them by "host" domain name the built-in player was embedded 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.

get/streaming/statistics/hosts

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/streaming/statistics/hosts
  • Auth
    HTTP apikey

Query parameters

date_fromstring required

Start of time frame. Datetime in ISO 8601 format.

date_tostring required

End of time frame. Datetime in ISO 8601 format.

type'live' | 'vod' | 'playlist'

Filter statistics by content type.

Response

OK

Changes