Skip to main content
GET
List YouTube video categories
创建导出时,使用返回的分类 id 作为 category_id。已连接频道的地区决定了哪些分类可用。可选的 language 查询参数仅在频道没有地区时用作回退选项。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API Key. The token in the sample code is referring to this api_key as well.

查询参数

language
string

Interface language code used to infer a region only when the connected channel has no region. For example, en maps to US and ja maps to JP; unrecognized values fall back to US.

响应

Assignable categories for the channel region

region
string
必填

Region used to fetch categories.

categories
object[]
必填

Only categories assignable to a YouTube video are returned.

最后修改于 2026年9月22日