Aktualizujemy interfejs Data API, aby był zgodny ze sposobem zliczania przez YouTube wyświetleń filmów Short.
Więcej informacji
Kalkulator limitów
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Poniższa tabela pokazuje koszt limitu na wywołanie każdej metody interfejsu API. Wszystkie żądania interfejsu API, w tym nieprawidłowe, powodują koszt w ramach limitu co najmniej 1 punktu.
Projekty,które umożliwiają korzystanie z interfejsu YouTube Data API, mają domyślny limit 10 tys. jednostek dziennie. Jest to wystarczająca ilość dla większości użytkowników interfejsu API. Wykorzystanie limitu możesz sprawdzić na stronie Limity w Konsoli interfejsów API Google. Dzienne limity są resetowane o północy czasu pacyficznego (PT).
Warto zwrócić uwagę na te 2 punkty, ponieważ mają one wpływ na wykorzystanie limitu:
- Jeśli Twoja aplikacja wywołuje metodę, np.
search.list
, która zwraca kilka stron wyników, każde żądanie służące do pobrania dodatkowej strony wyników powoduje powstanie szacowanego kosztu limitu.
-
Metody interfejsu YouTube Live Streaming API są technicznie częścią interfejsu YouTube Data API, a wywołania tych metod również powodują koszty związane z limitem. W tabeli znajdują się też metody interfejsu API do transmisji na żywo.
Koszty limitów |
aktywności |
lista |
1 |
napisy |
lista |
50 |
|
Insert |
400 |
|
update |
450 |
|
usuń |
50 |
channelBanners |
Insert |
50 |
kanały |
lista |
1 |
|
update |
50 |
channelSections |
lista |
1 |
|
Insert |
50 |
|
update |
50 |
|
usuń |
50 |
|
lista |
1 |
|
Insert |
50 |
|
update |
50 |
|
setModerationStatus |
50 |
|
usuń |
50 |
|
lista |
1 |
|
Insert |
50 |
|
update |
50 |
guideCategories |
lista |
1 |
i18nLanguages |
lista |
1 |
i18nRegions |
lista |
1 |
członkowie |
lista |
1 |
membershipsLevels |
lista |
1 |
playlistItems |
lista |
1 |
|
Insert |
50 |
|
update |
50 |
|
usuń |
50 |
playlisty |
lista |
1 |
|
Insert |
50 |
|
update |
50 |
|
usuń |
50 |
szukaj |
lista |
100 |
subskrypcje |
lista |
1 |
|
Insert |
50 |
|
usuń |
50 |
miniatury |
zestaw |
50 |
videoAbuseReportReasons |
lista |
1 |
videoCategories |
lista |
1 |
filmy |
lista |
1 |
|
Insert |
1600 |
|
update |
50 |
|
szybkość reakcji |
50 |
|
getRating |
1 |
|
reportAbuse |
50 |
|
usuń |
50 |
znaki wodne |
zestaw |
50 |
|
wyczyść konfigurację |
50 |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 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 |"]]