channel_idstring필수
Channel ID.
https://api.sandbase.ai/v1/api/youtube/web/channel-short-videosReturns a list of YouTube Shorts from a specified channel. Supports pagination through an optional continuation token to browse additional short videos.
[
{
"data": {
"continuation_token": "4qmFsgLDCxIYVUNYdXFTQmxIQUU2WHcteWVKQTBUdW53GqYLOGdhMkNCcXpDRkt3Q0RLdENBb2tObUZsTkdObFlqa3RNREF3TUMweVpXWTJMVGxrTVRFdE56UTNORFEyTTJWbE4yWmtFb0lJUVdWUFdWTkxTMHRXYVZwbmVqQnZTVWd4YURGQmNtYzBOSFJ6UzNrdFpURnVSVWxyUlhKWFRXeFdPWFZFY214dVRVWnZlalJqVEdsMU1YcG1SMVI0YlVaU1MxTkZNVlEzTmtaVWRFWXhhSHBwUlU1cE1TMDVSRkp2U25aQlZWbFlWRFozVmxWMlNGazJjWFpWY0cwdGFsTXRkbkJhTkdsaU5FWTFXSFl0VGtkaGJrWnZRVmR6U1hkemRFTTFOWGRpV1U0eGQzSkxkV1JPYlMwemVUbFRWbk5pTXprM01tNDFPWFV6Wm14M01IVjVOemRYVEdNNFltRTFNbU0yWVRKVlluUk5aVlpuV2s5R1MwVnZPUzEwUW5aWlNubEdVVFZRVmpWdVMzY3lRekF4VTNONlFrZGlWa0ZDTUdWNExVUkdiM05NV0daVFFtTm1NMEZXYVd0VlZY…",
"videos": [
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 119000,
"published_time": "",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/vzg5cv785j4/oardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLB1k-tw5VxCisxO5eqwJnP150aXKQ&usqp=CCk",
"width": 405
},
{
"height": 608,
"url": "https://i.ytimg.com/vi/vzg5cv785j4/oardefault.jpg?sqp=-oaymwErCJUDEOAESFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLDiCxfwNT25rh5KVdNo7CTcf5AygQ&usqp=CCk",
"width": 405
}
],
"title": "What’s the Most Cost Effective Tech Upgrades",
"type": "SHORTS",
"video_id": "vzg5cv785j4",
"video_length": ""
},
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 508000,
"published_time": "",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/ofNcSiFpDUk/sardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLDYfAFpHOzZO0FC3iiSGTI23olD7A",
"width": 405
},
{
"height": 608,
"url": "https://i.ytimg.com/vi/ofNcSiFpDUk/sardefault.jpg?sqp=-oaymwErCJUDEOAESFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLA5xoz-l_wVfDkgQopoXRVgpGm4bw",
"width": 405
}
],
"title": "Tech Russian Roulette with True or False Questions!",
"type": "SHORTS",
"video_id": "ofNcSiFpDUk",
"video_length": ""
},
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 607000,
"published_time": "",
"thumbnails": [
{
"height": 603,
"url": "https://i.ytimg.com/vi_webp/1Z5bbuLPwX4/sardefault.webp",
"width": 339
},
{
"height": 509,
"url": "https://i.ytimg.com/vi/1Z5bbuLPwX4/sardefault.jpg?sqp=-oaymwErCNMCEP0DSFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLALn9gitvbD5nupXnd2oY9K3cVWxQ",
"width": 339
}
],
"title": "YouTuber Merch Tier List",
"type": "SHORTS",
"video_id": "1Z5bbuLPwX4",
"video_length": ""
},
"… 45 more items in the full response"
]
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns a list of YouTube Shorts for one channel. Each item has the video ID, title, view count and thumbnails. You send a channel_id, and you can add a continuation_token to get the next page.
number_of_views across Shorts to find a channel's top-performing short videos.video_id values from a channel to fetch full details for each Short.curl -X POST "https://api.sandbase.ai/v1/api/youtube/web/channel-short-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
channel_id | string | Yes | Channel ID. |
continuation_token | string | No | Token to continue fetching channel short videos. Default is None. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"continuation_token": "4qmFsgLB…",
"videos": [
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 156000,
"published_time": "",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/9st7OYkUHJk/sardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4…",
"width": 405
}
],
"title": "Ep. 35 - Best Tech for a Deserted Island...",
"type": "SHORTS",
"video_id": "9st7OYkUHJk"
}
]
}
| Field | Meaning |
|---|---|
videos[] | One Short from the channel. The list holds the Shorts for the current page. |
videos[].video_id | YouTube video ID of the Short, for example 9st7OYkUHJk. |
videos[].title | Title of the Short. Long titles can appear cut off with .... |
videos[].number_of_views | View count as a number, for example 156000. |
videos[].type | Kind of video. Every item here has the value SHORTS. |
videos[].channel_id | ID of the channel that owns the Short. |
videos[].thumbnails[] | Thumbnail images for the Short. Each entry has a url, a width and a height. |
continuation_token | Token for the next page of Shorts. Send it back as continuation_token in the next request. |
videos[].author / videos[].category / videos[].description / videos[].published_time / videos[].video_length | These fields were null or empty in this response. Do not rely on them for this API. |
channel_id from a channel name or URL with YouTube Channel ID Lookup or YouTube Channel ID from URL (V2).continuation_token from the response into the continuation_token request parameter.UC. Video IDs are 11-character strings.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web/channel-short-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
channel_idstring필수Channel ID.
continuation_tokenstringToken to continue fetching channel short videos. Default is None.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"continuation_token": "4qmFsgLDCxIYVUNYdXFTQmxIQUU2WHcteWVKQTBUdW53GqYLOGdhMkNCcXpDRkt3Q0RLdENBb2tObUZsTkdObFlqa3RNREF3TUMweVpXWTJMVGxrTVRFdE56UTNORFEyTTJWbE4yWmtFb0lJUVdWUFdWTkxTMHRXYVZwbmVqQnZTVWd4YURGQmNtYzBOSFJ6UzNrdFpURnVSVWxyUlhKWFRXeFdPWFZFY214dVRVWnZlalJqVEdsMU1YcG1SMVI0YlVaU1MxTkZNVlEzTmtaVWRFWXhhSHBwUlU1cE1TMDVSRkp2U25aQlZWbFlWRFozVmxWMlNGazJjWFpWY0cwdGFsTXRkbkJhTkdsaU5FWTFXSFl0VGtkaGJrWnZRVmR6U1hkemRFTTFOWGRpV1U0eGQzSkxkV1JPYlMwemVUbFRWbk5pTXprM01tNDFPWFV6Wm14M01IVjVOemRYVEdNNFltRTFNbU0yWVRKVlluUk5aVlpuV2s5R1MwVnZPUzEwUW5aWlNubEdVVFZRVmpWdVMzY3lRekF4VTNONlFrZGlWa0ZDTUdWNExVUkdiM05NV0daVFFtTm1NMEZXYVd0VlZY…",
"videos": [
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 119000,
"published_time": "",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/vzg5cv785j4/oardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLB1k-tw5VxCisxO5eqwJnP150aXKQ&usqp=CCk",
"width": 405
},
{
"height": 608,
"url": "https://i.ytimg.com/vi/vzg5cv785j4/oardefault.jpg?sqp=-oaymwErCJUDEOAESFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLDiCxfwNT25rh5KVdNo7CTcf5AygQ&usqp=CCk",
"width": 405
}
],
"title": "What’s the Most Cost Effective Tech Upgrades",
"type": "SHORTS",
"video_id": "vzg5cv785j4",
"video_length": ""
},
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 508000,
"published_time": "",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/ofNcSiFpDUk/sardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLDYfAFpHOzZO0FC3iiSGTI23olD7A",
"width": 405
},
{
"height": 608,
"url": "https://i.ytimg.com/vi/ofNcSiFpDUk/sardefault.jpg?sqp=-oaymwErCJUDEOAESFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLA5xoz-l_wVfDkgQopoXRVgpGm4bw",
"width": 405
}
],
"title": "Tech Russian Roulette with True or False Questions!",
"type": "SHORTS",
"video_id": "ofNcSiFpDUk",
"video_length": ""
},
{
"author": null,
"category": null,
"channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
"description": null,
"is_live_content": null,
"keywords": [],
"number_of_views": 607000,
"published_time": "",
"thumbnails": [
{
"height": 603,
"url": "https://i.ytimg.com/vi_webp/1Z5bbuLPwX4/sardefault.webp",
"width": 339
},
{
"height": 509,
"url": "https://i.ytimg.com/vi/1Z5bbuLPwX4/sardefault.jpg?sqp=-oaymwErCNMCEP0DSFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLALn9gitvbD5nupXnd2oY9K3cVWxQ",
"width": 339
}
],
"title": "YouTuber Merch Tier List",
"type": "SHORTS",
"video_id": "1Z5bbuLPwX4",
"video_length": ""
},
"… 45 more items in the full response"
]
}
}
]더 살펴보기
| 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/youtube/web/channel-short-videos에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: channel_id (string). 선택: continuation_token (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. YouTube Channel Short Videos은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. YouTube API 액세스를 별도로 신청할 필요는 없습니다.