How to Scrape Youtube Channel Profile Data
This tutorial shows how to use Youtube Channel Profile Data API to scrape and crawl structured Youtube data in real-time.
Pull complete YouTube channel profiles via our API including subscriber counts, total view figures, upload frequency, and channel metadata for competitive benchmarking.
Access Youtube Data in 3 Steps
Start crawling Youtube channel 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 channel analytics data via our REST API!
| 1 | const root = 'https://ensembledata.com/apis' |
| 2 | const endpoint = '/youtube/channel/detailed-info' |
| 3 | const params = { |
| 4 | "browseId": "UCnQghMm3Z164JFhScQYFTBw", |
| 5 | "from_url": false, |
| 6 | "get_additional_info": false, |
| 7 | "token": "YOUR-TOKEN-HERE" |
| 8 | } |
| 9 | |
| 10 | const queryString = new URLSearchParams(params).toString(); |
| 11 | const url = `${root}${endpoint}?${queryString}`; |
| 12 | |
| 13 | await fetch(url) |
| 14 | .then(response => response.json()) |
| 15 | .then(data => console.log(data)) |
| 16 | .catch(error => console.error(error)); |
| 17 |
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
metadataobject1 field
aboutChannelViewModelobject14 fields
descriptionLabelobject2 fields
styleRunsarray1 item · schema from #0 1 item
customLinksLabelobject2 fields
styleRunsarray1 item · schema from #0 1 item
joinedDateTextobject2 fields
styleRunsarray1 item · schema from #0 1 item
additionalInfoLabelobject2 fields
styleRunsarray1 item · schema from #0 1 item
customUrlOnTapobject1 field
innertubeCommandobject3 fields
commandMetadataobject1 field
webCommandMetadataobject1 field
shareEntityEndpointobject2 fields
signInForBusinessEmailobject3 fields
commandRunsarray1 item · schema from #0 1 item
onTapobject1 field
innertubeCommandobject3 fields
commandMetadataobject1 field
webCommandMetadataobject3 fields
signInEndpointobject1 field
nextEndpointobject3 fields
commandMetadataobject1 field
webCommandMetadataobject4 fields
browseEndpointobject3 fields
styleRunsarray1 item · schema from #0 1 item
linksarray4 items · schema from #0 4 items
channelExternalLinkViewModelobject3 fields
titleobject1 field
linkobject2 fields
commandRunsarray1 item · schema from #0 1 item
onTapobject1 field
innertubeCommandobject3 fields
commandMetadataobject1 field
webCommandMetadataobject3 fields
urlEndpointobject3 fields
faviconobject1 field
sourcesarray10 items · schema from #0 10 items
shareChannelobject1 field
buttonRendererobject7 fields
textobject1 field
runsarray1 item · schema from #0 1 item
iconobject1 field
accessibilityDataobject1 field
accessibilityDataobject1 field
commandobject3 fields
commandMetadataobject1 field
webCommandMetadataobject1 field
signalServiceEndpointobject2 fields
actionsarray1 item · schema from #0 1 item
openPopupActionobject2 fields
popupobject1 field
menuPopupRendererobject1 field
itemsarray2 items · schema from #0 2 items
menuServiceItemRendererobject3 fields
textobject1 field
runsarray1 item · schema from #0 1 item
commandobject3 fields
commandMetadataobject1 field
webCommandMetadataobject2 fields
shareEntityServiceEndpointobject2 fields
commandsarray1 item · schema from #0 1 item
openPopupActionobject3 fields
popupobject1 field
unifiedSharePanelRendererobject2 fields
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
Retrieve channel-level YouTube data at scale and feed it into your competitive analysis or content strategy workflows.
Subscriber Data
Get exact subscriber and total view counts for any YouTube channel.
Upload History
See upload frequency to understand a channel's publishing cadence.
Channel Metadata
Pull full channel metadata in one structured API response.