How it works
You send one or more YouTube URLs to the Bright Data YouTube Scraper API. Bright Data handles the scraping infrastructure and returns clean, structured JSON.dataset_id to specify the data type (videos, channels, or comments) and return results in JSON, NDJSON, or CSV.
What the response looks like
A single record returned by the Bright Data YouTube Scraper API. Run the request yourself in the quickstart.Supported data types
Videos
Titles, views, likes, descriptions, durations, and thumbnails. Discover videos by keyword, hashtag, or explore.
Channels
Subscriber counts, video counts, descriptions, and verification status. Discover channels by keyword.
Comments
Comment text, likes, replies, commenter details for any video.
Request methods
The Bright Data Scraper API supports two request methods. Choose based on your volume and latency needs.
Learn more in Understanding sync vs. async requests.
Capabilities and limits
Common questions
Is the data scraped in real time?
Is the data scraped in real time?
Yes. Each request triggers a live scrape. There is no cached or stale data. Processing time varies with target-site conditions and scraper workload. The Bright Data YouTube Scraper API does not publish a fixed response time. A synchronous request waits up to 1 minute, then returns a
snapshot_id and continues asynchronously. Discovery requests always run asynchronously and take longer depending on result volume.Why do response times change over time?
Why do response times change over time?
YouTube changes how its pages are served, and the Bright Data YouTube Scraper API collectors are updated to match. A collector update can change how long a scrape takes even when the success rate stays the same. For production workloads, build against the async workflow or webhook delivery so a longer run does not break the integration.
What is the difference between URL collection and discovery?
What is the difference between URL collection and discovery?
URL collection scrapes a specific YouTube page you provide (e.g., a channel URL). Discovery finds YouTube content matching search criteria (e.g., videos by keyword or hashtag) and scrapes the results. Discovery is only available via async requests.
How is this different from scraping using proxies or Web Unlocker?
How is this different from scraping using proxies or Web Unlocker?
When scraping using proxies or Web Unlocker, you still need to write and maintain your own parsing logic and update it whenever the target site changes its page structure. The Bright Data Scraper API handles the entire stack: proxy rotation, anti-bot bypassing and parsing. You send a URL or keyword and get clean, structured JSON back, with no scraping infrastructure or parser maintenance on your end.
Next steps
Quickstart
Scrape your first YouTube channel in 5 minutes.
Send your first request
Full code examples in cURL, Python, and Node.js.
API reference
Endpoint specs, parameters, and response schemas.