เครื่องคำนวณโควต้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตารางต่อไปนี้แสดงต้นทุนโควต้าสำหรับการเรียกใช้เมธอด API แต่ละรายการ คำขอ API ทั้งหมด รวมถึงคำขอที่ไม่ถูกต้องจะมีค่าใช้จ่ายโควต้าอย่างน้อย 1 จุด
โปรเจ็กต์ที่เปิดใช้ YouTube Data API จะมีการจัดสรรโควต้าเริ่มต้น 10,000 หน่วยต่อวัน ซึ่งเป็นจำนวนที่เพียงพอสำหรับผู้ใช้ API ส่วนใหญ่ คุณดูการใช้งานโควต้าได้ในหน้าโควต้า ในคอนโซล Google API ระบบจะรีเซ็ตโควต้ารายวันตอนเที่ยงคืนตามเวลาเขตแปซิฟิก (PT)
2 ประเด็นต่อไปนี้เป็นสิ่งที่ควรกล่าวถึงเนื่องจากทั้ง 2 ประเด็นส่งผลต่อการใช้โควต้า
- หากแอปพลิเคชันเรียกใช้เมธอด เช่น
search.list
ซึ่งแสดงผลลัพธ์หลายหน้า คำขอแต่ละรายการในการดึงข้อมูลหน้าผลลัพธ์เพิ่มเติมจะมีค่าใช้จ่ายตามโควต้าโดยประมาณ
-
ในทางเทคนิคแล้ว เมธอด YouTube Live Streaming API เป็นส่วนหนึ่งของ YouTube Data API และการเรียกใช้เมธอดเหล่านั้นจะเสียค่าใช้จ่ายโควต้าด้วย ดังนั้น เมธอด API สําหรับสตรีมมิงแบบสดจึงแสดงอยู่ในตารางด้วย
ค่าใช้จ่ายเกี่ยวกับโควต้า |
กิจกรรม |
list |
1 |
คำบรรยายวิดีโอ |
list |
50 |
|
Insert |
400 |
|
อัปเดต |
450 |
|
ลบ |
50 |
channelBanners |
Insert |
50 |
ช่อง |
list |
1 |
|
อัปเดต |
50 |
channelSections |
list |
1 |
|
Insert |
50 |
|
อัปเดต |
50 |
|
ลบ |
50 |
|
list |
1 |
|
Insert |
50 |
|
อัปเดต |
50 |
|
setModerationStatus |
50 |
|
ลบ |
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 |
|
ลบ |
50 |
เพลย์ลิสต์ |
list |
1 |
|
Insert |
50 |
|
อัปเดต |
50 |
|
ลบ |
50 |
ค้นหา |
list |
100 |
การสมัครสมาชิก |
list |
1 |
|
Insert |
50 |
|
ลบ |
50 |
ภาพขนาดย่อ |
ตั้งค่า |
50 |
videoAbuseReportReasons |
list |
1 |
videoCategories |
list |
1 |
วิดีโอ |
list |
1 |
|
Insert |
1,600 |
|
อัปเดต |
50 |
|
อัตรา |
50 |
|
getRating |
1 |
|
reportAbuse |
50 |
|
ลบ |
50 |
ลายน้ำ |
ตั้งค่า |
50 |
|
unset |
50 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 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-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,[]]