scraper
Back to API docs

Overview

  • Overview

Discovery

  • POSTSearch
  • POSTHashtag

Content

  • POSTVideo
  • POSTChannel
  • POSTChannel Videos
  • POSTPlaylist

Details

  • POSTTranscript
  • POSTComments

YouTube Channel

0.5 credits

Get detailed metadata for a YouTube channel.

POST/api/v1/tools/youtube/channel

Parameters

channelIdstringrequired

YouTube channel ID (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw").

fieldsstring[]

Fields to include in channel. Omit for defaults: channelId, name, subscriberCount, videoCount, viewCount, avatarUrl, description. Use ["*"] for all fields. Available fields: channelId, name, subscriberCount, videoCount, viewCount, avatarUrl, description, handle, joinedDate, country, bannerUrl, isFamilySafe, keywords, vanityUrl, rssUrl, links.

Response Schema

dataobject

YouTube channel result

channelobject

Channel profile data.

metaobject

Request metadata

toolstring

Tool name (youtube-channel)

creditsUsednumber

Credits consumed (1)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/youtube/channel \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw"
}'

Response Example

{
"data": {
"channel": {
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"name": "Rick Astley",
"subscriberCount": "3.8M",
"videoCount": 85,
"viewCount": 2100000000,
"avatarUrl": "https://yt3.ggpht.com/...",
"description": "Official YouTube channel for Rick Astley."
}
},
"meta": {
"tool": "youtube-channel",
"creditsUsed": 0.5,
"requestId": "req_abc123"
}
}