Appearance
Channel Details
GET /v1/youtube/channel
Retrieves comprehensive YouTube channel profile data including name, avatar images, subscriber count (subscribers), total video and view counts, join date, tags, and linked social accounts like Twitter and Instagram. Accepts a channelId, handle, or full channel URL as input. Returns channel metadata such as country, email, and external store links when available.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
channelId | string | no | YouTube channel ID. Can pass a channelId, handle or url | UC-9-kyTW8ZkZNDHQJ6FgpwQ |
handle | string | no | YouTube channel handle. Can pass a channelId, handle or url | ThePatMcAfeeShow |
url | string | no | YouTube channel URL. Can pass a channelId, handle or url | https://www.youtube.com/@ThePatMcAfeeShow |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/youtube/channel' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ });
const res = await fetch(`https://api.scrapecreators.com/v1/youtube/channel?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/youtube/channel',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators youtube channel --helpExample Response
json
{
"channelId": "UCxcTeAKWJca6XyJ37_ZoKIQ",
"channel": "http://www.youtube.com/@ThePatMcAfeeShow",
"name": "The Pat McAfee Show",
"avatar": {
"image": {
"sources": [
{
"url": "https://yt3.googleusercontent.com/ytc/AIdro_nBgMGIxgHehCAlUUepEhd9Yooi1I55k6IF2WExl-v8Q-c=s72-c-k-c0x00ffffff-no-rj",
"width": 72,
"height": 72
}
],
"processor": {
"borderImageProcessor": {
"circular": true
}
}
},
"avatarImageSize": "AVATAR_SIZE_XL",
"loggingDirectives": {
"trackingParams": "CC0Q6OENIhMIkInyhaSPiwMV9wfWAB3aoR9h",
"visibility": {
"types": "12"
}
}
},
"description": "",
"subscriberCount": 2750000,
"subscriberCountText": "2.75M subscribers",
"videoCountText": "9,221 videos",
"viewCountText": "2,170,355,382 views",
"joinedDateText": "Joined Aug 23, 2017",
"tags": "pat mcafee, football, pat mcafee show, the pat mcafee show, pat mcafee podcast, pat mcafee clips, pat mcafee reacts, pat mcafee highlights, pat mcafee live, pat mcafee show live, pat mcafee podcast, nfl, nba, nhl, mlb, ufc, sports",
"email": null,
"store": "https://store.patmcafeeshow.com",
"twitter": "https://twitter.com/PatMcAfeeShow",
"instagram": "https://instagram.com/patmcafeeshow",
"links": [
"https://store.patmcafeeshow.com"
],
"country": "United States"
}Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |