מחשבון מכסות
קל לארגן דפים בעזרת אוספים אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בטבלה הבאה מוצג עלות המכסה לקריאה לכל method של ה-API. כל בקשות ה-API, כולל בקשות לא חוקיות, יגרמו לחיוב של נקודת מכסה אחת לפחות.
בפרויקטים שמפעילים את YouTube Data API, הקצאת המכסה שמוגדרת כברירת מחדל היא 10,000 יחידות ביום, כמות מספקת לרוב המשתמשים ב-API שלנו. אפשר לראות את השימוש במכסות בדף Quotas במסוף Google API. המכסות היומיות מתאפסים בחצות לפי שעון החוף המערבי (PT).
כדאי לשים לב לשתי הנקודות הבאות, כי הן משפיעות על השימוש במכסה:
- אם האפליקציה קוראת לשיטה, כמו
search.list
, שמחזירה כמה דפי תוצאות, עלות המכסה המשוערת חלה על כל בקשה לאחזור דף תוצאות נוסף. - מבחינה טכנית, השיטות של YouTube Live 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-05-13 (שעון UTC).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-05-13 (שעון UTC)."],[[["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"]]