Viewers

Operations related to viewer analytics.

Fetch viewer analytics data for an account

(Available from version 1.11) This operation returns live and historic viewer data for the account related to the JSON web token used for API authentication. You'll use the query parameters to return live vs historic data, as well as specific types of viewer data.

Querying live data

  1. To get data for currently live streams, do not send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send any query parameters (to, from, or include), the total number of viewers is returned.

Querying historic data

  1. To get data for streams that ran previously, send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send include values, the total number of viewers is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2024-03-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2024-04-13T10:31:54.486Z

include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, devices, and trend.

Example: countries,trend

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (account)
viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

object (Array of viewer trends)

An array of viewer trend data. The granularity of sampled data changes based on the from and to query values you use:

  • 0 minutes to 8 hours - Samples returned per minute
  • 8 hours, 1 second to 24 hours - Samples returned per hour
  • 24 hours, 1 second to 175 days - Samples returned per day
  • 175 days to 14 years - Samples returned per month
  • 14 years or greater - Samples returned per year

Defaults: from = last billing date, to = end of current day

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/account
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/account?from=2024-03-14T10:31:54.486Z&to=2024-04-13T10:31:54.486Z&include=countries,renditions,devices"
Response samples
application/json
{
  • "account": {
    },
  • "limits": {
    }
}

Fetch viewer analytics data for a live stream

(Available from version 1.11) This operation returns the live and historic viewer data for a specific live stream. You'll use the query parameters to return live vs historic data, as well as specific types of viewer data.

Querying live data

  1. To get data for currently live streams, do not send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send any query parameters (to, from, or include), the total number of viewers is returned.

Querying historic data

  1. To get data for streams that ran previously, send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send include values, the total number of viewers is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the live stream.

query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2024-03-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2024-04-13T10:31:54.486Z

include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, devices, and trend.

Example: countries,trend

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (live_stream)
id
string <int32>

The unique alphanumeric string that identifies the live stream.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

object (Array of viewer trends)

An array of viewer trend data. The granularity of sampled data changes based on the from and to query values you use:

  • 0 minutes to 8 hours - Samples returned per minute
  • 8 hours, 1 second to 24 hours - Samples returned per hour
  • 24 hours, 1 second to 175 days - Samples returned per day
  • 175 days to 14 years - Samples returned per month
  • 14 years or greater - Samples returned per year

Defaults: from = last billing date, to = end of current day

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/live_streams/{id}
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/live_streams/tvctq36g?from=2024-03-14T10:31:54.486Z&to=2024-04-13T10:31:54.486Z&include=countries,renditions,devices"
Response samples
application/json
{
  • "live_stream": {
    },
  • "limits": {
    }
}

Fetch viewer analytics data for a VOD stream

(Available from version 1.11) This operation returns the live and historic viewer data for a specific VOD stream. You'll use the query parameters to return live vs historic data, as well as specific types of viewer data.

Querying live data

  1. To get data for currently live streams, do not send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send any query parameters (to, from, or include), the total number of viewers is returned.

Querying historic data

  1. To get data for streams that ran previously, send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send include values, the total number of viewers is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the VOD stream.

query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2024-03-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2024-04-13T10:31:54.486Z

include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, devices, and trend.

Example: countries,trend

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (vod_stream)
id
string <int32>

The unique alphanumeric string that identifies the VOD stream.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the VOD stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

object (Array of viewer trends)

An array of viewer trend data. The granularity of sampled data changes based on the from and to query values you use:

  • 0 minutes to 8 hours - Samples returned per minute
  • 8 hours, 1 second to 24 hours - Samples returned per hour
  • 24 hours, 1 second to 175 days - Samples returned per day
  • 175 days to 14 years - Samples returned per month
  • 14 years or greater - Samples returned per year

Defaults: from = last billing date, to = end of current day

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/vod_streams/{id}
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/vod_streams/tvctq36g?from=2024-03-14T10:31:54.486Z&to=2024-04-13T10:31:54.486Z&include=countries,renditions,devices"
Response samples
application/json
{
  • "vod_stream": {
    },
  • "limits": {
    }
}

Fetch viewer analytics data for a stream target

(Available from version 1.11) This operation returns the live and historic viewer data for a specific stream target. You'll use the query parameters to return live vs historic data, as well as specific types of viewer data.

Querying live data

  1. To get data for currently live streams, do not send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send any query parameters (to, from, or include), the total number of viewers is returned.

Querying historic data

  1. To get data for streams that ran previously, send from and to values.
  2. Use the include query parameter to specify what data you want to return, including: countries, renditions, devices, and trend data.

If you don't send include values, the total number of viewers is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the stream target.

query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2024-03-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2024-04-13T10:31:54.486Z

include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, devices, and trend.

Example: countries,trend

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (stream_target)
id
string <int32>

The unique alphanumeric string that identifies the stream target.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream at the target (for HTTP streams). A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

object (Array of viewer trends)

An array of viewer trend data. The granularity of sampled data changes based on the from and to query values you use:

  • 0 minutes to 8 hours - Samples returned per minute
  • 8 hours, 1 second to 24 hours - Samples returned per hour
  • 24 hours, 1 second to 175 days - Samples returned per day
  • 175 days to 14 years - Samples returned per month
  • 14 years or greater - Samples returned per year

Defaults: from = last billing date, to = end of current day

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/stream_targets/{id}
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/stream_targets/tvctq36g?from=2024-03-14T10:31:54.486Z&to=2024-04-13T10:31:54.486Z&include=countries,renditions,devices"
Response samples
application/json
{
  • "stream_target": {
    },
  • "limits": {
    }
}

Fetch viewer analytics data for the most viewed live streams

(Available from version 1.11) This operation returns viewer data for the top 100 live streams in an account.

Querying data

To get viewer data for the top 100 streams that ran previously, send from and to values.

If you do not send from and to values, the last five minutes' worth of live stream viewer data is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2023-01-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2023-02-14T10:31:54.486Z

Responses
200

Success

Response Schema: application/json
required
Array of objects (live_streams)
object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/live_streams
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/live_streams?from=2023-04-14T10:31:54.486Z&to=2023-07-13T10:31:54.486Z"
Response samples
application/json
{
  • "live_streams": [
    ],
  • "limits": {
    }
}

Fetch viewer analytics data for the most viewed VOD streams

(Available from version 1.11) This operation returns viewer data for the top 100 VOD streams in an account.

Querying data

To get viewer data for the top 100 streams that ran previously, send from and to values.

If you do not send from and to values, the last five minutes' worth of VOD stream viewer data is returned.

If the time range between from and to query parameters is:

  • Less than 60 minutes, the cache time between responses is 10 seconds.
  • More than 60 minutes, the cache time between responses is 60 seconds.
Request
query Parameters
from
string <date-time>

Use this parameter, along with to, to return historic viewer data.

The start of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the from query parameter without setting the to query parameter, the data returned will reflect 30 days starting at the from date, or data up to to the current day, whichever is shorter.

Example: 2023-01-14T10:31:54.486Z

to
string <date-time>

Use this parameter, along with from, to return historic viewer data.

The end of the range of time you want to view. Specify YYYY-DD-MMT HH:MM:SSZ where HH is a 24-hour clock in UTC. The range queried is rounded to the nearest second. If you set the to query parameter without setting the from query parameter, the data returned will be from the past 30 days or from your last invoice date, whichever is shorter.

Example: 2023-02-14T10:31:54.486Z

Responses
200

Success

Response Schema: application/json
required
Array of objects (vod_streams)
object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/vod_streams
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/vod_streams?from=2023-04-14T10:31:54.486Z&to=2023-07-13T10:31:54.486Z"
Response samples
application/json
{
  • "vod_streams": [
    ],
  • "limits": {
    }
}

Fetch total viewers analytics data for an account

(Available from version 2.0) This operation returns the total viewers data for the account related to the JSON web token used for API authentication.

Querying data

Use the include query parameter to specify what data you want to return, including: countries, renditions, and devices.

If you don't send the include query parameter, the total number of viewers is returned.

Request
query Parameters
include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, and devices.

Example: countries

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (account)
viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/account/total
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/account/total?include=countries,renditions,devices"
Response samples
application/json
{
  • "account": {
    },
  • "limits": {
    }
}

Fetch total viewers analytics data for a live stream

(Available from version 2.0) This operation returns the total viewers data for a specific live stream.

Querying data

Use the include query parameter to specify what data you want to return, including: countries, renditions, and devices.

If you don't send the include query parameter, the total number of viewers is returned.

Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the live stream.

query Parameters
include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, and devices.

Example: countries

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (live_stream)
id
string <int32>

The unique alphanumeric string that identifies the live stream.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/live_streams/{id}/total
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/live_streams/tvctq36g/total?include=countries,renditions,devices"
Response samples
application/json
{
  • "live_stream": {
    },
  • "limits": {
    }
}

Fetch total viewers analytics data for a VOD stream

(Available from version 2.0) This operation returns the total viewers data for a specific VOD stream.

Querying data

Use the include query parameter to specify what data you want to return, including: countries, renditions, and devices.

If you don't send the include query parameter, the total number of viewers is returned.

Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the VOD stream.

query Parameters
include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, and devices.

Example: countries

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (vod_stream)
id
string <int32>

The unique alphanumeric string that identifies the VOD stream.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/vod_streams/{id}/total
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/vod_streams/tvctq36g/total?include=countries,renditions,devices"
Response samples
application/json
{
  • "vod_stream": {
    },
  • "limits": {
    }
}

Fetch total viewers analytics data for a stream target

(Available from version 2.0) This operation returns the total viewers data for a specific stream target.

Querying data

Use the include query parameter to specify what data you want to return, including: countries, renditions, and devices.

If you don't send the include query parameter, the total number of viewers is returned.

Request
path Parameters
id
required
string

The unique alphanumeric string that identifies the stream target.

query Parameters
include
string

Specify the data you want returned in the response. You can send a comma-separated list of values.

Valid values are: countries, renditions, and devices.

Example: countries

time_zone
string

Specify the time zone you want the returned data to reflect.

Click to expand for the full list of valid values
Locations Wowza Video time_zone value
International Date Line West Etc/GMT+12
Midway Island Pacific/Midway
American Samoa Pacific/Pago_Pago
Hawaii Pacific/Honolulu
Alaska America/Juneau
Pacific Time (US & Canada) America/Los_Angeles
Tijuana America/Tijuana
Mountain Time (US & Canada) America/Denver
Arizona America/Phoenix
Chihuahua America/Chihuahua
Mazatlan America/Mazatlan
Central Time (US & Canada) America/Chicago
Saskatchewan America/Regina
Guadalajara America/Mexico_City
Mexico City America/Mexico_City
Monterrey America/Monterrey
Central America America/Guatemala
Eastern Time (US & Canada) America/New_York
Indiana (East) America/Indiana/Indianapolis
Bogota America/Bogota
Lima America/Lima
Quito America/Lima
Atlantic Time (Canada) America/Halifax
Caracas America/Caracas
La Paz America/La_Paz
Santiago America/Santiago
Newfoundland America/St_Johns
Brasilia America/Sao_Paulo
Buenos Aires America/Argentina/Buenos_Aires
Montevideo America/Montevideo
Georgetown America/Guyana
Puerto Rico America/Puerto_Rico
Greenland America/Godthab
Mid-Atlantic Atlantic/South_Georgia
Azores Atlantic/Azores
Cape Verde Is. Atlantic/Cape_Verde
Dublin Europe/Dublin
Edinburgh Europe/London
Lisbon Europe/Lisbon
London Europe/London
Casablanca Africa/Casablanca
Monrovia Africa/Monrovia
UTC Etc/UTC
Belgrade Europe/Belgrade
Bratislava Europe/Bratislava
Budapest Europe/Budapest
Ljubljana Europe/Ljubljana
Prague Europe/Prague
Sarajevo Europe/Sarajevo
Skopje Europe/Skopje
Warsaw Europe/Warsaw
Zagreb Europe/Zagreb
Brussels Europe/Brussels
Copenhagen Europe/Copenhagen
Madrid Europe/Madrid
Paris Europe/Paris
Amsterdam Europe/Amsterdam
Berlin Europe/Berlin
Bern Europe/Zurich
Zurich Europe/Zurich
Rome Europe/Rome
Stockholm Europe/Stockholm
Vienna Europe/Vienna
West Central Africa Africa/Algiers
Bucharest Europe/Bucharest
Cairo Africa/Cairo
Helsinki Europe/Helsinki
Kyiv Europe/Kiev
Riga Europe/Riga
Sofia Europe/Sofia
Tallinn Europe/Tallinn
Vilnius Europe/Vilnius
Athens Europe/Athens
Istanbul Europe/Istanbul
Minsk Europe/Minsk
Jerusalem Asia/Jerusalem
Harare Africa/Harare
Pretoria Africa/Johannesburg
Kaliningrad Europe/Kaliningrad
Moscow Europe/Moscow
St. Petersburg Europe/Moscow
Volgograd Europe/Volgograd
Samara Europe/Samara
Kuwait Asia/Kuwait
Riyadh Asia/Riyadh
Nairobi Africa/Nairobi
Baghdad Asia/Baghdad
Tehran Asia/Tehran
Abu Dhabi Asia/Muscat
Muscat Asia/Muscat
Baku Asia/Baku
Tbilisi Asia/Tbilisi
Yerevan Asia/Yerevan
Kabul Asia/Kabul
Ekaterinburg Asia/Yekaterinburg
Islamabad Asia/Karachi
Karachi Asia/Karachi
Tashkent Asia/Tashkent
Chennai Asia/Kolkata
Kolkata Asia/Kolkata
Mumbai Asia/Kolkata
New Delhi Asia/Kolkata
Kathmandu Asia/Kathmandu
Astana Asia/Dhaka
Dhaka Asia/Dhaka
Sri Jayawardenepura Asia/Colombo
Almaty Asia/Almaty
Novosibirsk Asia/Novosibirsk
Rangoon Asia/Rangoon
Bangkok Asia/Bangkok
Hanoi Asia/Bangkok
Jakarta Asia/Jakarta
Krasnoyarsk Asia/Krasnoyarsk
Beijing Asia/Shanghai
Chongqing Asia/Chongqing
Hong Kong Asia/Hong_Kong
Urumqi Asia/Urumqi
Kuala Lumpur Asia/Kuala_Lumpur
Singapore Asia/Singapore
Taipei Asia/Taipei
Perth Australia/Perth
Irkutsk Asia/Irkutsk
Ulaanbaatar Asia/Ulaanbaatar
Seoul Asia/Seoul
Osaka Asia/Tokyo
Sapporo Asia/Tokyo
Tokyo Asia/Tokyo
Yakutsk Asia/Yakutsk
Darwin Australia/Darwin
Adelaide Australia/Adelaide
Canberra Australia/Melbourne
Melbourne Australia/Melbourne
Sydney Australia/Sydney
Brisbane Australia/Brisbane
Hobart Australia/Hobart
Vladivostok Asia/Vladivostok
Guam Pacific/Guam
Port Moresby Pacific/Port_Moresby
Magadan Asia/Magadan
Srednekolymsk Asia/Srednekolymsk
Solomon Is. Pacific/Guadalcanal
New Caledonia Pacific/Noumea
Fiji Pacific/Fiji
Kamchatka Asia/Kamchatka
Marshall Is. Pacific/Majuro
Auckland Pacific/Auckland
Wellington Pacific/Auckland
Nuku'alofa Pacific/Tongatapu
Tokelau Is. Pacific/Fakaofo
Chatham Is. Pacific/Chatham
Samoa Pacific/Apia

Default: Etc/UTC

Example: America/New_York

Responses
200

Success

Response Schema: application/json
object (stream_target)
id
string <int32>

The unique alphanumeric string that identifies the stream target.

viewers
integer <int32>

The total number of unique viewers to download at least one chunk of the stream. A unique viewer is a single IP address; multiple users that share the same IP address are counted once.

object (countries)

An array of viewer countries.

object (renditions)

An array of viewer renditions.

object (devices)

An array of viewer devices.

time_zone
string (time_zone)

The time zone in which the data is returned. The default time zone in which the data is returned is Etc/UTC.

object

The time frame represented in the response.

401

Unauthorized

403

Forbidden

404

Not Found

410

Gone

422

Unprocessable Entity

get/analytics/viewers/stream_targets/{id}/total
Request samples
// Using cURL
curl -H "Authorization: Bearer ${WV_JWT}" \
  
  -H "Content-Type: application/json" \
  -X "GET" \
  "${WV_HOST}/api/v2.0/analytics/viewers/stream_targets/tvctq36g/total?include=countries,renditions,devices"
Response samples
application/json
{
  • "stream_target": {
    },
  • "limits": {
    }
}