Read analytics for a finished broadcast
livereacting_get_stream_analyticsRead the analytics of one broadcast. Get the broadcast id from livereacting_list_broadcasts.
type: "youtube" is included with every paid plan. type: "playlists" is available on request rather than on every plan, so it can return FEATURE_NOT_AVAILABLE for an account that is otherwise working normally. Tell the customer to email hello@livereacting.com to ask for access to it.
type: "youtube" returns what YouTube reports for the broadcast -- views, watch time, likes, peak and average concurrent viewers, revenue where it is available, plus traffic sources, daily trend, age and gender split, devices and geography. The channel must also have granted analytics access.
type: "playlists" returns what LiveReacting itself recorded: one row per recorded playback action, naming the file, the action, its timestamp and how many people were watching at that moment.
The row-shaped YouTube sections are only returned when you name them in sections, 50 rows at a time. There is no CSV export here; use the REST API for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | "youtube" for what YouTube reports about the broadcast. "playlists" for what LiveReacting recorded about each video file that played. "youtube" is included with every paid plan; "playlists" is available on request. | |
| limit | No | How many rows to return. Defaults to 100 for type "playlists", and to 50 per section for type "youtube". | |
| liveId | Yes | Broadcast id, from livereacting_list_broadcasts. | |
| offset | No | Skip this many rows. Use the nextOffset from a truncated response. | |
| endDate | No | Last day to report on, YYYY-MM-DD. | |
| sections | No | type "youtube" only. Which row-shaped sections to include. Nothing here is returned unless you ask for it: trafficSources, dailyTrend, ageGroups, genders, devices, geography. | |
| accountId | No | type "youtube" only. Which YouTube channel to report on, when the broadcast went to more than one. | |
| startDate | No | First day to report on, YYYY-MM-DD. For type "playlists", send startDate and endDate together and keep the range to 28 days or less. |