GET
/
streaming
/
statistics
/
heatmap
curl --request GET \
  --url https://api.gcore.com/streaming/statistics/heatmap \
  --header 'APIKey: <api-key>'
{
  "data": [
    {
      "viewers": 100500,
      "seconds": 500
    },
    {
      "viewers": 3000,
      "seconds": 1000
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

date_from
string
required

Start of time frame. Datetime in ISO 8601 format.

date_to
string
required

End of time frame. Datetime in ISO 8601 format.

type
enum<string>
required

entity's type

Available options:
live,
vod,
playlist
stream_id
string
required

video streaming ID

Response

200
application/json

OK

The response is of type object.