我們正在更新 Data API,以符合 YouTube 計算 Shorts 觀看次數的方式。
瞭解詳情
配額計算機
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
下表列出呼叫各項 API 方法的配額費用。所有 API 要求 (包括無效要求) 都會產生至少 1 點的配額費用。
啟用 YouTube Data API 的專案預設配額為每天 10,000 個單位,足以滿足大多數 API 使用者的需求。您可以在 Google API 控制台的「配額」 頁面中查看配額用量。系統會在太平洋時間凌晨 12 點重設每日配額。
以下兩點值得一提,因為這兩者都會影響配額使用量:
- 如果應用程式呼叫的
search.list
等方法會傳回多個結果頁面,則每次要求擷取額外結果頁面時,都會產生預估配額費用。
-
從技術層面來說,YouTube Live Streaming API 方法是 YouTube Data API 的一部分,因此呼叫這些方法也會產生配額費用。因此,表格中也列出了直播的 API 方法。
配額費用 |
活動 |
list |
1 |
字幕 |
list |
50 |
|
insert |
400 |
|
update |
450 |
|
刪除 |
50 |
channelBanners |
insert |
50 |
頻道 |
list |
1 |
|
update |
50 |
channelSections |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
刪除 |
50 |
|
list |
1 |
|
insert |
50 |
|
update |
50 |
|
setModerationStatus |
50 |
|
刪除 |
50 |
|
list |
1 |
|
insert |
50 |
|
update |
50 |
guideCategories |
list |
1 |
i18nLanguages |
list |
1 |
i18nRegions |
list |
1 |
成員 |
list |
1 |
membershipsLevels |
list |
1 |
playlistItems |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
刪除 |
50 |
播放清單 |
list |
1 |
|
insert |
50 |
|
update |
50 |
|
刪除 |
50 |
搜尋 |
list |
100 |
訂閱項目 |
list |
1 |
|
insert |
50 |
|
刪除 |
50 |
縮圖 |
set |
50 |
videoAbuseReportReasons |
list |
1 |
videoCategories |
list |
1 |
影片 |
list |
1 |
|
insert |
1600 |
|
update |
50 |
|
費用 |
50 |
|
getRating |
1 |
|
reportAbuse |
50 |
|
刪除 |
50 |
浮水印 |
set |
50 |
|
取消設定 |
50 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eEvery API request, even if invalid, will cost at least one quota point.\u003c/p\u003e\n"],["\u003cp\u003eRetrieving multiple pages of results from a single method call, like \u003ccode\u003esearch.list\u003c/code\u003e, incurs the quota cost for each additional page request.\u003c/p\u003e\n"],["\u003cp\u003eMethods from the YouTube Live Streaming API, being part of the YouTube Data API, will incur the same quota costs as other methods.\u003c/p\u003e\n"],["\u003cp\u003eThe table shows that methods like \u003ccode\u003evideos.insert\u003c/code\u003e have the highest cost of 1600 points, while several methods, such as \u003ccode\u003eactivities.list\u003c/code\u003e, have the minimal cost of 1 point.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous methods that cost 50 points such as \u003ccode\u003ecaptions.delete\u003c/code\u003e, \u003ccode\u003echannels.update\u003c/code\u003e, \u003ccode\u003ecomment.delete\u003c/code\u003e and others.\u003c/p\u003e\n"]]],["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"],null,["# Quota Calculator\n\nThe following table shows the quota cost for calling each API method. All API requests, including invalid requests, incur a quota cost of at least one point.\n\nProjects that enable the YouTube Data API have a default quota allocation of 10,000 units per day, an amount sufficient for the majority of our API users. You can see your quota usage on [Quotas](https://console.cloud.google.com/iam-admin/quotas) page in the Google API Console. Daily quotas reset at midnight Pacific Time (PT).\n\nThe following two points are worth calling out as they both affect your quota usage:\n\n- If your application calls a method, such as `search.list`, that returns multiple pages of results, each request to retrieve an additional page of results incurs the estimated quota cost.\n- [YouTube Live Streaming API](/youtube/v3/live) methods are, technically, part of the YouTube Data API, and calls to those methods also incur quota costs. As such, API methods for live streaming are also listed in the table.\n\n| Quota costs |||\n|-----------------------------|---------------------|------|\n| resource | method | cost |\n| ### activities | list | 1 |\n| ### captions | list | 50 |\n| | insert | 400 |\n| | update | 450 |\n| | delete | 50 |\n| ### channelBanners | insert | 50 |\n| ### channels | list | 1 |\n| | update | 50 |\n| ### channelSections | list | 1 |\n| | insert | 50 |\n| | update | 50 |\n| | delete | 50 |\n| ### comments | list | 1 |\n| | insert | 50 |\n| | update | 50 |\n| | setModerationStatus | 50 |\n| | delete | 50 |\n| ### commentThreads | list | 1 |\n| | insert | 50 |\n| | update | 50 |\n| ### guideCategories | list | 1 |\n| ### i18nLanguages | list | 1 |\n| ### i18nRegions | list | 1 |\n| ### members | list | 1 |\n| ### membershipsLevels | list | 1 |\n| ### playlistItems | list | 1 |\n| | insert | 50 |\n| | update | 50 |\n| | delete | 50 |\n| ### playlists | list | 1 |\n| | insert | 50 |\n| | update | 50 |\n| | delete | 50 |\n| ### search | list | 100 |\n| ### subscriptions | list | 1 |\n| | insert | 50 |\n| | delete | 50 |\n| ### thumbnails | set | 50 |\n| ### videoAbuseReportReasons | list | 1 |\n| ### videoCategories | list | 1 |\n| ### videos | list | 1 |\n| | insert | 1600 |\n| | update | 50 |\n| | rate | 50 |\n| | getRating | 1 |\n| | reportAbuse | 50 |\n| | delete | 50 |\n| ### watermarks | set | 50 |\n| | unset | 50 |"]]