YouTube API quota exceeded: what the error means and how to fix it
Checked on 2026-11-18.
The YouTube Data API answers with HTTP 403 and the reason quotaExceeded when your Google Cloud project has used up its allowance for the day. Nothing is wrong with your code or your key; you have run out, and retrying will not help until the quota resets.
How the quota is counted
These are Google's published defaults for a project, as documented in November 2026:
| What | Default per day |
|---|---|
Searches (search.list) | 100 calls, counted in their own bucket |
Video uploads (videos.insert) | 100 calls, counted in their own bucket |
| Everything else | 10,000 units combined |
Within the 10,000 units, reading a list of videos, channels, playlist items or comment threads usually costs 1 unit, writing usually costs 50, and listing a video's caption tracks costs 50. Invalid requests are charged too. Daily quotas reset at midnight Pacific Time.
Older articles say a search costs 100 units out of the 10,000. Google has since moved search into a bucket of its own, so a project can run out of searches while most of its units are still unused. Your own project's numbers are on the Quotas page of the API in the Google Cloud console.
Seven ways to fix it
1. Find out what is using it
Open the Quotas page of the YouTube Data API v3 in the Google Cloud console and see which bucket is empty. Search and "everything else" need different fixes.
2. Stop retrying
Every request after the limit fails the same way. Treat quotaExceeded as "stop until midnight Pacific Time", not as an error to retry with backoff.
3. Replace searches with cheaper calls
Search is the scarce one. To list a channel's videos you do not need it: read the channel's uploads playlist with playlistItems.list, which costs 1 unit for up to 50 videos. Use search only for what really is a search.
4. Ask for many items in one call
videos.list accepts up to 50 video ids in one request for the same 1 unit. Fetching statistics one video at a time uses 50 times the quota.
5. Cache what does not change
Channel ids, titles and publish dates do not change, and view counts rarely need to be fresher than a few hours. Store results and reuse them.
6. Ask Google for more
Google grants higher quotas on application, after checking how your project uses the API and whether it follows the API's policies. It is free, and it can take a while. Creating several projects to multiply the quota is against Google's developer policies.
7. Move the part that does not fit somewhere else
If your product needs hundreds or thousands of searches a day, or the transcripts of other people's videos, the official API was not built for that. A second source can carry that part while the official API keeps doing what it does well. With Pipefetch a search costs 1 credit with no daily cap, and transcripts work for any public video that has captions. The side-by-side comparison shows where each one is the better tool.
The same search without a quota
curl "https://pipefetch.com/v1/youtube/search?q=web+scraping+tutorial&limit=20" \
-H "x-api-key: YOUR_API_KEY"A new account has 100 free credits, enough to check that the results match what you need.
Try it with 100 free credits. No card, no Google Cloud project, no OAuth. Get an API key or read the docs.
APIs used in this guide
-
1 credit
YouTube Transcript API
The transcript of any public video with captions, as plain text, timestamped segments, SRT or WebVTT.
GET /v1/youtube/transcript -
1 credit
YouTube Video API
Exact views, likes and comment count, description, tags, chapters and channel for one video.
GET /v1/youtube/video -
1 credit
YouTube Search API
YouTube search results for a query, with the same sorting and filters the site offers.
GET /v1/youtube/search