How to Scrape Youtube Shorts Data
This tutorial shows how to use Youtube Shorts Data API to scrape and crawl structured Youtube data in real-time.
Monitor YouTube Shorts performance at scale and extract view counts, like ratios, comment activity, and trending short-form videos for any channel through our API.
Access Youtube Data in 3 Steps
Start crawling Youtube shorts analytics data. Follow these steps to extract social media data in minutes.
Create Your Account
Go to our registration page and make an account. It's free, no credit card, and you get credits right away to play around with.
Verify Your Email Address
You'll get a verification email, click the link in it. Once that's done, you can grab your API token from the dashboard.
Make Your First API Call
Copy the code snippet below, swap in your API key, and run it. You'll get Youtube data back as JSON within a few seconds.
Code Sample
Here's a JavaScript example to get you going. Swap out the token and you're good, works the same way in any language that can make HTTP requests. Start collecting shorts analytics data via our REST API!
| 1 | const root = 'https://ensembledata.com/apis' |
| 2 | const endpoint = '/youtube/channel/shorts' |
| 3 | const params = { |
| 4 | "browseId": "UClAa0YLrW4MaIKOWaeZR9Xg", |
| 5 | "depth": 1, |
| 6 | "token": "YOUR-TOKEN-HERE" |
| 7 | } |
| 8 | |
| 9 | const queryString = new URLSearchParams(params).toString(); |
| 10 | const url = `${root}${endpoint}?${queryString}`; |
| 11 | |
| 12 | await fetch(url) |
| 13 | .then(response => response.json()) |
| 14 | .then(data => console.log(data)) |
| 15 | .catch(error => console.error(error)); |
| 16 |
Parameters
Example Response
Explore the fields returned by this endpoint. Click a row to expand nested objects and arrays, hover a value to copy it, or use "Expand all" to see everything at once.
dataobject2 fields
userobject23 fields
thumbnailobject1 field
thumbnailsarray1 item ยท schema from #0 1 item
availableCountriesarray249 items ยท schema from #0 249 items
linkAlternatesarray3 items ยท schema from #0 3 items
shortsarray1 item ยท schema from #0 1 item
richItemRendererobject2 fields
contentobject1 field
reelItemRendererobject11 fields
headlineobject1 field
thumbnailobject2 fields
thumbnailsarray1 item ยท schema from #0 1 item
viewCountTextobject2 fields
accessibilityobject1 field
accessibilityDataobject1 field
navigationEndpointobject3 fields
commandMetadataobject1 field
webCommandMetadataobject3 fields
reelWatchEndpointobject7 fields
thumbnailobject2 fields
thumbnailsarray1 item ยท schema from #0 1 item
overlayobject1 field
reelPlayerOverlayRendererobject5 fields
reelPlayerHeaderSupportedRenderersobject1 field
reelPlayerHeaderRendererobject7 fields
reelTitleTextobject1 field
runsarray2 items ยท schema from #0 2 items
timestampTextobject1 field
channelNavigationEndpointobject3 fields
commandMetadataobject1 field
webCommandMetadataobject4 fields
browseEndpointobject3 fields
channelTitleTextobject1 field
runsarray1 item ยท schema from #0 1 item
navigationEndpointobject3 fields
commandMetadataobject1 field
webCommandMetadataobject4 fields
browseEndpointobject3 fields
channelThumbnailobject1 field
thumbnailsarray3 items ยท schema from #0 3 items
accessibilityobject1 field
accessibilityDataobject1 field
nextItemButtonobject1 field
buttonRendererobject1 field
prevItemButtonobject1 field
buttonRendererobject1 field
menuobject1 field
menuRendererobject3 fields
itemsarray1 item ยท schema from #0 1 item
menuNavigationItemRendererobject5 fields
textobject1 field
runsarray1 item ยท schema from #0 1 item
iconobject1 field
navigationEndpointobject3 fields
commandMetadataobject1 field
webCommandMetadataobject1 field
userFeedbackEndpointobject1 field
additionalDatasarray2 items ยท schema from #0 2 items
userFeedbackEndpointProductSpecificValueDataobject2 fields
accessibilityobject1 field
accessibilityDataobject1 field
accessibilityobject1 field
accessibilityDataobject1 field
accessibilityobject1 field
accessibilityDataobject1 field
loggingDirectivesobject3 fields
visibilityobject1 field
Response Codes
Status codes this endpoint can return, so you can handle errors before they surprise you in production.
API Pricing
Fetch Youtube Data at Scale
Monitor Shorts performance across multiple channels and identify what is gaining traction before it shows up on everyone else's radar.
Shorts Metrics
Get view counts and engagement data for every Short published.
Viral Tracking
Spot which Shorts are gaining traction before they peak.
Channel Filter
Isolate Shorts data separate from long-form channel videos.