Streaming Statistics

Get referrers in built-in player

Changed on

Aggregates the number of views, grouping them by "referrer" URL of pages 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/embeds

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/streaming/statistics/embeds
  • 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

Example response

{
  "data": [
    {
      "views": 100500,
      "embed_url": "https://example.com/xxx-yyy"
    },
    {
      "views": 3000,
      "embed_url": "https://example.com/xxx-zzz"
    }
  ]
}

Changes