نحن بصدد تعديل Data API لتتطابق مع طريقة YouTube في احتساب مشاهدات Shorts.
مزيد من المعلومات
حاسبة الحصص
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يوضّح الجدول التالي تكلفة الحصة لاستدعاء كل طريقة من طرق واجهة برمجة التطبيقات. تؤدي جميع طلبات البيانات من واجهة برمجة التطبيقات، بما في ذلك الطلبات غير الصالحة، إلى تحمُّل تكلفة حصة تبلغ نقطة واحدة على الأقل.
تحصل المشاريع التي تفعّل YouTube Data API على حصة تلقائية تبلغ 10,000 وحدة في اليوم، وهو مبلغ كافٍ لمعظم مستخدمي واجهة برمجة التطبيقات. يمكنك الاطّلاع على استخدام حصتك في صفحة الحصص في "وحدة تحكّم واجهة برمجة التطبيقات من Google". تتم إعادة ضبط الحصص اليومية في منتصف الليل بتوقيت المحيط الهادئ.
يُرجى الانتباه إلى النقطتَين التاليتَين لأنّهما تؤثّران في استخدامك لحصة المساحة:
- إذا كان تطبيقك يستدعي طريقة، مثل
search.list
، تُعرِض عدة
صفحات من النتائج، يتسبب كل طلب لاسترداد صفحة إضافية من النتائج في تحمُّل تكلفة
الحصة المقدَّرة.
-
من الناحية الفنية، تشكّل طرق YouTube Live Streaming API جزءًا من YouTube Data API، وتؤدي طلبات البيانات من
هذه الطرق أيضًا إلى تحمّل تكاليف الحصة. ولذلك، يتم أيضًا إدراج طرق واجهة برمجة التطبيقات للبث المباشر في
الجدول.
تكاليف الحصة |
الأنشطة |
قائمة |
1 |
الترجمة |
قائمة |
50 |
|
insert |
400 |
|
تحديث |
450 |
|
حذف |
50 |
channelBanners |
insert |
50 |
قنوات |
قائمة |
1 |
|
تحديث |
50 |
channelSections |
قائمة |
1 |
|
insert |
50 |
|
تحديث |
50 |
|
حذف |
50 |
|
قائمة |
1 |
|
insert |
50 |
|
تحديث |
50 |
|
setModerationStatus |
50 |
|
حذف |
50 |
|
قائمة |
1 |
|
insert |
50 |
|
تحديث |
50 |
guideCategories |
قائمة |
1 |
i18nLanguages |
قائمة |
1 |
i18nRegions |
قائمة |
1 |
الأعضاء |
قائمة |
1 |
membershipsLevels |
قائمة |
1 |
playlistItems |
قائمة |
1 |
|
insert |
50 |
|
تحديث |
50 |
|
حذف |
50 |
قوائم تشغيل |
قائمة |
1 |
|
insert |
50 |
|
تحديث |
50 |
|
حذف |
50 |
search |
قائمة |
100 |
عدد الاشتراكات: |
قائمة |
1 |
|
insert |
50 |
|
حذف |
50 |
الصور المصغّرة |
محدّدة |
50 |
videoAbuseReportReasons |
قائمة |
1 |
videoCategories |
قائمة |
1 |
فيديوهات |
قائمة |
1 |
|
insert |
1600 |
|
تحديث |
50 |
|
المعدّل |
50 |
|
getRating |
1 |
|
reportAbuse |
50 |
|
حذف |
50 |
العلامات المائية |
محدّدة |
50 |
|
بدون ضبط |
50 |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 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 |"]]