Some information on the video uploads: https://developers.google.com/youtube/v3/docs/videos/insert
This method supports media upload. Uploaded files must conform to these constraints: Maximum file size: 128GB Accepted Media MIME types: video/*, application/octet-stream
You can get the qouta information here: https://developers.google.com/youtube/v3/getting-started#quota
Projects that enable the YouTube Data API have a default quota allocation of 1 million units per day, an amount sufficient for the overwhelming majority of our API users.
...
Different types of operations have different quota costs.
A simple read operation that only retrieves the ID of each returned resource has a cost of approximately 1 unit. A write operation has a cost of approximately 50 units. A video upload has a cost of approximately 1600 units.
Yes, youtube can block API access, not only on flagged videos, but at any time as described here: https://developers.google.com/youtube/terms/api-services-terms-of-service#termination
Answer from Mindaugas Bernatavičius on Stack Overflow24.2 Termination by YouTube. Notwithstanding anything to the contrary, YouTube reserves the right to (i) suspend or terminate access to, or use of, any aspects of the YouTube API Services by you, your API Client(s) and those acting on your behalf), and (ii) terminate the Agreement (or any portion thereof), as applied to any specific user or API Client, category of users or API Clients, or all users or API Clients at any time. For example, we may need to exercise such rights in instances of your breach of this Agreement, court order, when we believe there to have been misconduct or conduct which may create potential liability for YouTube or its Affiliates. Although we will try to give you reasonable notice, we have no obligation to do so.
Youtube API's maximum number of video uploads per day - Stack Overflow
google cloud platform - Please explain the YouTube Data API's Quota / Limits - Stack Overflow
How to increase video upload quota on Youtube API? - Stack Overflow
Youtube API upload video size and length limit - Stack Overflow
How much YouTube API quota does a video upload use?
What is the YouTube API quota limit per day?
How do I get a YouTube API quota increase?
I just read in the Youtube API documentation that there is a default daily quota of 10000 points. One upload is 1600 points, which means you can upload 6 videos per day via the Youtube API.
This sounds like a very low amount to me, so I'm wondering if it's possible to increase your daily quota points for the Youtube API. If so, how? And also to how much can it be increased?
I know that through the regular Youtube website interface users can upload 50 videos per day, so 6 videos per day on the API seems rather low, especially because API users need much more throughput than regular users.
My first question: How is it possible that the limit for queries per minute is 1.6m and the queries per day limit is 10k?
Surely queries per minute can never go above 10,000? I mean, I guess if you send 10k queries in 30 seconds from 23:59:30 and then do another 10k before 00:00:30... but that's still only 20k out of the 1.6m limit provided).
About ten years ago the default development quota was around 1 million quota points. They had to reduce it to 10k to prevent spam.
Queries per day can be extended the other quotas can not. I guess it just made sence to leave them as they were.
How do I make use of queries per minute per user?
All the API calls I make go directly to queries per day and queries per minute.
My usual "method" of an API call is to first request scopes and then call the API with the received access token, as instructed by Google's documentation.
Queries per day is a project based quota all the users on your system use that. So if you have ten users they are using the "queries per minute per user" and they all lump up to use the Queries per day.
Remember the 10k is just a development quota you can apply for an extension when every you like.
I have a video on this as well Intro to YouTube API and Cost-Based Quota: Everything You Need to Know
After looking at numerous answers on SO on somewhat related questions, I think I have a general idea of the answer to both my questions.
"How is it possible that the limit for
queries per minuteis 1.6m and thequeries per daylimit is 10k?"It seems the answer here is simply that it's not expected to be possible that the
queries per minuteever reach above 10k in a single minute, and therefore it's also not expected that thequeries per minutereach the allotted 1.6 million.However, the secret sauce to this pie of confusion is the fact that you can't change the
queries per minute(orqueries per minute, per user) but you certainly can change thequeries per day(by direct request to Google).What this means is both
queries per minuteandqueries per minute per userare pretty much useless to you until you request a high enoughqueries per daylimit for it to even matter. For now, you can imagine yourqueries per minuteandqueries per minute per userare equal to thequeries per day(which is likely 10,000) until yourqueries per dayexceeds that actual quota for the other two.As discovered in the comments of this answer, when the documentation states "10,000 units per day, an amount sufficient for the majority of our API users" they are explicitly referring to "in the development phase".
Google expects all API users to request an increased
queries per dayquota after development is finished. Therefore, that "10k" will become a couple of million (assuming your request is approved) which would therefore make thequeries per minuteandqueries per minute per usermatter a lot more."How do I make use of queries per minute per user?"
It seems the answer to this question is: "You already are". As in, you already are using
queries per minute per userbut Google just doesn't tell you... Originally, when I asked the question, and I assume others had the same thought that the-meant that no "user" had made a request. As in, somehow the project was making all the API calls on behalf of the user... rather than the user making the API calls themselves, and therefore it wouldn't count asper user.But that's not the case, it seems that Google does count it as
per userbut simply just hides the information from you.I only indirectly figured that one out thanks to Linda and the image the OP posted.
I'm not going to mark this as the answer since I'm not confident it's actually all correct and there's an inconsistency with the 2nd answer. This was confirmed by Linda's answer.
The more up-to-date answer is here: https://support.google.com/youtube/answer/71673?hl=en
15 minutes is the default max length, but that can be extended by visiting https://www.youtube.com/verify The webpage says to make sure you're using an 'up-to-date' version of your browser to upload files over 20GB. The current (as of Nov 12, 2016) maximum file size is 128GB and the maximum duration is 12 hours.
Update : From Google support link
By default, you can upload videos that are up to 15 minutes long. To upload longer videos, follow the steps below to verify your account. If you have live streaming access, long uploads are enabled by default.
To upload longer videos, verify your account with the following steps:
- On a computer, go to the upload page at youtube.com/upload.
- At the bottom of the page, click Increase your limit. You can also go directly to https://www.youtube.com/verify.
- Follow the steps to verify your account. You can choose to receive a verification code through a text message on a mobile phone or an automated voice call.
- Once you've verified your account, you can upload videos that are longer than 15 minutes.
Make sure you're using an up-to-date version of your browser to upload files greater than 20GB.
Maximum upload size:
The maximum file size you can upload is 128GB or 12 hours, whichever is less. We've changed the limits on uploads in the past, so you may see older videos that are longer than 12 hours.
Initial Answer(Outdated) :
It's currently 2GB for browser-based uploads and 1GBb for direct uploads, at least until
the server which handles direct uploads is updated to handle 2GB as well.
Please check below links for more details :
i) https://groups.google.com/forum/#!topic/youtube-api-gdata/JqAX4n3a4Fk
ii)http://smallbusiness.chron.com/there-size-limit-youtube-26654.html