video_idstring필수
**Purpose**: Video ID
https://api.sandbase.ai/v1/api/youtube/web-v2/video-infoReturns detailed video information and caption tracks for a specified YouTube video ID. Supports optional parameters to format output data and set language preferences.
[
{
"data": {
"allow_ratings": true,
"author": "Rick Astley",
"available_countries": [
"AD",
"AE",
"AF",
"… 246 more items in the full response"
],
"badge_tooltip": "音乐人官方频道",
"captions": [
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=de-DE",
"is_translatable": true,
"kind": "",
"language_code": "de-DE",
"language_name": "德语(德国)"
},
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=pt-BR",
"is_translatable": true,
"kind": "",
"language_code": "pt-BR",
"language_name": "葡萄牙语(巴西)"
},
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=ja",
"is_translatable": true,
"kind": "",
"language_code": "ja",
"language_name": "日语"
},
"… 3 more items in the full response"
],
"category": "Music",
"channel_avatar_thumbnails": [
{
"height": 48,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s48-c-k-c0x00ffffff-no-rj",
"width": 48
},
{
"height": 88,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
"width": 88
},
{
"height": 176,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s176-c-k-c0x00ffffff-no-rj",
"width": 176
}
],
"channel_handle": "@RickAstleyYT",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
"chapters": null,
"comment_count": "245万",
"date_text": "2009年10月24日",
"description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttps://linktr.ee/rickastleynever\n\n“Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100. It also won the Brit Award for Best single in 1988. Stock Aitken and Waterman wrote and produced the track which was the lead-off single and lead track from Rick’s debut LP “Whenever You Need Somebody”…",
"embed_url": "https://www.youtube.com/embed/dQw4w9WgXcQ",
"endscreen": [
{
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"image_thumbnails": [
{
"height": 250,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s250-c-k-c0x00ffffff-no-rj",
"width": 250
},
{
"height": 400,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s400-c-k-c0x00ffffff-no-rj",
"width": 400
}
],
"style": "CHANNEL",
"title": "Rick Astley"
},
{
"image_thumbnails": [
{
"height": 94,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFACKgBEF5IWvKriqkDMwgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAHwAQH4Af4JgALQBYoCDAgAEAEYWCBfKGUwDw==&rs=AOn4CLCzj6_DcqR21HsLJj7aEx-HD164Sw",
"width": 168
},
{
"height": 110,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFACMQBEG5IWvKriqkDMwgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAHwAQH4Af4JgALQBYoCDAgAEAEYWCBfKGUwDw==&rs=AOn4CLCgj2QM99y82SV-zdL3zm3WcTYjtw",
"width": 196
},
{
"height": 138,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFBCPYBEIoBSFryq4qpAzMIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB8AEB-AH-CYAC0AWKAgwIABABGFggXyhlMA8=&rs=AOn4CLBDyyrDLCfbRlIYgQRjDDw3aKgqLA",
"width": 246
},
"… 2 more items in the full response"
],
"style": "VIDEO",
"title": "Rick Astley - Never : The Autobiography - Listen to the introduction of the Audiobook",
"video_id": "qQDrqV5Hw4c"
},
{
"image_thumbnails": [
{
"height": 94,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDfel1eqM8JfJ_b1cSYDEKuK7w-UQ&usqp=CBQ",
"width": 168
},
{
"height": 110,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEmCMQBEG5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDsHfHeUnT-h_nSxIx9HiHSH9ibfQ&usqp=CBQ",
"width": 196
},
{
"height": 138,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEnCPYBEIoBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCNISWhemmUehEUtNHoUhuJnHq1SA&usqp=CBQ",
"width": 246
},
"… 2 more items in the full response"
],
"style": "VIDEO",
"title": "Rick Astley - The Reflection Tour 2026 - Trailer",
"video_id": "yi6fWPV6qXg"
},
"… 1 more items in the full response"
],
"is_crawlable": true,
"is_family_safe": true,
"is_live_content": false,
"is_private": false,
"is_shorts_eligible": false,
"is_unlisted": false,
"is_verified": true,
"keywords": [
"rick astley",
"Never Gonna Give You Up",
"nggyu",
"… 24 more items in the full response"
],
"length_seconds": "213",
"like_count": "19474748",
"like_count_text": "1947万",
"merchandise": null,
"owner_profile_url": "http://www.youtube.com/@RickAstleyYT",
"playability_status": "OK",
"publish_date": "2009-10-24T23:57:33-07:00",
"relative_date_text": "16年前",
"short_view_count": "",
"storyboard_spec": "https://i.ytimg.com/sb/dQw4w9WgXcQ/storyboard3_L$L/$N.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgjXxPfBBg==|48#27#100#10#10#0#default#rs$AOn4CLDgtWGAnaqZZSEHsiFathAqjUlfLQ|80#45#108#10#10#2000#M$M#rs$AOn4CLBf8GkpJjLT0oNOXNqGg2XsF5MCMg|160#90#108#5#5#2000#M$M#rs$AOn4CLClA1jTU48sHENDTij_c2ZcE493TQ|320#180#108#3#3#2000#M$M#rs$AOn4CLCHZGerbRu0IiBb-AIyubx5_-E4oQ",
"subscriber_count_text": "455万位订阅者",
"super_title": "#RickAstley",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"width": 1280
}
],
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"upload_date": "2009-10-24T23:57:33-07:00",
"video_id": "dQw4w9WgXcQ",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"view_count": "1823767786",
"view_count_text": "1,823,767,786次观看"
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns metadata and caption tracks for one YouTube video. You pass the 11-character video_id. The response includes title, channel details, like count, publish date, thumbnails, end screen items and a list of caption tracks with their URLs.
keywords, category and description of a video to build a content catalog.is_private, is_unlisted, is_family_safe and playability_status before you add a video to a playlist or feed.curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"video_id": "dQw4w9WgXcQ"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
video_id | string | Yes | Purpose: Video ID |
language_code | string | No | Purpose: Set language preference |
need_format | boolean | No | Whether to clean and format the data |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"allow_ratings": true,
"author": "Rick Astley",
"available_countries": [
"AD"
],
"badge_tooltip": "音乐人官方频道",
"captions": [
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=0JHpavzwFZSY0_wPk9jD2Q0&c…",
"is_translatable": true,
"kind": "",
"language_code": "de-DE",
"language_name": "德语(德国)"
}
],
"category": "Music",
"channel_avatar_thumbnails": [
{
"height": 48,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVx…",
"width": 48
}
],
"channel_handle": "@RickAstleyYT",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
"chapters": null,
"comment_count": "246万"
}
| Field | Meaning |
|---|---|
title / author / description | Video title, channel name and the video description text. The description may be long. |
video_id / channel_id / channel_handle / channel_url | IDs and links for the video and its channel. channel_handle is the @ name of the channel. |
like_count / like_count_text | Like count as a plain number string, and the same count as display text in the response language. |
comment_count / short_view_count / subscriber_count_text | Display text for comments, views and channel subscribers. These values are localized strings such as 246万, not plain numbers. |
publish_date / upload_date / date_text / relative_date_text | Publish and upload time as an ISO 8601 timestamp with a UTC offset. date_text and relative_date_text are display text in the response language. |
length_seconds | Video length in seconds, returned as a string. |
captions[].language_code / captions[].language_name | Language code and display name of each caption track. |
captions[].base_url / captions[].is_translatable / captions[].kind | URL of the caption track, whether the track can be translated, and the track kind. kind is an empty string for these tracks. |
endscreen[].style / endscreen[].title / endscreen[].video_id | Items shown at the end of the video. style is CHANNEL or VIDEO. Video items carry a video_id. |
is_verified / is_private / is_unlisted / is_live_content / playability_status | Flags for the channel and video state. playability_status is OK when the video can be played. |
video_id must be exactly 11 characters, for example dQw4w9WgXcQ.comment_count, short_view_count and language_name follow language_code, which defaults to zh-CN. The example response shows Chinese display text.like_count and length_seconds are strings. Convert them before you do math.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send one 11-character video_id, not a full watch URL. Set language_code deliberately and keep need_format true for the simplified shape described here. The schema defaults language_code to zh-CN; changing it affects localized display fields and does not establish a translation of viewer comments or a transcript.
Read title, author, video_id and available channel fields from outputs[0].data. Check that the returned video ID matches the selected one before attaching metadata to a research record. Preserve missing values. A playability_status of OK describes the saved observation and is not a right to download or republish the video; flags do not grant private or account-bound access.
Plain digit counts, abbreviated text and unknown values need different treatment. The selected saved example has string view_count and like_count, localized comment_count and an empty short_view_count. Keep the original value and field name; do not turn an empty display value into zero. Approximate comment totals do not tell you how many calls will cover the conversation, because top-level comments and replies have different scopes.
Caption tracks are references to available tracks, not downloaded transcript text. Metadata also contains links and thumbnails; this first task does not fetch captions, play media, follow recommendations or read all comments. Choose Video Comments separately when the research question concerns visible discussion.
Already connected? Provide one video_id and choose metadata or a first comments page. For a new integration, share the setup Skill, Markdown quickstart, selected endpoint and desired output. Keep SANDBASE_API_KEY in your local environment; the API tab uses POST /v1/api/ with Bearer authentication. Save one response before deciding to fetch another page or reply thread.
Validate completed SandBase status and an object at outputs[0].data. These simplified reference payloads put video fields or comments directly there; do not read an undocumented top-level output fallback or silently convert a missing payload into an empty object. A present empty comments list and a malformed response are different outcomes. Keep raw data for local parser checks without retrying the business call automatically.
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 does not measure remaining allowance. Verify current pricing before execution. This revision made no new business call. The YouTube Python comment guide separates historical observations, current references and offline checks.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/video-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_id": "dQw4w9WgXcQ",
"need_format": true,
"language_code": "zh-CN"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
video_idstring필수**Purpose**: Video ID
language_codestring**Purpose**: Set language preference
기본값: "zh-CN"
need_formatbooleanWhether to clean and format the data
기본값: true
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"allow_ratings": true,
"author": "Rick Astley",
"available_countries": [
"AD",
"AE",
"AF",
"… 246 more items in the full response"
],
"badge_tooltip": "音乐人官方频道",
"captions": [
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=de-DE",
"is_translatable": true,
"kind": "",
"language_code": "de-DE",
"language_name": "德语(德国)"
},
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=pt-BR",
"is_translatable": true,
"kind": "",
"language_code": "pt-BR",
"language_name": "葡萄牙语(巴西)"
},
{
"base_url": "https://www.youtube.com/api/timedtext?v=dQw4w9WgXcQ&ei=quvEapT4C4O0kucP77OG0Qw&caps=asr&opi=112496729&exp=xpe&xoaf=5&xowf=1&hl=zh-CN&ip=0.0.0.0&ipbits=0&expire=1791315482&sparams=ip,ipbits,expire,v,ei,caps,opi,exp,xoaf&signature=7BF3257F4A17ECF6C86E7C7CD447FD1959E43BC3.C0D1AE7E2EA50B08A2CD2338CE8F6941175B39BF&key=yt8&lang=ja",
"is_translatable": true,
"kind": "",
"language_code": "ja",
"language_name": "日语"
},
"… 3 more items in the full response"
],
"category": "Music",
"channel_avatar_thumbnails": [
{
"height": 48,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s48-c-k-c0x00ffffff-no-rj",
"width": 48
},
{
"height": 88,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
"width": 88
},
{
"height": 176,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s176-c-k-c0x00ffffff-no-rj",
"width": 176
}
],
"channel_handle": "@RickAstleyYT",
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"channel_url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
"chapters": null,
"comment_count": "245万",
"date_text": "2009年10月24日",
"description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttps://linktr.ee/rickastleynever\n\n“Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100. It also won the Brit Award for Best single in 1988. Stock Aitken and Waterman wrote and produced the track which was the lead-off single and lead track from Rick’s debut LP “Whenever You Need Somebody”…",
"embed_url": "https://www.youtube.com/embed/dQw4w9WgXcQ",
"endscreen": [
{
"channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
"image_thumbnails": [
{
"height": 250,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s250-c-k-c0x00ffffff-no-rj",
"width": 250
},
{
"height": 400,
"url": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s400-c-k-c0x00ffffff-no-rj",
"width": 400
}
],
"style": "CHANNEL",
"title": "Rick Astley"
},
{
"image_thumbnails": [
{
"height": 94,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFACKgBEF5IWvKriqkDMwgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAHwAQH4Af4JgALQBYoCDAgAEAEYWCBfKGUwDw==&rs=AOn4CLCzj6_DcqR21HsLJj7aEx-HD164Sw",
"width": 168
},
{
"height": 110,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFACMQBEG5IWvKriqkDMwgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAHwAQH4Af4JgALQBYoCDAgAEAEYWCBfKGUwDw==&rs=AOn4CLCgj2QM99y82SV-zdL3zm3WcTYjtw",
"width": 196
},
{
"height": 138,
"url": "https://i.ytimg.com/vi/qQDrqV5Hw4c/hqdefault.jpg?sqp=-oaymwFBCPYBEIoBSFryq4qpAzMIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB8AEB-AH-CYAC0AWKAgwIABABGFggXyhlMA8=&rs=AOn4CLBDyyrDLCfbRlIYgQRjDDw3aKgqLA",
"width": 246
},
"… 2 more items in the full response"
],
"style": "VIDEO",
"title": "Rick Astley - Never : The Autobiography - Listen to the introduction of the Audiobook",
"video_id": "qQDrqV5Hw4c"
},
{
"image_thumbnails": [
{
"height": 94,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDfel1eqM8JfJ_b1cSYDEKuK7w-UQ&usqp=CBQ",
"width": 168
},
{
"height": 110,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEmCMQBEG5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDsHfHeUnT-h_nSxIx9HiHSH9ibfQ&usqp=CBQ",
"width": 196
},
{
"height": 138,
"url": "https://i.ytimg.com/vi/yi6fWPV6qXg/hqdefault.jpg?sqp=-oaymwEnCPYBEIoBSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCNISWhemmUehEUtNHoUhuJnHq1SA&usqp=CBQ",
"width": 246
},
"… 2 more items in the full response"
],
"style": "VIDEO",
"title": "Rick Astley - The Reflection Tour 2026 - Trailer",
"video_id": "yi6fWPV6qXg"
},
"… 1 more items in the full response"
],
"is_crawlable": true,
"is_family_safe": true,
"is_live_content": false,
"is_private": false,
"is_shorts_eligible": false,
"is_unlisted": false,
"is_verified": true,
"keywords": [
"rick astley",
"Never Gonna Give You Up",
"nggyu",
"… 24 more items in the full response"
],
"length_seconds": "213",
"like_count": "19474748",
"like_count_text": "1947万",
"merchandise": null,
"owner_profile_url": "http://www.youtube.com/@RickAstleyYT",
"playability_status": "OK",
"publish_date": "2009-10-24T23:57:33-07:00",
"relative_date_text": "16年前",
"short_view_count": "",
"storyboard_spec": "https://i.ytimg.com/sb/dQw4w9WgXcQ/storyboard3_L$L/$N.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgjXxPfBBg==|48#27#100#10#10#0#default#rs$AOn4CLDgtWGAnaqZZSEHsiFathAqjUlfLQ|80#45#108#10#10#2000#M$M#rs$AOn4CLBf8GkpJjLT0oNOXNqGg2XsF5MCMg|160#90#108#5#5#2000#M$M#rs$AOn4CLClA1jTU48sHENDTij_c2ZcE493TQ|320#180#108#3#3#2000#M$M#rs$AOn4CLCHZGerbRu0IiBb-AIyubx5_-E4oQ",
"subscriber_count_text": "455万位订阅者",
"super_title": "#RickAstley",
"thumbnails": [
{
"height": 720,
"url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"width": 1280
}
],
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"upload_date": "2009-10-24T23:57:33-07:00",
"video_id": "dQw4w9WgXcQ",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"view_count": "1823767786",
"view_count_text": "1,823,767,786次观看"
}
}
]더 살펴보기
| 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-v2/video-info에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.
필수: video_id (string). 선택: language_code (string) 및 need_format (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. YouTube Video Information은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. YouTube API 액세스를 별도로 신청할 필요는 없습니다.
선택된 11자 video_id를 보내세요. language_code는 의도적으로 설정하고, 단순화된 reference 형태에는 need_format true를 사용하세요. record에 metadata를 붙이기 전에 반환된 video_id를 확인하세요. 이 request는 video나 captions를 다운로드하지 않습니다.
아닙니다. localized, abbreviated, 비어 있음 또는 사용 불가일 수 있으며, 최상위 comments와 replies는 범위가 다릅니다. 원시 값을 유지하고, 표시된 total이나 관측된 단일 page size를 완전성 보장으로 취급하지 마세요.
metadata는 이미 다운로드된 transcript가 아니라 사용 가능한 track reference와 URL을 나열합니다. caption track를 선택하거나, 그 text를 가져오거나, media를 다운로드하는 것은 별도의 작업입니다. 누락된 count나 빈 text는 0이 아니라 알 수 없음입니다.