channel_idstring
**Purpose**: Channel ID for first request to get basic channel info
https://api.sandbase.ai/v1/api/youtube/web-v2/channel-descriptionReturns YouTube channel details including subscriber counts, video totals, view counts, joined date, and social links. Filter by country and language.
[
{
"data": {
"avatar": [
{
"height": 900,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s900-c-k-c0x00ffffff-no-rj",
"width": 900
},
{
"height": 72,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s72-c-k-c0x00ffffff-no-rj",
"width": 72
},
{
"height": 120,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s120-c-k-c0x00ffffff-no-rj",
"width": 120
},
"… 1 more items in the full response"
],
"banner": [
{
"height": 175,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1060
},
{
"height": 188,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1138
},
{
"height": 283,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1707-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1707
},
"… 3 more items in the full response"
],
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
"continuation_token": "4qmFsgJgEhhVQ2V1NlU2N096SmhWMUt3QmFuc0gzRGcaRDhnWXJHaW1hQVNZS0pEY3dNekZsTnpoakxUQXdNREF0TW1RNE1pMWlORGhsTFRFME1qSXpZbUl5TWpneU5nJTNEJTNE",
"country": null,
"creation_date": null,
"description": "Minecraft ambience and cozy visuals for sleep, relaxing, studying, etc 🌿\n\nHi, I’m glad you’re here! I create peaceful Minecraft ambience to help you slow down, breathe, and feel at home. From cozy cabins in the forest to rainy lakeside docks, cherry blossom villages, and underwater reefs, I build and explore with the goal of bringing you comfort.\n\nIf you love cozy Minecraft builds, gentle rain, crackling fireplaces, and relaxing soundscapes, you’ll feel right at home here.\nHope you enjoy! -Cozy",
"handle": "CozyCraftYT",
"has_business_email": false,
"has_membership": true,
"is_family_safe": true,
"keywords": "Minecraft Ambience Rain Thunderstorm \"Relaxing Music\" C418 ASMR Sleep Study Relax Thunder 1.21.8 CozyCraft \"minecraft music\" \"minecraft longplay\" \"heavy rain\" \"sleep sounds\" \"white noise\" \"minecraft ambiance\" \"minecraft update\" ambient background \"minecraft soundtrack\" \"minecraft playlist\" \"8 hours\" \"white noise\" peaceful campfire \"minecraft build\" \"minecraft shaders\" \"music for studying\" \"study mix\" \"lena raine\" \"cozy house build\" \"minecraft sounds\" \"minecraft mods\" \"sleep music\" nostalgia cozy",
"links": [],
"rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCeu6U67OzJhV1KwBansH3Dg",
"subscriber_count": "12万位订阅者",
"title": "CozyCraft",
"vanity_url": "http://www.youtube.com/@CozyCraftYT",
"verified": false,
"video_count": "222 个视频",
"view_count": null
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns profile details for one YouTube channel, including its title, handle, description, subscriber and video counts, and avatar and banner images. It needs a channel_id. You can also pass country_code and language_code.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/channel-description" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel_id": "UCeu6U67OzJhV1KwBansH3Dg", "language_code": "zh-CN", "country_code": "US"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
channel_id | string | No | Purpose: Channel ID for first request to get basic channel info |
continuation_token | string | No | Purpose: Pagination token for second request to get advanced info |
country_code | string | No | Purpose: Set region code |
language_code | string | No | Purpose: Set language preference |
need_format | boolean | No | Purpose: Whether to return cleaned simplified data |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avatar": [
{
"height": 900,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3dd…",
"width": 900
}
],
"banner": [
{
"height": 175,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7Z…",
"width": 1060
}
],
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
"continuation_token": "4qmFsgJg…",
"country": null,
"creation_date": null,
"description": "Minecraft ambience and cozy visuals for sleep, relaxing, studying, etc 🌿\n\nHi, I’…",
"handle": "CozyCraftYT",
"has_business_email": false,
"has_membership": true,
"is_family_safe": true
}
| Field | Meaning |
|---|---|
title / handle | The channel display name and its @handle without the @ sign. |
channel_id / channel_url / vanity_url | The channel ID, its youtube.com/channel link, and its @handle link. |
subscriber_count / video_count | Subscriber and video totals as display text. The text follows language_code, for example 12.3万位订阅者 and 227 个视频 with zh-CN. |
view_count / creation_date / country | Total views, join date and channel country. These came back as null for this channel. |
description / keywords | The channel's about text and its keyword string. Long values may be long strings with line breaks. |
avatar[] / banner[] | Image variants as url, width and height. Pick the size you need. |
verified / has_membership / has_business_email / is_family_safe | Boolean flags for the verified badge, channel memberships, a listed business email, and family-safe status. |
links[] | External links from the channel profile. The list is empty when the channel shows none. |
rss_url | The channel's RSS feed address for new videos. |
continuation_token | A token you can send back in continuation_token for the second request, which returns advanced info. |
subscriber_count and video_count are localized strings, not numbers. Keep the raw value and language; converting an abbreviated display string remains approximate.channel_id on the first request. Send the returned continuation_token on a second request for advanced info.channel_id.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send channel_id on the first request, with an intentional language_code and country_code and need_format true. The schema marks channel_id optional because the same route also accepts a returned continuation_token for a later advanced-info request. That does not make an empty first body useful. A display name or @handle is not the channel ID; resolve a URL separately if you do not yet know the ID.
Check returned channel_id before attaching title, handle and description to your record. The saved example includes subscriber_count and video_count as localized display strings. Keep raw values, locale and retrieval time; abbreviated counts remain approximate after conversion. A single profile snapshot cannot establish growth or compare channels over different observation periods.
The selected reference has null view_count, creation_date and country. Preserve null instead of zero, today's date or an inferred location. A verification badge is not independent identity proof. has_business_email is a flag and does not itself provide an email address or authorize outreach. Empty links and absent flags need to remain distinct from verified negative facts.
A profile continuation token describes an advanced-info request, not a page of channel videos. No such second request was tested for this revision, so do not promise it fills missing statistics. Choose Channel Videos separately for uploads. Avatar, banner and RSS URLs are references; this task does not download images, subscribe to a feed or contact the creator.
Provide one selected channel_id and choose a profile record or a page of uploads. If the project is not connected, share the setup Skill, Markdown quickstart, chosen endpoint and desired output. Keep SANDBASE_API_KEY locally; the API tab uses POST /v1/api/ with Bearer authentication. Save a first response before choosing another channel, advanced metadata or another video page.
Validate completed SandBase status and an object at outputs[0].data. The simplified references put profile fields or videos directly there. Reject malformed shapes instead of returning an empty successful object; do not prefer an undocumented top-level output fallback. These public reads do not grant private analytics, revenue, account management or subscriber identities.
Pricing checked on 2026-11-08: both endpoints list $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility is not remaining allowance. Check current pricing before running. This revision used current schema/README and dated saved examples, with no new business request. The YouTube Python channel guide distinguishes those references from its historical search-to-channel experiment.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/channel-description" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"need_format": true,
"country_code": "US",
"language_code": "zh-CN"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
channel_idstring**Purpose**: Channel ID for first request to get basic channel info
continuation_tokenstring**Purpose**: Pagination token for second request to get advanced info
country_codestring**Purpose**: Set region code
डिफ़ॉल्ट: "US"
language_codestring**Purpose**: Set language preference
डिफ़ॉल्ट: "zh-CN"
need_formatboolean**Purpose**: Whether to return cleaned simplified data
डिफ़ॉल्ट: true
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"avatar": [
{
"height": 900,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s900-c-k-c0x00ffffff-no-rj",
"width": 900
},
{
"height": 72,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s72-c-k-c0x00ffffff-no-rj",
"width": 72
},
{
"height": 120,
"url": "https://yt3.googleusercontent.com/jwfgqnpI22YpsFDz25QtgITBf5tX7mFHqXWVhHoWzbk3ddAz9FabBDIx-eFaLrXlrhcpo5G0qBI=s120-c-k-c0x00ffffff-no-rj",
"width": 120
},
"… 1 more items in the full response"
],
"banner": [
{
"height": 175,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1060
},
{
"height": 188,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1138
},
{
"height": 283,
"url": "https://yt3.googleusercontent.com/g9zR1vL-i8QnAWLs08CHvjci79h2AXAps29dGIOLyB9T7ZWESgTzNFzfhCvc8T9p1H7fWWeKCw=w1707-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
"width": 1707
},
"… 3 more items in the full response"
],
"channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
"channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
"continuation_token": "4qmFsgJgEhhVQ2V1NlU2N096SmhWMUt3QmFuc0gzRGcaRDhnWXJHaW1hQVNZS0pEY3dNekZsTnpoakxUQXdNREF0TW1RNE1pMWlORGhsTFRFME1qSXpZbUl5TWpneU5nJTNEJTNE",
"country": null,
"creation_date": null,
"description": "Minecraft ambience and cozy visuals for sleep, relaxing, studying, etc 🌿\n\nHi, I’m glad you’re here! I create peaceful Minecraft ambience to help you slow down, breathe, and feel at home. From cozy cabins in the forest to rainy lakeside docks, cherry blossom villages, and underwater reefs, I build and explore with the goal of bringing you comfort.\n\nIf you love cozy Minecraft builds, gentle rain, crackling fireplaces, and relaxing soundscapes, you’ll feel right at home here.\nHope you enjoy! -Cozy",
"handle": "CozyCraftYT",
"has_business_email": false,
"has_membership": true,
"is_family_safe": true,
"keywords": "Minecraft Ambience Rain Thunderstorm \"Relaxing Music\" C418 ASMR Sleep Study Relax Thunder 1.21.8 CozyCraft \"minecraft music\" \"minecraft longplay\" \"heavy rain\" \"sleep sounds\" \"white noise\" \"minecraft ambiance\" \"minecraft update\" ambient background \"minecraft soundtrack\" \"minecraft playlist\" \"8 hours\" \"white noise\" peaceful campfire \"minecraft build\" \"minecraft shaders\" \"music for studying\" \"study mix\" \"lena raine\" \"cozy house build\" \"minecraft sounds\" \"minecraft mods\" \"sleep music\" nostalgia cozy",
"links": [],
"rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCeu6U67OzJhV1KwBansH3Dg",
"subscriber_count": "12万位订阅者",
"title": "CozyCraft",
"vanity_url": "http://www.youtube.com/@CozyCraftYT",
"verified": false,
"video_count": "222 个视频",
"view_count": null
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
YouTube | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/youtube/web-v2/channel-description पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
पहली Channel Description request के लिए channel_id भेजें। Schema fields को optional दिखाता है क्योंकि यह बाद की advanced-info request को भी दर्शाता है, जिसमें returned continuation_token उपयोग होता है। खाली body पहली-request workflow नहीं है। country_code और language_code को जानबूझकर सेट करें, और simplified reference के लिए need_format true रखें; continuation token न बनाएँ।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। YouTube Channel Description SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से YouTube API access के लिए आवेदन करने की आवश्यकता नहीं है।
यह route दो request stages बताता है: पहले profile read के लिए channel_id, फिर advanced info के लिए लौटाया गया continuation_token। खाली first body intended workflow नहीं है। display name या handle चयनित channel ID की जगह नहीं लेता।
नहीं। null को unavailable के रूप में बनाए रखें और localized display strings को उनके raw value और retrieval time के साथ रखें। abbreviated counts conversion के बाद approximate रहते हैं; एक snapshot growth series नहीं है, और बाद की advanced-info request missing values को भर देगी, यह निश्चित नहीं है।
यह एक profile flag है, address स्वयं नहीं, और न ही किसी को contact करने की अनुमति। verified flag भी स्वतंत्र identity proof नहीं है। यह task public profile data पढ़ता है और messages नहीं भेजता या private analytics नहीं लाता।