YouTube Data API (v3) - 配额计算器
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
下表显示了调用每种 API 方法的配额费用。所有 API 请求(包括无效请求)都会产生至少 1 分的配额费用。
需要强调以下两点,因为它们都会影响您的配额用量:
- 如果您的应用调用的方法(例如
search.list
)会返回多页结果,则每次请求检索额外结果页都会产生估算的配额费用。
-
从技术上讲,YouTube Live Streaming API 方法属于 YouTube Data API 的一部分,调用这些方法也会产生配额费用。因此,下表中也列出了用于直播的 API 方法。
配额费用 |
活动 |
list |
1 |
captions |
list |
50 |
|
insert |
400 |
|
update |
450 |
|
删除 |
50 |
频道横幅 |
insert |
50 |
频道 |
list |
1 |
|
update |
50 |
渠道版块 |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
删除 |
50 |
|
list |
1 |
|
insert |
50 |
|
update |
50 |
|
setModerationStatus |
50 |
|
删除 |
50 |
|
list |
1 |
|
insert |
50 |
|
update |
50 |
指南类别 |
list |
1 |
国际化语言 |
list |
1 |
国际化区域 |
list |
1 |
成员 |
list |
1 |
membershipLevels |
list |
1 |
播放列表项 |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
删除 |
50 |
播放列表 |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
删除 |
50 |
search |
list |
100 |
subscriptions |
list |
1 |
|
insert |
50 |
|
删除 |
50 |
缩略图 |
set |
50 |
videoAbuseReportReasons |
list |
1 |
视频类别 |
list |
1 |
视频 |
list |
1 |
|
insert |
1600 |
|
update |
50 |
|
费率 |
50 |
|
getRating |
1 |
|
举报滥用行为 |
50 |
|
删除 |
50 |
水印 |
set |
50 |
|
未设置 |
50 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-09-13。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-09-13。"],[[["Every API request, even if invalid, will cost at least one quota point."],["Retrieving multiple pages of results from a single method call, like `search.list`, incurs the quota cost for each additional page request."],["Methods from the YouTube Live Streaming API, being part of the YouTube Data API, will incur the same quota costs as other methods."],["The table shows that methods like `videos.insert` have the highest cost of 1600 points, while several methods, such as `activities.list`, have the minimal cost of 1 point."],["There are numerous methods that cost 50 points such as `captions.delete`, `channels.update`, `comment.delete` and others."]]],["API requests have quota costs, with a minimum of one point per request, even if invalid. Retrieving multiple result pages from methods like `search.list` costs quota for each page. Live Streaming API methods, part of the YouTube Data API, also incur costs. Quota costs vary by resource and method, ranging from 1 for actions such as `list` to 1600 for actions like `videos insert`. Methods like `insert`, `update`, and `delete` typically cost more.\n"]]