אנחנו מעדכנים את Data API כך שיתאים לאופן שבו YouTube סופר צפיות ב-Shorts.
מידע נוסף
מחשבון מכסות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בטבלה הבאה מוצג עלות המכסה לקריאה לכל method של ה-API. כל בקשות ה-API, כולל בקשות לא חוקיות, יגרמו לחיוב של נקודת מכסה אחת לפחות.
בפרויקטים שמפעילים את YouTube Data API, הקצאת המכסה שמוגדרת כברירת מחדל היא 10,000 יחידות ביום, כמות מספקת לרוב המשתמשים ב-API שלנו. אפשר לראות את השימוש במכסות בדף Quotas במסוף Google API. המכסות היומיות מתאפסים בחצות לפי שעון החוף המערבי (PT).
כדאי לשים לב לשתי הנקודות הבאות, כי הן משפיעות על השימוש במכסה:
- אם האפליקציה קוראת לשיטה, כמו
search.list
, שמחזירה כמה דפי תוצאות, עלות המכסה המשוערת חלה על כל בקשה לאחזור דף תוצאות נוסף.
-
מבחינה טכנית, השיטות של YouTube Live Streaming API הן חלק מ-YouTube Data API, וגם קריאות לשיטות האלה כפופות לעלויות של מכסות. לכן, שיטות API לשידור חי מפורטות גם בטבלה.
עלויות מכסות |
פעילויות |
list |
1 |
כתוביות |
list |
50 |
|
insert |
400 |
|
עדכון |
450 |
|
delete |
50 |
channelBanners |
insert |
50 |
ערוצים |
list |
1 |
|
עדכון |
50 |
channelSections |
list |
1 |
|
insert |
50 |
|
עדכון |
50 |
|
delete |
50 |
|
list |
1 |
|
insert |
50 |
|
עדכון |
50 |
|
setModerationStatus |
50 |
|
delete |
50 |
|
list |
1 |
|
insert |
50 |
|
עדכון |
50 |
guideCategories |
list |
1 |
i18nLanguages |
list |
1 |
i18nRegions |
list |
1 |
חברים |
list |
1 |
membershipsLevels |
list |
1 |
playlistItems |
list |
1 |
|
insert |
50 |
|
עדכון |
50 |
|
delete |
50 |
פלייליסטים |
list |
1 |
|
insert |
50 |
|
עדכון |
50 |
|
delete |
50 |
חיפוש |
list |
100 |
מנויים |
list |
1 |
|
insert |
50 |
|
delete |
50 |
תמונות ממוזערות |
הוגדר |
50 |
videoAbuseReportReasons |
list |
1 |
videoCategories |
list |
1 |
סרטונים |
list |
1 |
|
insert |
1,600 |
|
עדכון |
50 |
|
שיעור |
50 |
|
getRating |
1 |
|
reportAbuse |
50 |
|
delete |
50 |
סימני מים |
הוגדר |
50 |
|
לא מוגדר |
50 |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-21 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-21 (שעון UTC)."],[[["\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 |"]]