Youtube Streams API
Access YouTube live stream data including concurrent viewers, stream duration, chat volume, and topic metadata for live content research.
| 1 | import requests |
| 2 | |
| 3 | root = "https://ensembledata.com/apis" |
| 4 | endpoint = "/youtube/channel/streams" |
| 5 | params = { |
| 6 | "browseId": "UChBQgieUidXV1CmDxSdRm3g", |
| 7 | "depth": 1, |
| 8 | "token": "YOUR-TOKEN-HERE" |
| 9 | } |
| 10 | |
| 11 | res = requests.get(root+endpoint, params=params) |
| 12 | print(res.json()) |
| 13 |
Why Developer Teams Use Our API
Live Stream History
Retrieve past broadcasts from a channel to analyze streaming cadence and performance.
Concurrent Viewer Insights
Pull peak viewer and engagement data from stream archives for performance reporting.
Track Streaming Consistency
See how regularly a channel goes live, useful for vetting streamers before sponsorship.
Full Broadcast Archive
Paginate through a channel's complete stream history, not just the most recent session.
Engagement Context
Get metadata tied to each broadcast to understand how audiences engaged during a stream.
Structured Stream Data
Every stream returns clean JSON fields instead of raw page data to parse yourself.
Scrape Youtube Data Effortlessly
Get real-time engagement data for YouTube streams with our live streams API, useful for benchmarking live content and tracking streamer performance.
Peak Viewer Tracking
Capture peak concurrent viewers on a live stream to gauge its real reach.
Streaming Schedule Insight
See how often a channel goes live to evaluate its streaming consistency.
Past Broadcast Access
Pull data on ended YouTube live streams, not just sessions currently live.
Youtube Scraping Features
Track trending YouTube live streams and understand how audiences engage with live content in your niche or industry.
- Pull concurrent viewer counts, duration, and chat volume for a channel's live streams.
- Retrieve past broadcast history, not only sessions that are currently live right now.
- Gauge audience engagement during a stream through returned live chat activity data.
- Track how regularly a channel goes live, useful for vetting streamers before sponsorship.
- Compare viewer counts and stream metadata across channels to benchmark live content.
Starting crawling Youtube now!
Get Your API Key in Minutes
Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.
Get started freeDeveloper Support
Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.
Contact usFrequently Asked Questions
It returns data on a channel's live streams, including concurrent viewer counts, stream duration, chat volume, and topic metadata.
Yes, calling this endpoint across multiple streams lets you build a picture of a channel's live viewership trends.
Yes, it returns data for a channel's stream history, not just streams that are currently live.
Yes, chat volume data is included, giving you a sense of audience engagement during the stream.
It covers streams that are live or have already occurred; scheduled-but-not-yet-started streams may not appear until they go live.
Yes, it uses the same continuation-token pattern, so channels with a long stream history require multiple sequential requests to retrieve it fully.
For ended streams, the figures reflect the final recorded viewer and engagement data; for currently live streams, viewer counts reflect the moment the request was made.
Yes, it returns an empty result set rather than an error for channels with no stream history.
Yes, viewer counts and stream metadata returned by this endpoint are commonly used to compare live content performance across channels.