Youtube 数据 API V3 API

API ID 12299

官方全功能Youtube数据API V3 使用此API实时获取频道详细信息 视频详细信息 频道播放列表 播放列表中的视频 视频评论 评论线程 视频类别 地区 语言和搜索等

100% 正常运行时间 159 ms 平均响应

API 文档

端点

请求
返回与请求条件匹配的频道活动事件列表 例如您可以检索与特定频道或用户自己频道相关的事件
Endpoint ID: 36720
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36720/activities
输入参数

活动 — 端点功能

对象 描述
part 必需 The **part** parameter specifies a comma-separated list of one or more **activity** resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an **activity** resource, the **snippet** property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set **part=snippet**, the API response will also contain all of those nested properties. The following list contains the **part** names that you can include in the parameter value: - **contentDetails** - **id** - **snippet**
channelId 必需 The **channelId** parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's activities.
maxResults 可选 The **maxResults** parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are **0** to **50**, inclusive. The default value is **5**.
pageToken 可选 The **pageToken** parameter identifies a specific page in the result set that should be returned. In an API response, the **nextPageToken** and **prevPageToken** properties identify other pages that could be retrieved.
publishedAfter 可选 The **publishedAfter** parameter specifies the earliest date and time that an activity could have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be included in the result set. The value is specified in ISO 8601 (**YYYY-MM-DDThh:mm:ss.sZ**) format.
publishedBefore 可选 The **publishedBefore** parameter specifies the date and time before which an activity must have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The value is specified in ISO 8601 (**YYYY-MM-DDThh:mm:ss.sZ**) format.
regionCode 可选 The **regionCode** parameter instructs the API to return results for the specified country. The parameter value is an [ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html) country code. YouTube uses this value when the authorized user's previous activity on YouTube does not provide enough information to generate the activity feed.

剩余免费测试请求:3 / 3。


输入参数

part
channelId
maxResults
pageToken
publishedAfter
publishedBefore
regionCode
API 示例响应
JSON
{
    "kind": "youtube#activityListResponse",
    "etag": "6h7qDV9HBAftIx4OgYsFCk1vcYY",
    "items": [
        {
            "kind": "youtube#activity",
            "etag": "qcYH6S87CAsmo4q72WDGzU2lA6M",
            "id": "MTUxNzkyNjIzNjA4MTc5MjYyMzYwODAwMDA5OQ",
            "snippet": {
                "publishedAt": "2026-10-21T23:00:08+00:00",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "🔊 Voice design and voice replication with Gemini 3.8 Flash TTS",
                "description": "Google DeepMind’s Thor Schaeff demos how Gemini 3.8 Flash TTS and Gemini 3.8 Flash-Lite TTS let you design custom voices from a text prompt or replicate your own, with support for 100+ languages and easy access via the Gemini API.\n\nTry it now at ai.studio/generate-speech. Have questions? Drop them in the comments.\n\n\n\nSubscribe to Google for Developers → https://goo.gle/developers    \n\n\n\nSpeakers: Thor Schaeff\nProducts Mentioned: Gemini, Google AI Studio",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/CsF5oqVV5YE/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/CsF5oqVV5YE/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/CsF5oqVV5YE/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/CsF5oqVV5YE/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/CsF5oqVV5YE/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "type": "upload"
            }
        },
        {
            "kind": "youtube#activity",
            "etag": "8CB_LeOJmEpJFUU381VeZfZZfzA",
            "id": "MTUxNzkyNjA5MjIzMTc5MjYwOTIyMzAwMDA4OQ",
            "snippet": {
                "publishedAt": "2026-10-21T19:00:23+00:00",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Design and replicate voices with Gemini 3.8 Flash TTS",
                "description": "See how Gemini 3.8 Flash TTS lets you design custom voices from a text prompt and replicate your own voice in Google AI Studio. Google DeepMind’s Thor Schaeff walks through:\n\n*Voice design\n*Voice replication\n*Multi-speaker dialogue generation\n*Building with the Gemini API across 100+ languages\n*Partner integrations with Agora, LiveKit, Pipecat, and Vercel\nTry it now at ai.studio/generate-speech. Have questions? Drop them in the comments.\n\nChapters:\n0:00 — Introduction to Gemini TTS\n0:27 — Voice replication in Google AI Studio\n1:00 — Voice design from a text prompt\n2:19 — Using custom voices across multiple languages\n4:10 — Using custom voices in the Gemini API\n5:44 — Listing and managing voices via the Gemini API\n8:58 — Multi-speaker dialogue generation\n11:55 — Live podcast demo\n12:53 — Gemini 3.8 Flash TTS vs. Flash-Lite TTS\n13:34 — Partner integrations with Agora, LiveKit, Pipecat, and Vercel\n\n\n🔗Resources:\nBlog → https://goo.gle/4dQZL6c\nMigration Guide → https://goo.gle/4jzgSNG\nPrompting Guide → https://goo.gle/4ywvpgQ\n\n\n\nSubscribe to Google for Developers → https://goo.gle/developers    \n\n\n\n\nSpeakers: Thor Schaeff\nProducts Mentioned: Gemini, Google AI Studio",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "uhd": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/uhddefault.jpg",
                        "width": 3840,
                        "height": 2160
                    }
                },
                "channelTitle": "Google for Developers",
                "type": "upload"
            }
        },
        {
            "kind": "youtube#activity",
            "etag": "36mq4dOGtC1koz4pjux7YdYN-F8",
            "id": "MTE3OTI1OTU4NTMxNzkyNTk1ODUzMDAwMzA1",
            "snippet": {
                "publishedAt": "2026-10-21T15:17:33+00:00",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Design and replicate voices with Gemini 3.8 Flash TTS",
                "description": "See how Gemini 3.8 Flash TTS lets you design custom voices from a text prompt and replicate your own voice in Google AI Studio. Google DeepMind’s Thor Schaeff walks through:\n\n*Voice design\n*Voice replication\n*Multi-speaker dialogue generation\n*Building with the Gemini API across 100+ languages\n*Partner integrations with Agora, LiveKit, Pipecat, and Vercel\nTry it now at ai.studio/generate-speech. Have questions? Drop them in the comments.\n\nChapters:\n0:00 — Introduction to Gemini TTS\n0:27 — Voice replication in Google AI Studio\n1:00 — Voice design from a text prompt\n2:19 — Using custom voices across multiple languages\n4:10 — Using custom voices in the Gemini API\n5:44 — Listing and managing voices via the Gemini API\n8:58 — Multi-speaker dialogue generation\n11:55 — Live podcast demo\n12:53 — Gemini 3.8 Flash TTS vs. Flash-Lite TTS\n13:34 — Partner integrations with Agora, LiveKit, Pipecat, and Vercel\n\n\n🔗Resources:\nBlog → https://goo.gle/4dQZL6c\nMigration Guide → https://goo.gle/4jzgSNG\nPrompting Guide → https://goo.gle/4ywvpgQ\n\n\n\nSubscribe to Google for Developers → https://goo.gle/developers    \n\n\n\n\nSpeakers: Thor Schaeff\nProducts Mentioned: Gemini, Google AI Studio",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "uhd": {
                        "url": "https://i.ytimg.com/vi/SOF3_evPje8/uhddefault.jpg",
                        "width": 3840,
                        "height": 2160
                    }
                },
                "channelTitle": "Google for Developers",
                "type": "playlistItem"
            }
        },
        {
            "kind": "youtube#activity",
            "etag": "amMI2A-QatrbQm36po3OD2pEq6I",
            "id": "MTE3OTI0MjUxODQxNzkyNDI1MTg0MDAwMTk0",
            "snippet": {
                "publishedAt": "2026-10-19T15:53:04+00:00",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "How are large language models trained?",
                "description": "DeepMind’s Nikita Namjoshi breaks ​​down the two core phases of how large language models are trained: pre-training and post-training. Learn how next token prediction builds a model's foundation, and how supervised fine-tuning, reinforcement learning, and Autoraters refine it into a safe, helpful assistant.\n\nSubscribe to Google for Developers → https://goo.gle/developers  \n\nSpeaker: Nikita Namjoshi \nProducts Mentioned:  Google AI, Gemini",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/JRArFxEfyQU/default.jpg"
                    }
                }
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
活动 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36720/activities?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回与指定视频相关的字幕轨道列表
Endpoint ID: 36721
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36721/captions
输入参数

字幕 — 端点功能

对象 描述
part 必需 The **part** parameter specifies the **caption** resource parts that the API response will include. The list below contains the **part** names that you can include in the parameter value: - **id** - **snippet**
videoId 可选 The **videoId** parameter specifies the YouTube video ID of the video for which the API should return caption tracks.
id 可选 The **id** parameter specifies a comma-separated list of IDs that identify the caption resources that should be retrieved. Each ID must identify a caption track associated with the specified video.

剩余免费测试请求:3 / 3。


输入参数

part
videoId
id
API 示例响应
JSON
{
    "kind": "youtube#captionListResponse",
    "etag": "G_Ehsm0RGB4fF8iK04JDjA8MVio",
    "items": [
        {
            "kind": "youtube#caption",
            "etag": "g4iMCrKEoBFuQujhForcJZYWKwI",
            "id": "AUieDaYid9v0v28sWuEgaQB8Ft4A6NNjIZLZCOKA6bhk",
            "snippet": {
                "videoId": "Q8TXgCzxEnw",
                "lastUpdated": "2014-06-26T23:21:52.354279Z",
                "trackKind": "standard",
                "language": "en",
                "name": "",
                "audioTrackType": "unknown",
                "isCC": false,
                "isLarge": false,
                "isEasyReader": false,
                "isDraft": false,
                "isAutoSynced": false,
                "status": "serving"
            }
        },
        {
            "kind": "youtube#caption",
            "etag": "DNY1CwT41tFFd3OmxA_NZ4Jej_U",
            "id": "AUieDaa_uDQf2lXxoaCNcPeCraomrczCVHQqfbnE95K1ukhYcow",
            "snippet": {
                "videoId": "Q8TXgCzxEnw",
                "lastUpdated": "2024-09-01T08:03:33.576063Z",
                "trackKind": "asr",
                "language": "en",
                "name": "",
                "audioTrackType": "unknown",
                "isCC": false,
                "isLarge": false,
                "isEasyReader": false,
                "isDraft": false,
                "isAutoSynced": false,
                "status": "serving"
            }
        }
    ]
}
字幕 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36721/captions?part=snippet&videoId=Q8TXgCzxEnw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个频道资源包含有关YouTube频道的信息 必需的:部分,以及id、forHandle或forUsername中的一个
Endpoint ID: 23107
GET https://zylalabs.com/api/12299/youtube+data+api+v3/23107/channels
输入参数

频道 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API response will also contain all of those nested properties. The following list contains the part names that you can include in the parameter value: - **auditDetails** - **brandingSettings** - **contentDetails** - **contentOwnerDetails** - **id** - **localizations** - **snippet** - **statistics** - **status** - **topicDetails**
forHandle 可选 The forHandle parameter specifies a YouTube handle, thereby requesting the channel associated with that handle. The parameter value can be prepended with an @ symbol. For example, to retrieve the resource for the \\\\\\\"Google for Developershttps://developers.google.com/youtube/v3/docs/channels/list\\\\\\\" channel, set the forHandle parameter value to either **GoogleDevelopers **or **@GoogleDevelopers**.
forUsername 可选 The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
id 可选 The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.
hl 可选 The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method. If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

剩余免费测试请求:3 / 3。


输入参数

part
forHandle
forUsername
id
hl
maxResults
pageToken
API 示例响应
JSON
{
    "kind": "youtube#channelListResponse",
    "etag": "nQkNk67ikOt0Z0xIiOHsci5nz9Q",
    "pageInfo": {
        "totalResults": 1,
        "resultsPerPage": 5
    },
    "items": [
        {
            "kind": "youtube#channel",
            "etag": "J2t0PKcaWU0EuCN4PRrkApMjhbw",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
            "snippet": {
                "title": "Google for Developers",
                "description": "Welcome to Google for Developers! Subscribe for the latest tools, APIs, and frameworks. Get step-by-step guides for Gemini and Google AI Studio, master modern engineering practices, and discover next-generation builds, to build what’s next with Google for Developers.\n",
                "customUrl": "@googledevelopers",
                "publishedAt": "2007-08-23T00:34:43Z",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/r99eRlOesQkJe7pOzDY4JazAlhidoVp-0syxBnYjfeHdmUXGa5zOxcozaxKF2oPHg3RkglecZQ=s88-c-k-c0x00ffffff-no-rj",
                        "width": 88,
                        "height": 88
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/r99eRlOesQkJe7pOzDY4JazAlhidoVp-0syxBnYjfeHdmUXGa5zOxcozaxKF2oPHg3RkglecZQ=s240-c-k-c0x00ffffff-no-rj",
                        "width": 240,
                        "height": 240
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/r99eRlOesQkJe7pOzDY4JazAlhidoVp-0syxBnYjfeHdmUXGa5zOxcozaxKF2oPHg3RkglecZQ=s800-c-k-c0x00ffffff-no-rj",
                        "width": 800,
                        "height": 800
                    }
                },
                "localized": {
                    "title": "Google for Developers",
                    "description": "Welcome to Google for Developers! Subscribe for the latest tools, APIs, and frameworks. Get step-by-step guides for Gemini and Google AI Studio, master modern engineering practices, and discover next-generation builds, to build what’s next with Google for Developers.\n"
                },
                "country": "US"
            }
        }
    ]
}
频道 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/23107/channels?part=snippet&id=UC_x5XG1OV2P6uZZ5FSM9Ttw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个channelSection资源包含有关频道选择展示的一组视频的信息 例如一个部分可以展示频道最新上传的内容 最受欢迎的上传或来自一个或多个播放列表的视频
Endpoint ID: 36722
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36722/channelsections
输入参数

频道部分 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the section. If you set part=snippet, the API response will also contain all of those nested properties. The following list contains the part names that you can include in the parameter value: - **contentDetails** - **id** - **snippet**
channelId 可选 The channelId parameter specifies a YouTube channel ID. If a request specifies a value for this parameter, the API will only return the specified channel's sections.
id 可选 The id parameter specifies a comma-separated list of IDs that uniquely identify the channelSection resources that are being retrieved. In a channelSection resource, the id property specifies the section's ID.

剩余免费测试请求:3 / 3。


输入参数

part
channelId
id
API 示例响应
JSON
{
    "kind": "youtube#channelSectionListResponse",
    "etag": "J8VGjD_fsHdGT3jODUl0Jtsik6Q",
    "items": [
        {
            "kind": "youtube#channelSection",
            "etag": "1af1l_CLvhLMwrJVJPGPQWNsYlU",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.jNQXAC9IVRw",
            "snippet": {
                "type": "singleplaylist",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "position": 0
            }
        },
        {
            "kind": "youtube#channelSection",
            "etag": "0qhx293gf7TDtiLMVxnHrQSqb1A",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.LeAltgu_pbM",
            "snippet": {
                "type": "singleplaylist",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "position": 1
            }
        },
        {
            "kind": "youtube#channelSection",
            "etag": "fi-C45WgWktpI5ZsL9R44MK2HqE",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.nGzAI5pLbMY",
            "snippet": {
                "type": "singleplaylist",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "position": 2
            }
        },
        {
            "kind": "youtube#channelSection",
            "etag": "sXPyySWF-iRaO5VQlELQqgpccus",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.__WLXNpu6u8",
            "snippet": {
                "type": "singleplaylist",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "position": 3
            }
        },
        {
            "kind": "youtube#channelSection",
            "etag": "EbcJhk-6XvpWjX7fl-S7knVf6qU",
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.Zx4DA4xg9IM",
            "snippet": {
                "type": "channelsectiontypeundefined",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "position": 4
            }
        }
    ]
}
频道部分 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36722/channelsections?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个评论资源包含关于单个 YouTube 评论的信息 评论资源可以代表关于视频或频道的评论 此外 评论可以是顶级评论或对顶级评论的回复
Endpoint ID: 36723
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36723/comments
输入参数

评论 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include. The following list contains the part names that you can include in the parameter value: id snippet
id 可选 The id parameter specifies a comma-separated list of comment IDs for the resources that are being retrieved. In a comment resource, the id property specifies the comment's ID.
parentId 可选 The parentId parameter specifies the ID of the comment for which replies should be retrieved. Note: YouTube currently supports replies only for top-level comments. However, replies to replies may be supported in the future.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Note: This parameter is not supported for use in conjunction with the id parameter. Acceptable values are 1 to 100, inclusive. The default value is 20.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved. Note: This parameter is not supported for use in conjunction with the id parameter.
textFormat 可选 This parameter indicates whether the API should return comments formatted as HTML or as plain text. The default value is html. Acceptable values are: html – Returns the comments in HTML format. This is the default value. plainText – Returns the comments in plain text format.

剩余免费测试请求:3 / 3。


输入参数

part
id
parentId
maxResults
pageToken
textFormat
API 示例响应
JSON
{
    "kind": "youtube#commentListResponse",
    "etag": "X9oYEjM-WI0OGbpCjXGqsu6APw8",
    "items": [
        {
            "kind": "youtube#comment",
            "etag": "hU4s7grCktqji8uO9d5RpTc2LDc",
            "id": "UgzA1Plb7BVpLV-yYA94AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "textDisplay": "which underground artists are you looking out for in 2026??",
                "textOriginal": "which underground artists are you looking out for in 2026??",
                "authorDisplayName": "@YouTube",
                "authorProfileImageUrl": "https://yt3.ggpht.com/3s6evpqAiDU9tQR4sC2siJippbH2RWVPnwHgyl4V0th2iuQz0VDQZbUhQBGmsxLYo-mjG6TqZQ=s48-c-k-c0x00ffffff-no-rj",
                "authorChannelUrl": "http://www.youtube.com/@YouTube",
                "authorChannelId": {
                    "value": "UCBR8-60-B28hp2BmDPdntcQ"
                },
                "canRate": true,
                "viewerRating": "none",
                "likeCount": 179,
                "publishedAt": "2026-04-01T17:58:47Z",
                "updatedAt": "2026-04-01T17:58:47Z"
            }
        }
    ]
}
评论 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36723/comments?part=snippet&id=UgzA1Plb7BVpLV-yYA94AaABAg' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个commentThread资源包含关于YouTube评论线程的信息,该线程包括一个顶级评论和对该评论的回复(如果存在)。一个commentThread资源代表视频上的评论
Endpoint ID: 36724
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36724/commentthreads
输入参数

评论线程 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. The following list contains the part names that you can include in the parameter value: id replies snippet
allThreadsRelatedToChannelId 可选 The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel.
id 可选 The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved.
videoId 可选 The videoId parameter instructs the API to return comment threads associated with the specified video ID.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Note: This parameter is not supported for use in conjunction with the id parameter. Acceptable values are 1 to 100, inclusive. The default value is 20.
order 可选 The order parameter specifies the order in which the API response should list comment threads. Valid values are: time - Comment threads are ordered by time. This is the default behavior. relevance - Comment threads are ordered by relevance. Note: This parameter is not supported for use in conjunction with the id parameter.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved. Note: This parameter is not supported for use in conjunction with the id parameter.
searchTerms 可选 The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms. Note: This parameter is not supported for use in conjunction with the id parameter.
textFormat 可选 Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text. The default value is html. Acceptable values are: html – Returns the comments in HTML format. This is the default value. plainText – Returns the comments in plain text format.

剩余免费测试请求:3 / 3。


输入参数

part
allThreadsRelatedToChannelId
id
videoId
maxResults
order
pageToken
searchTerms
textFormat
API 示例响应
JSON
{
    "kind": "youtube#commentThreadListResponse",
    "etag": "JDE0sIInsQ9DXrjJx_00eqNcd8I",
    "nextPageToken": "Z2V0X25ld2VzdF9maXJzdC0tQ2dnSWdBUVZGN2ZST0JJRkNNZ2dHQUFTQlFpZElCZ0JFZ1VJaHlBWUFCSUZDSWtnR0FBU0JRaWVJQmdBRWdVSXFDQVlBQklGQ0lnZ0dBQWlEZ29NQ01pTjNjOEdFUENzeWRFQ1VBQllBUQ==",
    "pageInfo": {
        "totalResults": 20,
        "resultsPerPage": 20
    },
    "items": [
        {
            "kind": "youtube#commentThread",
            "etag": "b0wIwMyL-wrXjWKBK74bqZruPGY",
            "id": "UgzA1Plb7BVpLV-yYA94AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "CAtmV0VOcVyTWn4YBC42Yi1_sLs",
                    "id": "UgzA1Plb7BVpLV-yYA94AaABAg",
                    "snippet": {
                        "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                        "videoId": "eGGUmoxvdAM",
                        "textDisplay": "which underground artists are you looking out for in 2026??",
                        "textOriginal": "which underground artists are you looking out for in 2026??",
                        "authorDisplayName": "@YouTube",
                        "authorProfileImageUrl": "https://yt3.ggpht.com/3s6evpqAiDU9tQR4sC2siJippbH2RWVPnwHgyl4V0th2iuQz0VDQZbUhQBGmsxLYo-mjG6TqZQ=s48-c-k-c0x00ffffff-no-rj",
                        "authorChannelUrl": "http://www.youtube.com/@YouTube",
                        "authorChannelId": {
                            "value": "UCBR8-60-B28hp2BmDPdntcQ"
                        },
                        "canRate": true,
                        "viewerRating": "none",
                        "likeCount": 179,
                        "publishedAt": "2026-04-01T17:58:47Z",
                        "updatedAt": "2026-04-01T17:58:47Z"
                    }
                },
                "canReply": true,
                "totalReplyCount": 76,
                "isPublic": true
            }
        },
        {
            "kind": "youtube#commentThread",
            "etag": "u_Sjiq_hvyGCDuVR2iYDsxY8avg",
            "id": "UgwiQrJCj4hy3QG4Dzl4AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "i8k0Zsm0xZ5h3Pp-eYlUYMcw-L4",
                    "id": "UgwiQrJCj4hy3QG4Dzl4AaABAg",
                    "snippet": {
                        "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                        "videoId": "eGGUmoxvdAM",
                        "textDisplay": "Quit using ai to track people for  ai when they are actual artist and people, it's talking money away and hurting their income",
                        "textOriginal": "Quit using ai to track people for  ai when they are actual artist and people, it's talking money away and hurting their income",
                        "authorDisplayName": "@Rosebud_2011",
                        "authorProfileImageUrl": "https://yt3.ggpht.com/yNPxMNEifnk40J8gj1oafwAPdis7bjAN8JTAweDpBC5b6Sq5c5LRuP4h6FMiLqHUfdHfX8QP7w=s48-c-k-c0x00ffffff-no-rj",
                        "authorChannelUrl": "http://www.youtube.com/@Rosebud_2011",
                        "authorChannelId": {
                            "value": "UCmRhtuzehjHwieKLtAvBNgA"
                        },
                        "canRate": true,
                        "viewerRating": "none",
                        "likeCount": 0,
                        "publishedAt": "2026-10-13T20:39:45Z",
                        "updatedAt": "2026-10-13T20:39:45Z"
                    }
                },
                "canReply": true,
                "totalReplyCount": 0,
                "isPublic": true
            }
        },
        {
            "kind": "youtube#commentThread",
            "etag": "L-Cd0N6MEz3CIZQ2p5A_nW_2kCA",
            "id": "UgxzaWMDLZGfSvY7M714AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "HAH1LS-r5tycRKvOPIaYpgeVRGE",
                    "id": "UgxzaWMDLZGfSvY7M714AaABAg",
                    "snippet": {
                        "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                        "videoId": "eGGUmoxvdAM",
                        "textDisplay": "I just started my own chess channel in spanish and it's going well",
                        "textOriginal": "I just started my own chess channel in spanish and it's going well",
                        "authorDisplayName": "@GianChessOficial",
                        "authorProfileImageUrl": "https://yt3.ggpht.com/T1UfbMUrtGdir_PXnqjc1ZWVnSdx1rAMZpGGC7U7MJxLsd4WlcJVi_zYVuYgHC8vl6LdTSWNja8=s48-c-k-c0x00ffffff-no-rj",
                        "authorChannelUrl": "http://www.youtube.com/@GianChessOficial",
                        "authorChannelId": {
                            "value": "UCXb_gWGRn9uKOOrQBeM2WHA"
                        },
                        "canRate": true,
                        "viewerRating": "none",
                        "likeCount": 1,
                        "publishedAt": "2026-09-18T23:10:23Z",
                        "updatedAt": "2026-09-18T23:10:23Z"
                    }
                },
                "canReply": true,
                "totalReplyCount": 0,
                "isPublic": true
            }
        },
        {
            "kind": "youtube#commentThread",
            "etag": "h5stX0H8JIu8HwgQWFS5X6sNGIk",
            "id": "UgyZigCDqM86Bbwqa694AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "7OJ4xRMhW-_fgbnfJAUt826Gdu8",
                    "id": "UgyZigCDqM86Bbwqa694AaABAg",
                    "snippet": {
                        "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                        "videoId": "eGGUmoxvdAM",
                        "textDisplay": "I remember this guy he used to make music now he is just a guy",
                        "textOriginal": "I remember this guy he used to make music now he is just a guy",
                        "authorDisplayName": "@Go-shawkkkk",
                        "authorProfileImageUrl": "https://yt3.ggpht.com/SEV3M3jexrqV5ojyVQPQnWWt0Euo26q0M48KyNTZ-ytYnfjdIw9OFov_gHgBRe6_PX5dZkgJneg=s48-c-k-c0x00ffffff-no-rj",
                        "authorChannelUrl": "http://www.youtube.com/@Go-shawkkkk",
                        "authorChannelId": {
                            "value": "UCLIQPU-xDaz3exg4HyIO6PQ"
                        },
                        "canRate": true,
                        "viewerRating": "none",
                        "likeCount": 0,
                        "publishedAt": "2026-08-01T19:49:32Z",
                        "updatedAt": "2026-08-01T19:49:32Z"
                    }
                },
                "canReply": true,
                "totalReplyCount": 0,
                "isPublic": true
            }
        },
        {
            "kind": "youtube#commentThread",
            "etag": "xlveK7obP9X7ofXLjtsDaPJlzCE",
            "id": "UgwfeICEHneYtDJupOV4AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "mGBB0K6cMqHoAbY6xoXE0d8H_gk",
                    "id": "UgwfeICEHneYtDJupOV4AaABAg",
                    "snippet": {
                        "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                        "videoId": "eGGUmoxvdAM",
                        "textDisplay": "Why swae look irritated in the first clip",
                        "textOriginal": "Why swae look irritated in the first clip",
                        "authorDisplayName": "@alanagordon9756",
                        "authorProfileImageUrl": "https://yt3.ggpht.com/ytc/AIdro_kcgK-wZ-x8jy0kQW-6tTeP87M2ULhfUJH8hp6t-pY=s48-c-k-c0x00ffffff-no-rj",
                        "authorChannelUrl": "http://www.youtube.com/@alanagordon9756",
                        "authorChannelId": {
                            "value": "UCp3zTeWjh8igVVB-8fGXp3A"
                        },
                        "canRate": true,
                        "viewerRating": "none",
                        "likeCount": 0,
                        "publishedAt": "2026-07-28T14:24:36Z",
                        "updatedAt": "2026-07-28T14:24:36Z"
                    }
                },
                "canReply": true,
                "totalReplyCount": 0,
                "isPublic": true
            }
        },
        {
            "kind": "youtube#commentThread",
            "etag": "vBhdV__KZ7cmU_FUNJe5TAXCTEI",
            "id": "Ugy5QSksuruEa0N2dM54AaABAg",
            "snippet": {
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "videoId": "eGGUmoxvdAM",
                "topLevelComment": {
                    "kind": "youtube#comment",
                    "etag": "rOB3vOcbQo7eIrgGcneA7W0KTeU"
                }
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
评论线程 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36724/commentthreads?part=snippet&videoId=eGGUmoxvdAM' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
i18nLanguage 资源标识了 YouTube 网站支持的应用语言。应用语言也可以称为用户界面语言。对于 YouTube 网站,应用语言可以根据 Google 帐户设置、浏览器语言或 IP 位置自动选择。用户也可以手动从 YouTube 网站底部选择所需的用户界面语言。 每个 i18nLanguage 资源标识一个语言代码和一个名称。语言代码可以用作调用 API 方法(如 videoCategories.list 和 guideCategories.list)时 hl 参数的值。
Endpoint ID: 36725
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36725/i18nlanguages
输入参数

i18n语言 — 端点功能

对象 描述
part 必需 The part parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet.
hl 可选 The hl parameter specifies the language that should be used for text values in the API response. The default value is en_US.

剩余免费测试请求:3 / 3。


输入参数

part
hl
API 示例响应
JSON
{
    "kind": "youtube#i18nLanguageListResponse",
    "etag": "BWfamz4EkEUnBLn4e5RPGocAZbo",
    "items": [
        {
            "kind": "youtube#i18nLanguage",
            "etag": "1OjwIvsEf9UstcR8l9SVbvsK8Qw",
            "id": "af",
            "snippet": {
                "hl": "af",
                "name": "Afrikaans"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "ptN1RQzFShVdKYWSazyl6Givu1Q",
            "id": "am",
            "snippet": {
                "hl": "am",
                "name": "Amharic"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "GOvkz2ITW6w0y-0cigEa0BiHOac",
            "id": "ar",
            "snippet": {
                "hl": "ar",
                "name": "Arabic"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "qq6RBDRnnlL26sMbNlNgGRzeHUA",
            "id": "as",
            "snippet": {
                "hl": "as",
                "name": "Assamese"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "uDg13IUyl-wwViQm18NMTW_ce0A",
            "id": "az",
            "snippet": {
                "hl": "az",
                "name": "Azerbaijani"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "Lm0ZiLTnpttFm1HusOcCsptMVxE",
            "id": "be",
            "snippet": {
                "hl": "be",
                "name": "Belarusian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "Dj3vfaKr-aZ-b-06kGnY4PXI7bM",
            "id": "bg",
            "snippet": {
                "hl": "bg",
                "name": "Bulgarian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "a471edgI4PA-FqA83fMPVUU6zvA",
            "id": "bn",
            "snippet": {
                "hl": "bn",
                "name": "Bangla"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "nuRjdcP-Q8WkXeMGSdDWeVFkcvY",
            "id": "bs",
            "snippet": {
                "hl": "bs",
                "name": "Bosnian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "L_u-rBrwiKODP2FjRrnQKITLSPA",
            "id": "ca",
            "snippet": {
                "hl": "ca",
                "name": "Catalan"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "MJmowW8Rg_nt7Tjiw4rrm0fGNDw",
            "id": "cs",
            "snippet": {
                "hl": "cs",
                "name": "Czech"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "MipTdZ94p3AUXZxJYZjtSQmhGGs",
            "id": "da",
            "snippet": {
                "hl": "da",
                "name": "Danish"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "6bbZS27M2Eb5bzFunNXOIM2_tX8",
            "id": "de",
            "snippet": {
                "hl": "de",
                "name": "German"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "5zEwAScJ2Y38LtPsAjjnEwNpPm8",
            "id": "el",
            "snippet": {
                "hl": "el",
                "name": "Greek"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "qgroCBr1hP_jXuenKDTfoe7IyyA",
            "id": "en-GB",
            "snippet": {
                "hl": "en-GB",
                "name": "English (United Kingdom)"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "PHRE99ogPUJCN_skbHTZfCM97pA",
            "id": "en-IN",
            "snippet": {
                "hl": "en-IN",
                "name": "English (India)"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "srA_BMmtwErWd1pyYvAE2VztIpc",
            "id": "en",
            "snippet": {
                "hl": "en",
                "name": "English"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "v4C78JQrZLnUSgSe_L6suQGX5LY",
            "id": "es",
            "snippet": {
                "hl": "es",
                "name": "Spanish"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "TGn2CqD2AtjuK4fs7SzzIdw54E4",
            "id": "es-419",
            "snippet": {
                "hl": "es-419",
                "name": "Spanish (Latin America)"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "Z-MgkL-MuKhVt7mKTXdrmjP9dR0",
            "id": "es-US",
            "snippet": {
                "hl": "es-US",
                "name": "Spanish (United States)"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "qcPudx3epm-gXf9cb5ySQ2pWMg8",
            "id": "et",
            "snippet": {
                "hl": "et",
                "name": "Estonian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "bC9x5fg82j8TipdPmQiHwdYCH98",
            "id": "eu",
            "snippet": {
                "hl": "eu",
                "name": "Basque"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "g0j--ft2e1DH2z9HagcVs3IGFmI",
            "id": "fa",
            "snippet": {
                "hl": "fa",
                "name": "Persian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "BvlcHJ6JlwmywjZa9CYjLAHFpvM",
            "id": "fi",
            "snippet": {
                "hl": "fi",
                "name": "Finnish"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "BhMshfumon6e2maHdP08bebwwBU",
            "id": "fil",
            "snippet": {
                "hl": "fil",
                "name": "Filipino"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "gJ691d_VvC7WECuAVhJLL9bFYkU",
            "id": "fr-CA",
            "snippet": {
                "hl": "fr-CA",
                "name": "French (Canada)"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "ff1FjCL1SFlYsjv-EQ1-UVADSwU",
            "id": "fr",
            "snippet": {
                "hl": "fr",
                "name": "French"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "6KcW4x-G1aheGoghSFsNykDivDU",
            "id": "gl",
            "snippet": {
                "hl": "gl",
                "name": "Galician"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "WaPTdmFmbTHWRCNQBwjOBY7rrF4",
            "id": "gu",
            "snippet": {
                "hl": "gu",
                "name": "Gujarati"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "KtnqcIYqnier7i9q3LSy3e-Pq9Y",
            "id": "hi",
            "snippet": {
                "hl": "hi",
                "name": "Hindi"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "tU0qw0ipNPNzz8nrj2iVM7crTw8",
            "id": "hr",
            "snippet": {
                "hl": "hr",
                "name": "Croatian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "8Fe26hnjaipwmaOx2AfMi2Ykqoo",
            "id": "hu",
            "snippet": {
                "hl": "hu",
                "name": "Hungarian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "HRIO2nt8t08FmC2M7jW56qWXr24",
            "id": "hy",
            "snippet": {
                "hl": "hy",
                "name": "Armenian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "x29H6JIPwYGT-2OA4nmdD_WSf6I",
            "id": "id",
            "snippet": {
                "hl": "id",
                "name": "Indonesian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "OvJDGeq2teVfWFxvSf5Zf_I6itI",
            "id": "is",
            "snippet": {
                "hl": "is",
                "name": "Icelandic"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "RoEk7F9gU6Gz_6pm_qPjQrpjUpQ",
            "id": "it",
            "snippet": {
                "hl": "it",
                "name": "Italian"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "QpsUsLITQ0GaDMli0aJuDDuuoF4",
            "id": "iw",
            "snippet": {
                "hl": "iw",
                "name": "Hebrew"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "ne7vQB7aUHUG3OZ-iCEAuK5ghC4",
            "id": "ja",
            "snippet": {
                "hl": "ja",
                "name": "Japanese"
            }
        },
        {
            "kind": "youtube#i18nLanguage",
            "etag": "2PXmMJtcDuPB23E-Ng7NlgjpuqE"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
I18n语言 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36725/i18nlanguages?part=snippet&hl=en_US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
i18nRegion资源识别用户可以选择作为首选内容区域的地理区域。内容区域也可以称为内容语言区域。对于YouTube网站,内容区域可以根据启发式方法自动选择,例如YouTube域名或用户的IP位置。用户也可以从YouTube网站底部手动选择所需的内容区域。 每个i18nRegion资源标识一个区域代码和名称。区域代码可以作为调用API方法时regionCode参数的值,例如search.list、videos.list、activities.list和videoCategories.list。
Endpoint ID: 36726
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36726/i18nregions
输入参数

i18n地区 — 端点功能

对象 描述
part 必需 The part parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet.
hl 可选 The hl parameter specifies the language that should be used for text values in the API response. The default value is en_US.

剩余免费测试请求:3 / 3。


输入参数

part
hl
API 示例响应
JSON
{
    "kind": "youtube#i18nRegionListResponse",
    "etag": "O0XOx_7MspCVzc3CES1obXm31_s",
    "items": [
        {
            "kind": "youtube#i18nRegion",
            "etag": "RmvQrICcSKx5BZkuwuIam0hkr9o",
            "id": "AE",
            "snippet": {
                "gl": "AE",
                "name": "United Arab Emirates"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "lYa87JjqaXmfqWaf6vuQD3YSNo4",
            "id": "BH",
            "snippet": {
                "gl": "BH",
                "name": "Bahrain"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "sNy_f3n1a8hzh4cy6lk7Blq6MgU",
            "id": "DZ",
            "snippet": {
                "gl": "DZ",
                "name": "Algeria"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "epyyUiiXSMjhLjkCvWGK-3zDKpM",
            "id": "EG",
            "snippet": {
                "gl": "EG",
                "name": "Egypt"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "foRr-koDaxI_23FCQgzB6S9YdQw",
            "id": "IQ",
            "snippet": {
                "gl": "IQ",
                "name": "Iraq"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "m1XLnpk2rbqMpwSZoka9-5P8gLc",
            "id": "JO",
            "snippet": {
                "gl": "JO",
                "name": "Jordan"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "zC0vjycew30h6Q1SVGY-wPYNOrg",
            "id": "KW",
            "snippet": {
                "gl": "KW",
                "name": "Kuwait"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "DJkocR6JpoY3ReMH479TGJMk-yk",
            "id": "LB",
            "snippet": {
                "gl": "LB",
                "name": "Lebanon"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "N3hHa9zCmB14XYdDcEnm4BHFubo",
            "id": "LY",
            "snippet": {
                "gl": "LY",
                "name": "Libya"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "UdULvJ_Scaxjyg3LsVo1Sz1AAac",
            "id": "MA",
            "snippet": {
                "gl": "MA",
                "name": "Morocco"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "mnCTKgIZZXCoJ_q8UZyBkEM4OyE",
            "id": "OM",
            "snippet": {
                "gl": "OM",
                "name": "Oman"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "KlyfhBOCPgb37SdHG7jJDhK_WFk",
            "id": "QA",
            "snippet": {
                "gl": "QA",
                "name": "Qatar"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "-r4m0QrM6e_Q4MxePqSHhH32xyU",
            "id": "SA",
            "snippet": {
                "gl": "SA",
                "name": "Saudi Arabia"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "mMOrbS2kwInKIyfzRmIWehWL-rc",
            "id": "TN",
            "snippet": {
                "gl": "TN",
                "name": "Tunisia"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "Thj1Imz9wlMsj3CWoTIzrJe8I7I",
            "id": "YE",
            "snippet": {
                "gl": "YE",
                "name": "Yemen"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "Tgmx13JCzXSo79M_mJhhf7n4n3w",
            "id": "AZ",
            "snippet": {
                "gl": "AZ",
                "name": "Azerbaijan"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "LwqyTp3nnjk81yEkyDrhiC956V8",
            "id": "BY",
            "snippet": {
                "gl": "BY",
                "name": "Belarus"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "pi4_50Lncnobd3EDtryicSwjOMY",
            "id": "BG",
            "snippet": {
                "gl": "BG",
                "name": "Bulgaria"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "Elc9Gum3arxR9i_dcGe2MBfsH94",
            "id": "BD",
            "snippet": {
                "gl": "BD",
                "name": "Bangladesh"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "96TKUS0iMBO8c56acjkLxJNRehQ",
            "id": "BA",
            "snippet": {
                "gl": "BA",
                "name": "Bosnia and Herzegovina"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "Jpvv6dmgJyP3n4esahjaB-PN4bI",
            "id": "CZ",
            "snippet": {
                "gl": "CZ",
                "name": "Czechia"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "BsjIaoZSa5xS4SF331k4PNHcT_s",
            "id": "DK",
            "snippet": {
                "gl": "DK",
                "name": "Denmark"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "ySQOwpG2E4hUDVMpFf-F0ctzXuI",
            "id": "AT",
            "snippet": {
                "gl": "AT",
                "name": "Austria"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "3s0qWLGJ4snNPAuiJH7FH6KDzY0",
            "id": "CH",
            "snippet": {
                "gl": "CH",
                "name": "Switzerland"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "pMyVeT0AIiXm59V6YvAXoPI6GS8",
            "id": "DE",
            "snippet": {
                "gl": "DE",
                "name": "Germany"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "HDS1oBYBFvzu8gzDMY2FObiDLE0",
            "id": "GR",
            "snippet": {
                "gl": "GR",
                "name": "Greece"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "C_5WUIas2wbmJxj6DYD2p0W32tM",
            "id": "AU",
            "snippet": {
                "gl": "AU",
                "name": "Australia"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "zGpdjPQLBJzh3Jlgwlp-xILP9K8",
            "id": "BE",
            "snippet": {
                "gl": "BE",
                "name": "Belgium"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "ykbeYnOX3J4Sor4i9zoDeJNOrfg",
            "id": "CA",
            "snippet": {
                "gl": "CA",
                "name": "Canada"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "bsGyXb81zbBtQuCOdjC4hCGO9FA",
            "id": "GB",
            "snippet": {
                "gl": "GB",
                "name": "United Kingdom"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "WsXHJvE2UF13Tsr7FNCp3JGoEjo",
            "id": "GH",
            "snippet": {
                "gl": "GH",
                "name": "Ghana"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "l6phcCHwXhd6B40synlTH-Liwgg",
            "id": "IE",
            "snippet": {
                "gl": "IE",
                "name": "Ireland"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "H-rqfcC8wk6QOY9q2lAtEa8Yac4",
            "id": "IL",
            "snippet": {
                "gl": "IL",
                "name": "Israel"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "g_wwT9RH6RcOVtu3e3a58Ds3ThE",
            "id": "IN",
            "snippet": {
                "gl": "IN",
                "name": "India"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "wG7nLDB9rI6mgnfQZPINMmxf6r4",
            "id": "JM",
            "snippet": {
                "gl": "JM",
                "name": "Jamaica"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "iD1R4mNYzOi9wKrp-WECCvew4cg",
            "id": "KE",
            "snippet": {
                "gl": "KE",
                "name": "Kenya"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "C8VXBSWK81MKYAxX5HsBa-Lu6Ps",
            "id": "MT",
            "snippet": {
                "gl": "MT",
                "name": "Malta"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "GqXrz2Td2q056qMCXcQdsW_XFw0",
            "id": "NG",
            "snippet": {
                "gl": "NG",
                "name": "Nigeria"
            }
        },
        {
            "kind": "youtube#i18nRegion",
            "etag": "auzxGZbOKP_-UZGz3gRBGuR688A",
            "id": "NZ",
            "snippet": {
                "gl": "NZ",
                "name": "New Zealand"
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
I18n地区 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36726/i18nregions?part=snippet&hl=en_US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个播放列表资源表示一个YouTube播放列表 播放列表是一个可以按顺序观看并与其他用户分享的视频集合 默认情况下,播放列表对其他用户是公开可见的,但播放列表可以是公开或私有的 YouTube还使用播放列表来识别频道的特殊视频集合,例如: - 上传的视频 - 被积极评价(点赞)的视频 更具体地说,这些列表与一个频道相关联,频道是一个人、团体或公司的视频、播放列表和其他YouTube信息的集合 您可以从给定频道的频道资源中检索这些列表的播放列表ID 然后,您可以使用playlistItems.list方法检索任何这些列表
Endpoint ID: 36727
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36727/playlists
输入参数

歌单 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, and timeCreated. As such, if you set part=snippet, the API response will contain all of those properties. The following list contains the part names that you can include in the parameter value: - **contentDetails** - **id** - **localizations** - **player** - **snippet** - **status**
channelId 可选 This value indicates that the API should only return the specified channel's playlists.
id 可选 The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the resource(s) that are being retrieved. In a playlist resource, the id property specifies the playlist's YouTube playlist ID.
hl 可选 The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

剩余免费测试请求:3 / 3。


输入参数

part
channelId
id
hl
maxResults
pageToken
API 示例响应
JSON
{
    "kind": "youtube#playlistListResponse",
    "etag": "qq2INcAmagHlyZ1rAWyzZJodWfU",
    "nextPageToken": "CAUQAA",
    "pageInfo": {
        "totalResults": 190,
        "resultsPerPage": 5
    },
    "items": [
        {
            "kind": "youtube#playlist",
            "etag": "pUN9nm1qotWCput-sBpFK2O-tok",
            "id": "PLRPUpQa70I6A",
            "snippet": {
                "publishedAt": "2026-09-28T16:23:06.654575931Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Building with Gemini",
                "description": "Real makers. Working prototypes. Created with Gemini.\n\nWatch as we spotlight a developer using Gemini to bring a unique build to life—from turning computers into musical instruments to physical hardware automation and daily receipt printing.\n\nSee what’s actually possible when you treat Gemini like a core engineering tool.",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "fhd": {
                        "url": "https://i.ytimg.com/vi/Rnz9mOyxk0k/fhddefault.jpg",
                        "width": 1920,
                        "height": 1080
                    }
                },
                "channelTitle": "Google for Developers",
                "defaultLanguage": "en",
                "localized": {
                    "title": "Building with Gemini",
                    "description": "Real makers. Working prototypes. Created with Gemini.\n\nWatch as we spotlight a developer using Gemini to bring a unique build to life—from turning computers into musical instruments to physical hardware automation and daily receipt printing.\n\nSee what’s actually possible when you treat Gemini like a core engineering tool."
                }
            }
        },
        {
            "kind": "youtube#playlist",
            "etag": "7SZCqK-PlMpxwMQo2xiGr6ooKfY",
            "id": "PLGt_37JTBZn4",
            "snippet": {
                "publishedAt": "2026-07-06T18:24:35.642569Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "I/O Connect Berlin ‘26",
                "description": "",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "fhd": {
                        "url": "https://i.ytimg.com/vi/nRLZqaNOrwQ/fhddefault.jpg",
                        "width": 1920,
                        "height": 1080
                    }
                },
                "channelTitle": "Google for Developers",
                "localized": {
                    "title": "I/O Connect Berlin ‘26",
                    "description": ""
                }
            }
        },
        {
            "kind": "youtube#playlist",
            "etag": "HtazXOg3oJfnbPZu3vhsFKBNMt0",
            "id": "PLfBVJoq9fmco",
            "snippet": {
                "publishedAt": "2026-06-30T16:51:42.860216Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Gemma Playground Series",
                "description": "From running multiple parallel agents on a single laptop to real-world robotics, see what's possible when you bring AI to the edge. The Gemma Playground series showcases the power of the Gemma 4 family running on-device: delivering low latency, privacy, and operating offline without cloud dependencies.",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "fhd": {
                        "url": "https://i.ytimg.com/vi/pLwB_63yUBY/fhddefault.jpg",
                        "width": 1920,
                        "height": 1080
                    }
                },
                "channelTitle": "Google for Developers",
                "localized": {
                    "title": "Gemma Playground Series",
                    "description": "From running multiple parallel agents on a single laptop to real-world robotics, see what's possible when you bring AI to the edge. The Gemma Playground series showcases the power of the Gemma 4 family running on-device: delivering low latency, privacy, and operating offline without cloud dependencies."
                }
            }
        },
        {
            "kind": "youtube#playlist",
            "etag": "MAho2sQ9rOjdMIrAAERp13UhK6c",
            "id": "PLOU2XLYxmsIIAOskSyap13n9W-xOt_GP5",
            "snippet": {
                "publishedAt": "2026-05-06T18:35:09.810194Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Google I/O 2026 Keynotes",
                "description": "Catch up on the keynote sessions from Google I/O 2026! Learn all about the key announcements from Google I/O and discover the latest updates across the topics of AI, Android, Chrome, and cloud.",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "fhd": {
                        "url": "https://i.ytimg.com/vi/wYSncx9zLIU/fhddefault.jpg",
                        "width": 1920,
                        "height": 1080
                    }
                },
                "channelTitle": "Google for Developers",
                "localized": {
                    "title": "Google I/O 2026 Keynotes"
                }
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
歌单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36727/playlists?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
播放列表项资源标识另一个资源,例如视频,该资源包含在播放列表中。此外,播放列表项资源包含关于包含的资源的详细信息,这些信息具体涉及该资源在该播放列表中的使用方式 YouTube 还使用播放列表来标识频道上传视频的列表,该列表中的每个播放列表项代表一个上传的视频。您可以从给定频道的频道资源中检索该列表的播放列表 ID。然后,您可以使用 playlistItems.list 方法获取该列表
Endpoint ID: 36728
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36728/playlistitems
输入参数

播放列表项 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, if you set part=snippet, the API response will contain all of those properties. The following list contains the part names that you can include in the parameter value: - **contentDetails** - **id** - **snippet** - **status**
id 可选 The id parameter specifies a comma-separated list of one or more unique playlist item IDs.
playlistId 可选 The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve playlist items. Note that even though this is an optional parameter, every request to retrieve playlist items must specify a value for either the id parameter or the playlistId parameter.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
videoId 可选 The videoId parameter specifies that the request should return only the playlist items that contain the specified video.

剩余免费测试请求:3 / 3。


输入参数

part
id
playlistId
maxResults
pageToken
videoId
API 示例响应
JSON
{
    "kind": "youtube#playlistItemListResponse",
    "etag": "QxUzWtVLY4nDUCOXfjKhtyAcHvU",
    "nextPageToken": "EAAaHlBUOkNBVWlFRGt4TkVFd1JqUXdNVFJDT1VVMU5EUQ",
    "items": [
        {
            "kind": "youtube#playlistItem",
            "etag": "hjIbcdkioEiYqVt2HpYrIVlkmC4",
            "id": "VVVCUjgtNjAtQjI4aHAyQm1EUGRudGNRLkI1VDRaQ2Z4cDFZ",
            "snippet": {
                "publishedAt": "2026-10-24T19:00:15Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "american high? almost friday? who’s next? find out tomorrow 👻 | #DontLookBehindTheCamera Pt. 2",
                "description": "",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/B5T4ZCfxp1Y/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/B5T4ZCfxp1Y/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/B5T4ZCfxp1Y/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/B5T4ZCfxp1Y/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/B5T4ZCfxp1Y/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "YouTube",
                "playlistId": "UUBR8-60-B28hp2BmDPdntcQ",
                "position": 0,
                "resourceId": {
                    "kind": "youtube#video",
                    "videoId": "B5T4ZCfxp1Y"
                },
                "videoOwnerChannelTitle": "YouTube",
                "videoOwnerChannelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#playlistItem",
            "etag": "zk3z4djqaio20pvDFfzlJdP5QZo",
            "id": "VVVCUjgtNjAtQjI4aHAyQm1EUGRudGNRLlh5YjdtZS1RcGNJ",
            "snippet": {
                "publishedAt": "2026-10-24T16:00:31Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "when a book is this good, words aren't enough.",
                "description": "@haleypham lets her reactions do the talking as we count down to ACOSH. #ACOTAR",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "qhd": {
                        "url": "https://i.ytimg.com/vi/Xyb7me-QpcI/qhddefault.jpg",
                        "width": 2560,
                        "height": 1440
                    }
                },
                "channelTitle": "YouTube",
                "playlistId": "UUBR8-60-B28hp2BmDPdntcQ",
                "position": 1,
                "resourceId": {
                    "kind": "youtube#video",
                    "videoId": "Xyb7me-QpcI"
                },
                "videoOwnerChannelTitle": "YouTube",
                "videoOwnerChannelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#playlistItem",
            "etag": "jN43Bu15s5rWM1epUfgl8XseYzw",
            "id": "VVVCUjgtNjAtQjI4aHAyQm1EUGRudGNRLnRZLUNSNUtpLU9Z",
            "snippet": {
                "publishedAt": "2026-10-23T20:56:56Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "some girlfriends have the magic touch",
                "description": "",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/tY-CR5Ki-OY/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/tY-CR5Ki-OY/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/tY-CR5Ki-OY/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/tY-CR5Ki-OY/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/tY-CR5Ki-OY/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "YouTube",
                "playlistId": "UUBR8-60-B28hp2BmDPdntcQ",
                "position": 2,
                "resourceId": {
                    "kind": "youtube#video",
                    "videoId": "tY-CR5Ki-OY"
                },
                "videoOwnerChannelTitle": "YouTube",
                "videoOwnerChannelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#playlistItem",
            "etag": "NeWYig8AcM2VhtD7G2EFHojYQZI",
            "id": "VVVCUjgtNjAtQjI4aHAyQm1EUGRudGNRLmlkcUF6M29tRGk0",
            "snippet": {
                "publishedAt": "2026-10-23T18:00:50Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "something spooky is connecting your favorite YouTube worlds. who’s along for the ride?",
                "description": "",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/idqAz3omDi4/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/idqAz3omDi4/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/idqAz3omDi4/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/idqAz3omDi4/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/idqAz3omDi4/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "YouTube",
                "playlistId": "UUBR8-60-B28hp2BmDPdntcQ",
                "position": 3,
                "resourceId": {
                    "kind": "youtube#video",
                    "videoId": "idqAz3omDi4"
                },
                "videoOwnerChannelTitle": "YouTube",
                "videoOwnerChannelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#playlistItem",
            "etag": "0rtOsTziUdS3jqH1rUhy7p7PzGI",
            "id": "VVVCUjgtNjAtQjI4aHAyQm1EUGRudGNRLmNyNlhidWpidVg0",
            "snippet": {
                "publishedAt": "2026-10-23T13:00:43Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "impossible baseball pitch?? challenge accepted @dudeperfect ⚾️",
                "description": "catch the 2026 World Series, October 23 - October 31 on FOX and in Spanish on FOX Deportes with YouTube TV.",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/cr6XbujbuX4/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/cr6XbujbuX4/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    }
                }
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
播放列表项 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36728/playlistitems?part=snippet&playlistId=UUBR8-60-B28hp2BmDPdntcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
搜索结果包含有关与API请求中指定的搜索参数匹配的YouTube视频、频道或播放列表的信息。当搜索结果指向一个独特可识别的资源,如视频时,它没有自己的持久数据
Endpoint ID: 36729
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36729/search
输入参数

搜索 — 端点功能

对象 描述
videoCategoryId 可选 The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video.
videoCaption 可选 The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. Acceptable values are: - **any** – Do not filter results based on caption availability. - **closedCaption** – Only include videos that have captions. - **none** – Only include videos that do not have captions.
type 可选 The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types. The default value is video,channel,playlist. Acceptable values are: - **channel** - **playlist** - **video**
topicId 可选 The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID. **Important:** Due to the deprecation of Freebase and the Freebase API, the topicId parameter started working differently as of February 27, 2017. At that time, YouTube started supporting a small set of curated topic IDs, and you can only use that smaller set of IDs as values for this parameter.
publishedAfter 可选 The publishedAfter parameter indicates that the API response should only contain resources created at or after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
safeSearch 可选 The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. Acceptable values are: - **moderate** – YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or demoted in search results. This is the default parameter value. - **none** – YouTube will not filter the search result set. - **strict** – YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results.
relevanceLanguage 可选 The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term.
regionCode 可选 The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
q 可选 The q parameter specifies the query term to search for. Your request can also use the Boolean NOT (-) and OR (|) operators to exclude videos or to find videos that are associated with one of several search terms. For example, to search for videos matching either \\\\\\\"boating\\\\\\\" or \\\\\\\"sailing\\\\\\\", set the q parameter value to boating|sailing. Similarly, to search for videos matching either \\\\\\\"boating\\\\\\\" or \\\\\\\"sailing\\\\\\\" but not \\\\\\\"fishing\\\\\\\", set the q parameter value to boating|sailing -fishing. Note that the pipe character must be URL-escaped when it is sent in your API request. The URL-escaped value for the pipe character is %7C.
publishedBefore 可选 The publishedBefore parameter indicates that the API response should only contain resources created before or at the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
order 可选 The order parameter specifies the method that will be used to order resources in the API response. The default value is relevance. Acceptable values are: - **date** – Resources are sorted in reverse chronological order based on the date they were created. - **rating** – Resources are sorted from highest to lowest rating. - **relevance** – Resources are sorted based on their relevance to the search query. This is the default value for this parameter. - **title** – Resources are sorted alphabetically by title. - **videoCount** – Channels are sorted in descending order of their number of uploaded videos. - **viewCount** – Resources are sorted from highest to lowest number of views. For live broadcasts, videos are sorted by number of concurrent viewers while the broadcasts are ongoing.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
locationRadius 可选 The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area. The parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers. **Note:** See the definition of the location parameter for more information.
location 可选 The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). The **location** parameter value identifies the point at the center of the area. The **locationRadius** parameter specifies the maximum distance that the location associated with a video can be from that point for the video to still be included in the search results. The API returns an error if your request specifies a value for the location parameter but does not also specify a value for the locationRadius parameter. **Note:** If you specify a value for this parameter, you must also set the type parameter's value to video.
eventType 可选 The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video. Acceptable values are: - **completed** – Only include completed broadcasts. - **live** – Only include active broadcasts. - **upcoming** – Only include upcoming broadcasts.
channelType 可选 The channelType parameter lets you restrict a search to a particular type of channel. Acceptable values are: - **any** – Return all channels. - **show** – Only retrieve shows.
channelId 可选 The channelId parameter indicates that the API response should only contain resources created by the channel. **Note:** Search results are constrained to a maximum of 500 videos if your request specifies a value for the channelId parameter and sets the type parameter value to video, but it does not also set one of the forContentOwner, forDeveloper, or forMine filters.
part 必需 The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.

剩余免费测试请求:3 / 3。


输入参数

videoCategoryId
videoCaption
type
topicId
publishedAfter
safeSearch
relevanceLanguage
regionCode
q
publishedBefore
pageToken
order
maxResults
locationRadius
location
eventType
channelType
channelId
part
API 示例响应
JSON
{
    "kind": "youtube#searchListResponse",
    "etag": "9rp_AqPOnMAPZFfUxC77QzlDVbM",
    "nextPageToken": "CAUQAA",
    "regionCode": "US",
    "pageInfo": {
        "totalResults": 6268,
        "resultsPerPage": 5
    },
    "items": [
        {
            "kind": "youtube#searchResult",
            "etag": "by8SdZJt45NN385Joxv0TXTO1RY",
            "id": {
                "kind": "youtube#video",
                "videoId": "8ZCeXQyavog"
            },
            "snippet": {
                "publishedAt": "2026-07-10T19:00:32Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Whats your go-to prompting hack?",
                "description": "Here are some prompting tips that can save you time and yield a better product. Resources: Learn more ...",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/8ZCeXQyavog/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/8ZCeXQyavog/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/8ZCeXQyavog/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/8ZCeXQyavog/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/8ZCeXQyavog/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "liveBroadcastContent": "none",
                "publishTime": "2026-07-10T19:00:32Z"
            }
        },
        {
            "kind": "youtube#searchResult",
            "etag": "asTUYo2effb8HNdmkj4WKt7e9qw",
            "id": {
                "kind": "youtube#video",
                "videoId": "Keg5JOqtmpY"
            },
            "snippet": {
                "publishedAt": "2023-04-25T18:15:08Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Join us for Google I/O Extended",
                "description": "Events are better together! Leave your desk - or wherever your workspace is - and join us for a Google I/O Extended near you.",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/Keg5JOqtmpY/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/Keg5JOqtmpY/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/Keg5JOqtmpY/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/Keg5JOqtmpY/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/Keg5JOqtmpY/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "liveBroadcastContent": "none",
                "publishTime": "2023-04-25T18:15:08Z"
            }
        },
        {
            "kind": "youtube#searchResult",
            "etag": "KhYFUNLnd_StvkiZULC_fAFraTo",
            "id": {
                "kind": "youtube#video",
                "videoId": "wq8X9YrmooU"
            },
            "snippet": {
                "publishedAt": "2026-06-29T13:00:08Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "What’s happening in this Kotlin code?",
                "description": "A small Kotlin challenge from a real permissions bug: each user has a set of roles. A teammate adds a role to one user, and a ...",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/wq8X9YrmooU/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/wq8X9YrmooU/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/wq8X9YrmooU/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/wq8X9YrmooU/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/wq8X9YrmooU/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "liveBroadcastContent": "none",
                "publishTime": "2026-06-29T13:00:08Z"
            }
        },
        {
            "kind": "youtube#searchResult",
            "etag": "FAZbN8-8kLh06-6anqnNPvD7T5c",
            "id": {
                "kind": "youtube#video",
                "videoId": "sCXuCczPE8A"
            },
            "snippet": {
                "publishedAt": "2025-11-20T20:00:55Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "What's on the newsdesk for Google Developers this November? Take a peek!",
                "description": "From new updates to Google Play game to unveiling ADK Go, see what's new for you, a Google developer! Watch more Google ...",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/sCXuCczPE8A/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/sCXuCczPE8A/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/sCXuCczPE8A/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/sCXuCczPE8A/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/sCXuCczPE8A/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "liveBroadcastContent": "none",
                "publishTime": "2025-11-20T20:00:55Z"
            }
        },
        {
            "kind": "youtube#searchResult",
            "etag": "v4P7Avziavto_hCncqXtTZUCsss",
            "id": {
                "kind": "youtube#video",
                "videoId": "0H0c1JHqTjg"
            },
            "snippet": {
                "publishedAt": "2025-08-28T16:00:02Z",
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
                "title": "Just in from the news desk 📰: Release of Dart 3.9 and Flutter 3.35",
                "description": "Learn how you can accelerate building multiplatform apps with the new Flutter and Dart releases. These updates put an emphasis ...",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/0H0c1JHqTjg/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/0H0c1JHqTjg/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/0H0c1JHqTjg/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/0H0c1JHqTjg/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/0H0c1JHqTjg/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    }
                },
                "channelTitle": "Google for Developers",
                "liveBroadcastContent": "none",
                "publishTime": "2025-08-28T16:00:02Z"
            }
        }
    ]
}
搜索 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36729/search?channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&part=snippet' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回符合API请求条件的订阅资源
Endpoint ID: 36730
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36730/subscriptions
输入参数

订阅 — 端点功能

对象 描述
part 必需 The **part** parameter specifies a comma-separated list of one or more **subscription** resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a **subscription** resource, the **snippet** property contains other properties, such as a display title for the subscription. If you set **part=snippet**, the API response will also contain all of those nested properties. The following list contains the **part** names that you can include in the parameter value: - **contentDetails** - **id** - **snippet** - **subscriberSnippet**
channelId 可选 The **channelId** parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions.
id 可选 The **id** parameter specifies a comma-separated list of the YouTube subscription ID(s) for the resource(s) that are being retrieved. In a **subscription** resource, the **id** property specifies the YouTube subscription ID.
forChannelId 可选 The **forChannelId** parameter specifies a comma-separated list of channel IDs. The API response will then only contain subscriptions matching those channels.
maxResults 可选 The **maxResults** parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are **0** to **50**, inclusive. The default value is **5**.
order 可选 The **order** parameter specifies the method that will be used to sort resources in the API response. The default value is **SUBSCRIPTION_ORDER_RELEVANCE**. Acceptable values are: - **alphabetical** – Sort alphabetically. - **relevance** – Sort by relevance. - **unread** – Sort by order of activity.
pageToken 可选 The **pageToken** parameter identifies a specific page in the result set that should be returned. In an API response, the **nextPageToken** and **prevPageToken** properties identify other pages that could be retrieved.

剩余免费测试请求:3 / 3。


输入参数

part
channelId
id
forChannelId
maxResults
order
pageToken
API 示例响应
JSON
{
    "kind": "youtube#SubscriptionListResponse",
    "etag": "T1hY93HXmKyo-uKF7kgZ6OByodE",
    "nextPageToken": "CAUQAA",
    "pageInfo": {
        "totalResults": 24,
        "resultsPerPage": 5
    },
    "items": [
        {
            "kind": "youtube#subscription",
            "etag": "cxrtDDfBvzUvvEuBa4f1cs_O0Ko",
            "id": "fBvbLJsTflPk1QbZDyYu6fj62RKZu_tcES0_AymQu0Y",
            "snippet": {
                "publishedAt": "2018-03-23T20:59:57.990016Z",
                "title": "TensorFlow",
                "description": "Welcome to the official TensorFlow YouTube channel. Stay up to date with the latest TensorFlow news, tutorials, best practices, and more! \n\nTensorFlow is an open-source machine learning framework for everyone.",
                "resourceId": {
                    "kind": "youtube#channel",
                    "channelId": "UC0rqucBdTuFTjJiefW5t-IQ"
                },
                "channelId": "UCP4bf6IHJJQehibu6ai__cg",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_lAp1zO3sFLjm6hBn_gH0nd3FzZ6c2GN5U85vwlbH1e9ME=s88-c-k-c0x00ffffff-no-rj"
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_lAp1zO3sFLjm6hBn_gH0nd3FzZ6c2GN5U85vwlbH1e9ME=s240-c-k-c0x00ffffff-no-rj"
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_lAp1zO3sFLjm6hBn_gH0nd3FzZ6c2GN5U85vwlbH1e9ME=s800-c-k-c0x00ffffff-no-rj"
                    }
                }
            }
        },
        {
            "kind": "youtube#subscription",
            "etag": "xvFZnZOnFqhvQRgyQg113x8R9w8",
            "id": "fBvbLJsTflMVFXEXov2WxCwQIXbUP1esFoKtdOJ8P_o",
            "snippet": {
                "publishedAt": "2016-06-30T15:19:25Z",
                "title": "Ask A Dev",
                "description": "New to development or a pro who needs help? Just tweet your question to #AskADev. We'll pick the best ones and have a developer answer them right here. With a video posted every week, Mashable and Mutual Mobile will make you a tech expert in no time.",
                "resourceId": {
                    "kind": "youtube#channel",
                    "channelId": "UC4BAyz98GyC6-aUGHQBbfVQ"
                },
                "channelId": "UCP4bf6IHJJQehibu6ai__cg",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_k8wXy_h5Pon6XNKpRGsNiikCbiHcZ18ACd6XSFbnlbM_M=s88-c-k-c0x00ffffff-no-rj"
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_k8wXy_h5Pon6XNKpRGsNiikCbiHcZ18ACd6XSFbnlbM_M=s240-c-k-c0x00ffffff-no-rj"
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_k8wXy_h5Pon6XNKpRGsNiikCbiHcZ18ACd6XSFbnlbM_M=s800-c-k-c0x00ffffff-no-rj"
                    }
                }
            }
        },
        {
            "kind": "youtube#subscription",
            "etag": "CfbB7RRCEI28CZl7H622peYzLLw",
            "id": "fBvbLJsTflMVFXEXov2WxJqZTocqQ2mHLrQCMZbGv3M",
            "snippet": {
                "publishedAt": "2016-07-15T21:42:25Z",
                "title": "Google Workspace",
                "description": "Get better work done faster using Google Workspace with Gemini.\n\nWelcome to the Google Workspace YouTube Channel, where you'll find quality informational and educational videos to help elevate and improve your business, classroom and teams. Explore how to use Google Workspace's products such as Gmail, Docs, Sheets, Slides, Drive, and many more. Learn how to customize, integrate, or extend these products in the Gemini era. \n\nVisit our website → workspace.google.com",
                "resourceId": {
                    "kind": "youtube#channel",
                    "channelId": "UCBmwzQnSoj9b6HzNmFrg_yw"
                },
                "channelId": "UCP4bf6IHJJQehibu6ai__cg",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/kLuqCg6u5xXi-kdjJ8MBN12fPMQCVujJJRU9YH7uV7AAhke8X6zdIYK1o6EMDX3U0sl1pxaf=s88-c-k-c0x00ffffff-no-rj"
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/kLuqCg6u5xXi-kdjJ8MBN12fPMQCVujJJRU9YH7uV7AAhke8X6zdIYK1o6EMDX3U0sl1pxaf=s240-c-k-c0x00ffffff-no-rj"
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/kLuqCg6u5xXi-kdjJ8MBN12fPMQCVujJJRU9YH7uV7AAhke8X6zdIYK1o6EMDX3U0sl1pxaf=s800-c-k-c0x00ffffff-no-rj"
                    }
                }
            }
        },
        {
            "kind": "youtube#subscription",
            "etag": "d35KKHryx-inpILAl8wVY71s8Js",
            "id": "fBvbLJsTflMVFXEXov2WxAtuNhq6kmWRiWuPJL-FpKk",
            "snippet": {
                "publishedAt": "2016-06-30T15:21:00Z",
                "title": "AppleProgramming",
                "description": "I welcome all newcomers who have never programmed before and want to learn programming on macOS. Feel free to send me a message about anything related to my videos.\n\n- Lucas Derraugh",
                "resourceId": {
                    "kind": "youtube#channel",
                    "channelId": "UCDg-YmnNehm3KB0BpytkUJg"
                },
                "channelId": "UCP4bf6IHJJQehibu6ai__cg",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_mFWTCpJOhcwY5ELAlxOkMxXX5GgU9ZXEutegsf5vEUjg=s88-c-k-c0x00ffffff-no-rj"
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_mFWTCpJOhcwY5ELAlxOkMxXX5GgU9ZXEutegsf5vEUjg=s240-c-k-c0x00ffffff-no-rj"
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/ytc/AIdro_mFWTCpJOhcwY5ELAlxOkMxXX5GgU9ZXEutegsf5vEUjg=s800-c-k-c0x00ffffff-no-rj"
                    }
                }
            }
        },
        {
            "kind": "youtube#subscription",
            "etag": "Q0R9z_c_hy3GTzUunbwEc7x3uK8",
            "id": "fBvbLJsTflMVFXEXov2WxKv5JuM12E6conjNxWv3KPA",
            "snippet": {
                "publishedAt": "2016-10-28T05:17:45Z",
                "title": "Google Cloud Tech",
                "description": "Welcome to the official YouTube channel for Google Cloud’s technical community. Explore our tutorials, see exciting demos, stay up to date with product news, and find new developer tools helping you build what’s next.",
                "resourceId": {
                    "kind": "youtube#channel",
                    "channelId": "UCJS9pqu9BzkAMNTmzNMNhvg"
                },
                "channelId": "UCP4bf6IHJJQehibu6ai__cg",
                "thumbnails": {
                    "default": {
                        "url": "https://yt3.ggpht.com/_XJ_FbhTDiTg7Zhr328vkGrw99p8-uQ3Y1nW2KZozueF_nkixmIhAbF2hUMFB9lUqMwSBo4etlY=s88-c-k-c0x00ffffff-no-rj"
                    },
                    "medium": {
                        "url": "https://yt3.ggpht.com/_XJ_FbhTDiTg7Zhr328vkGrw99p8-uQ3Y1nW2KZozueF_nkixmIhAbF2hUMFB9lUqMwSBo4etlY=s240-c-k-c0x00ffffff-no-rj"
                    },
                    "high": {
                        "url": "https://yt3.ggpht.com/_XJ_FbhTDiTg7Zhr328vkGrw99p8-uQ3Y1nW2KZozueF_nkixmIhAbF2hUMFB9lUqMwSBo4etlY=s800-c-k-c0x00ffffff-no-rj"
                    }
                }
            }
        }
    ]
}
订阅 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36730/subscriptions?part=snippet&channelId=UCP4bf6IHJJQehibu6ai__cg' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
一个视频资源包含有关YouTube视频的信息
Endpoint ID: 36732
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36732/videos
输入参数

视频 — 端点功能

对象 描述
part 必需 The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set part=snippet, the API response will contain all of those properties. The following list contains the part names that you can include in the parameter value: - **contentDetails** - **fileDetails** - **id** - **liveStreamingDetails** - **localizations** - **player** - **processingDetails** - **recordingDetails** - **snippet** - **statistics** - **status** - **suggestions** - **topicDetails**
id 可选 The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.
maxHeight 可选 The maxHeight parameter specifies the maximum height of the embedded player returned in the player.embedHtml property. You can use this parameter to specify that instead of the default dimensions, the embed code should use a height appropriate for your application layout. If the maxWidth parameter is also provided, the player may be shorter than the maxHeight in order to not violate the maximum width. Acceptable values are 72 to 8192, inclusive.
chart 可选 The chart parameter identifies the chart that you want to retrieve. Acceptable values are: **mostPopular** – Return the most popular videos for the specified content region and video category.
hl 可选 The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method. If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.
maxWidth 可选 The maxWidth parameter specifies the maximum width of the embedded player returned in the player.embedHtml property. You can use this parameter to specify that instead of the default dimensions, the embed code should use a width appropriate for your application layout. If the maxHeight parameter is also provided, the player may be narrower than maxWidth in order to not violate the maximum height. Acceptable values are 72 to 8192, inclusive.
maxResults 可选 The maxResults parameter specifies the maximum number of items that should be returned in the result set. **Note:** This parameter is supported for use in conjunction with the myRating parameter, but it is not supported for use in conjunction with the id parameter. Acceptable values are 1 to 50, inclusive. The default value is 5.
pageToken 可选 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
regionCode 可选 The regionCode parameter instructs the API to select a video chart available in the specified region. This parameter can only be used in conjunction with the chart parameter. The parameter value is an ISO 3166-1 alpha-2 country code.
videoCategoryId 可选 The videoCategoryId parameter identifies the video category for which the chart should be retrieved. This parameter can only be used in conjunction with the chart parameter. By default, charts are not restricted to a particular category. The default value is 0.

剩余免费测试请求:3 / 3。


输入参数

part
id
maxHeight
chart
hl
maxWidth
maxResults
pageToken
regionCode
videoCategoryId
API 示例响应
JSON
{
    "kind": "youtube#videoListResponse",
    "etag": "2EeYX15ewZ9qvyLwe_EBJ7lWVpU",
    "items": [
        {
            "kind": "youtube#video",
            "etag": "3ccwCTjGXSGQ_r9Yqj8GqeaG4ys",
            "id": "eGGUmoxvdAM",
            "snippet": {
                "publishedAt": "2026-04-01T15:58:06Z",
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ",
                "title": "Swae Lee reacts to his Watch History (Same Difference) | Watch History",
                "description": "Swae Lee’s debut solo album “Same Difference” is dropping April 3, 2026, and he’s doing a major set at Coachella later this month – as his solo career is skyrocketing we got the former member of Rae Sremmund in our studio to talk through what he watches on YouTube (in between writing some 733 songs for his solo project).\n\nThe “Sunflower” performer’s Watch History goes from his earliest YouTube uploads in Tupelo with the Outta St8 Boyz to learning how to create music like T-Pain, all the mega-virality of the “Mannequin Challenge” – and even manages to find time to discuss why Geminis are misunderstood. It's a full behind-the-scenes look at what makes Swae Lee… Swae Lee.\n\nFeatured Creators: \n@swaelee \n@3ligotscales \n@ArtistsPages \n@barockhill \n@Bellawishesswae \n@CallofDuty \n@celebrityshorts689 \n@DtreauxTV \n@FLUnderground \n@IballrightCelebs \n@News4JAX \n@PlaqueBoyMaxLive \n@quickmixx \n@raesremmurdbeforefame2127 \n@Vinnycf95 \n@st8boys \n\nCredits:\n\nCreated & Produced by Somehow Studios\n\nCo-founder, Executive Producer: Greg T. Gordon\nCo-founder, Chief Creative Officer: Joe Sabia\nCreative Producer: Grace Lauson\nDirector, Post Production: Doug Larsen\n\nDirector: Grace Lauson\nProducer: Sam Weiser\n\nDirector of Photography: Grant Bell\n1st AC: Melissa Baltierra\nGaffer: Tony Bryan\nKey Grip: Tony Cady\nSwing: Derek Rittenhouse\nSound Mixer: Paul Cornett\nHMU Artist: Meg Wilbur\nPA’s: Paul Sigwerth, Noah Heie, Ben Kieda\n\nEditor: Jordan Calig\nGraphics: Louis Hamwey\n\nYouTube Team: \nJulia Templeman\nJake Wright\nMarly Ellis\nRed Fabbri",
                "thumbnails": {
                    "default": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/default.jpg",
                        "width": 120,
                        "height": 90
                    },
                    "medium": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/mqdefault.jpg",
                        "width": 320,
                        "height": 180
                    },
                    "high": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/hqdefault.jpg",
                        "width": 480,
                        "height": 360
                    },
                    "standard": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/sddefault.jpg",
                        "width": 640,
                        "height": 480
                    },
                    "maxres": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/maxresdefault.jpg",
                        "width": 1280,
                        "height": 720
                    },
                    "uhd": {
                        "url": "https://i.ytimg.com/vi/eGGUmoxvdAM/uhddefault.jpg",
                        "width": 3840,
                        "height": 2160
                    }
                },
                "channelTitle": "YouTube",
                "tags": [
                    "swae lee",
                    "rae sremmund",
                    "same difference",
                    "t-pain",
                    "t pain",
                    "gemini",
                    "geminis",
                    "mannequin challenge",
                    "outta st8 boyz",
                    "outta state boyz",
                    "flammable",
                    "don’t even call",
                    "rich the kid",
                    "Swae Lee Same Difference release date",
                    "Swae Lee new music 2026",
                    "sunflower",
                    "into the spider-verse",
                    "spider-man",
                    "spider-man into the spider-verse",
                    "post malone",
                    "Slim Jxmmi",
                    "Mike WiLL Made-It",
                    "French Montana",
                    "coachella",
                    "coachella 2026",
                    "Melodic Rap",
                    "swae lee new album",
                    "rap",
                    "swae lee flammable",
                    "swae lee solo",
                    "beyonce"
                ],
                "categoryId": "24",
                "liveBroadcastContent": "none",
                "defaultLanguage": "en",
                "localized": {
                    "title": "Swae Lee reacts to his Watch History (Same Difference) | Watch History",
                    "description": "Swae Lee’s debut solo album “Same Difference” is dropping April 3, 2026, and he’s doing a major set at Coachella later this month – as his solo career is skyrocketing we got the former member of Rae Sremmund in our studio to talk through what he watches on YouTube (in between writing some 733 songs for his solo project).\n\nThe “Sunflower” performer’s Watch History goes from his earliest YouTube uploads in Tupelo with the Outta St8 Boyz to learning how to create music like T-Pain, all the mega-virality of the “Mannequin Challenge” – and even manages to find time to discuss why Geminis are misunderstood. It's a full behind-the-scenes look at what makes Swae Lee… Swae Lee.\n\nFeatured Creators: \n@swaelee \n@3ligotscales \n@ArtistsPages \n@barockhill \n@Bellawishesswae \n@CallofDuty \n@celebrityshorts689 \n@DtreauxTV \n@FLUnderground \n@IballrightCelebs \n@News4JAX \n@PlaqueBoyMaxLive \n@quickmixx \n@raesremmurdbeforefame2127 \n@Vinnycf95 \n@st8boys \n\nCredits:\n\nCreated & Produced by Somehow Studios\n\nCo-founder, Executive Producer: Greg T. Gordon\nCo-founder, Chief Creative Officer: Joe Sabia\nCreative Producer: Grace Lauson\nDirector, Post Production: Doug Larsen\n\nDirector: Grace Lauson\nProducer: Sam Weiser\n\nDirector of Photography: Grant Bell\n1st AC: Melissa Baltierra\nGaffer: Tony Bryan\nKey Grip: Tony Cady\nSwing: Derek Rittenhouse\nSound Mixer: Paul Cornett\nHMU Artist: Meg Wilbur\nPA’s: Paul Sigwerth, Noah Heie, Ben Kieda\n\nEditor: Jordan Calig\nGraphics: Louis Hamwey\n\nYouTube Team: \nJulia Templeman\nJake Wright\nMarly Ellis\nRed Fabbri"
                },
                "defaultAudioLanguage": "en"
            }
        }
    ],
    "pageInfo": {
        "totalResults": 1,
        "resultsPerPage": 1
    }
}
视频 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36732/videos?part=snippet&id=eGGUmoxvdAM' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
视频类别资源标识一个已经与上传视频关联或可能与其关联的类别
Endpoint ID: 36731
GET https://zylalabs.com/api/12299/youtube+data+api+v3/36731/videocategories
输入参数

视频类别 — 端点功能

对象 描述
part 可选 The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.
id 可选 The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.
regionCode 可选 The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
hl 可选 The hl parameter specifies the language that should be used for text values in the API response. The default value is en_US.

剩余免费测试请求:3 / 3。


输入参数

part
id
regionCode
hl
API 示例响应
JSON
{
    "kind": "youtube#videoCategoryListResponse",
    "etag": "QteLrrS_X7rM7rlcU_e7qa0embQ",
    "items": [
        {
            "kind": "youtube#videoCategory",
            "etag": "grPOPYEUUZN3ltuDUGEWlrTR90U",
            "id": "1",
            "snippet": {
                "title": "Film & Animation",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Q0xgUf8BFM8rW3W0R9wNq809xyA",
            "id": "2",
            "snippet": {
                "title": "Autos & Vehicles",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "qnpwjh5QlWM5hrnZCvHisquztC4",
            "id": "10",
            "snippet": {
                "title": "Music",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "HyFIixS5BZaoBdkQdLzPdoXWipg",
            "id": "15",
            "snippet": {
                "title": "Pets & Animals",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "PNU8SwXhjsF90fmkilVohofOi4I",
            "id": "17",
            "snippet": {
                "title": "Sports",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "5kFljz9YJ4lEgSfVwHWi5kTAwAs",
            "id": "18",
            "snippet": {
                "title": "Short Movies",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "ANnLQyzEA_9m3bMyJXMhKTCOiyg",
            "id": "19",
            "snippet": {
                "title": "Travel & Events",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "0Hh6gbZ9zWjnV3sfdZjKB5LQr6E",
            "id": "20",
            "snippet": {
                "title": "Gaming",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "q8Cp4pUfCD8Fuh8VJ_yl5cBCVNw",
            "id": "21",
            "snippet": {
                "title": "Videoblogging",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "cHDaaqPDZsJT1FPr1-MwtyIhR28",
            "id": "22",
            "snippet": {
                "title": "People & Blogs",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "3Uz364xBbKY50a2s0XQlv-gXJds",
            "id": "23",
            "snippet": {
                "title": "Comedy",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "0srcLUqQzO7-NGLF7QnhdVzJQmY",
            "id": "24",
            "snippet": {
                "title": "Entertainment",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "bQlQMjmYX7DyFkX4w3kT0osJyIc",
            "id": "25",
            "snippet": {
                "title": "News & Politics",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Y06N41HP_WlZmeREZvkGF0HW5pg",
            "id": "26",
            "snippet": {
                "title": "Howto & Style",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "yBaNkLx4sX9NcDmFgAmxQcV4Y30",
            "id": "27",
            "snippet": {
                "title": "Education",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Mxy3A-SkmnR7MhJDZRS4DuAIbQA",
            "id": "28",
            "snippet": {
                "title": "Science & Technology",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "p3lEirEJApyEkuWpaGEHoF-m-aA",
            "id": "29",
            "snippet": {
                "title": "Nonprofits & Activism",
                "assignable": true,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "4pIHL_AdN2kO7btAGAP1TvPucNk",
            "id": "30",
            "snippet": {
                "title": "Movies",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Iqol1myDwh2AuOnxjtn2AfYwJTU",
            "id": "31",
            "snippet": {
                "title": "Anime/Animation",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "tzhBKCBcYWZLPai5INY4id91ss8",
            "id": "32",
            "snippet": {
                "title": "Action/Adventure",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "ii8nBGYpKyl6FyzP3cmBCevdrbs",
            "id": "33",
            "snippet": {
                "title": "Classics",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Y0u9UAQCCGp60G11Arac5Mp46z4",
            "id": "34",
            "snippet": {
                "title": "Comedy",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "_YDnyT205AMuX8etu8loOiQjbD4",
            "id": "35",
            "snippet": {
                "title": "Documentary",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "eAl2b-uqIGRDgnlMa0EsGZjXmWg",
            "id": "36",
            "snippet": {
                "title": "Drama",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "HDAW2HFOt3SqeDI00X-eL7OELfY",
            "id": "37",
            "snippet": {
                "title": "Family",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "QHiWh3niw5hjDrim85M8IGF45eE",
            "id": "38",
            "snippet": {
                "title": "Foreign",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "ztKcSS7GpH9uEyZk9nQCdNujvGg",
            "id": "39",
            "snippet": {
                "title": "Horror",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "Ids1sm8QFeSo_cDlpcUNrnEBYWA",
            "id": "40",
            "snippet": {
                "title": "Sci-Fi/Fantasy",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "qhfgS7MzzZHIy_UZ1dlawl1GbnY",
            "id": "41",
            "snippet": {
                "title": "Thriller",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        },
        {
            "kind": "youtube#videoCategory",
            "etag": "TxVSfGoUyT7CJ7h7ebjg4vhIt6g",
            "id": "42",
            "snippet": {
                "title": "Shorts",
                "assignable": false,
                "channelId": "UCBR8-60-B28hp2BmDPdntcQ"
            }
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
视频类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/12299/youtube+data+api+v3/36731/videocategories?part=snippet®ionCode=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Youtube 数据 API V3 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

我们在这里提供一体化的官方Youtube数据API V3
您可以使用此API实时获取频道详情、视频详情、频道播放列表、播放列表中的视频、视频评论、评论线程、视频类别、地区、语言等

我们会将您的请求直接传递给Youtube数据API V3,并将返回响应。我们不存储任何数据。您在API响应中获得的所有数据都是来自Youtube API的实时数据

 

Youtube 数据 API V3 API FAQs

GET频道端点返回有关YouTube频道的详细信息,包括频道的ID、标题、描述、自定义URL、发布日期和各种大小的缩略图

响应中的关键字段包括"id"(频道ID)"snippet.title"(频道名称)"snippet.description"(频道描述)"snippet.customUrl"(自定义URL)和"snippet.thumbnails"(缩略图)

用户可以通过包含参数如“id”(特定频道ID)或“forUsername”(频道用户名)来自定义请求,以获取特定的频道信息

响应数据以JSON格式组织,包含一个"kind"字段,一个用于版本控制的"etag",一个用于分页细节的"pageInfo",以及一个包含频道信息的"items"数组

GET频道端点提供诸如频道标题、描述、自定义网址、发布日期和各种缩略图等信息,允许用户收集全面的频道详细信息

典型的使用案例包括在网站上展示频道信息 分析频道表现 以及将YouTube频道数据集成到应用程序中以增强用户参与度

通过直接查询官方YouTube数据API来维护数据的准确性,确保用户获得实时和最新的信息而无需任何数据存储或修改

用户可以通过提取关键字段如频道标题和缩略图来利用返回的数据以便展示,或者通过使用频道 ID 进行进一步的 API 调用以访问相关内容

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API