YouTube Data API Quota: Limits, Costs and Alternatives
The YouTube Data API is Google's official API for YouTube: search, video and channel details, playlists, comments and captions, called with a Google Cloud API key or OAuth. Its quota is what limits most projects. By default a project gets 100 search.list calls a day in their own bucket and 10,000 units a day for everything else, a caption download costs 200 units and needs edit rights on the video, and more quota requires a compliance audit. This post works through the arithmetic for a search-heavy job and shows where per-call endpoints fit instead.
How does the YouTube Data API quota work?
Every request to the YouTube Data API is charged against your Google Cloud project's daily quota, in units. A project that enables the API gets a default allocation of 100 search.list calls a day, 100 videos.insert calls a day, and 10,000 units a day combined for all other methods (YouTube Data API overview, 2026). Search moved into its own bucket in 2026: Google's revision history records the move to a more granular quota system starting with videos.insert and search.list on 1 June 2026 (revision history, 2026).
Google's quota calculator sets out the rest: every request, including an invalid one, costs at least one unit, and daily quotas reset at midnight Pacific Time (Quota calculator, 2026). Older guides that say a search costs 100 units describe the previous system; check the calculator and your project's Quotas page in the Cloud console for current figures.
| Method | What it does | Cost |
|---|---|---|
search.list |
Search videos, channels, playlists | 1 call from the 100-a-day search bucket |
videos.list |
Video details and statistics | 1 unit |
channels.list |
Channel details | 1 unit |
captions.list |
List a video's caption tracks | 50 units |
captions.download |
Download one caption track | 200 units, OAuth, edit permission on the video |
What does a search-heavy job cost in quota?
Work it out per day, because the quota is daily. Say you track 300 keywords: each day you search each keyword once and then fetch details for the top 20 videos per keyword. The details are cheap: videos.list takes a comma-separated list of IDs, so one call per keyword covers its 20 videos, and 300 calls cost 300 units. The searches are the problem: 300 search.list calls against a default of 100 a day.
| Daily job | Search calls | Other units | Fits the default? |
|---|---|---|---|
| 50 keywords, details for top 20 | 50 | 50 | Yes |
| 300 keywords, details for top 20 | 300 | 300 | No: 3 times the search allowance |
| Transcripts for 60 of your own videos | 0 | 60 × 250 = 15,000 (list + download) | No: over 10,000 units |
To go beyond the default you apply for more. Google's guide says you must first complete an audit showing your project complies with the YouTube API Services Terms of Service, then submit the Audit and Quota Extension Form with a justification for the quota you need (Quota and compliance audits, 2026). The developer policies add that extra quota is for the approved use case only and that splitting work across several Cloud projects to get more quota isn't allowed.
If your app is a YouTube integration (uploading, managing your own channel, reading your own captions, acting for signed-in users), this is the path: it's the only one with write access and user authorisation, and it costs nothing in money.
Can you get transcripts through the official API?
Only for videos you can edit. captions.download requires OAuth 2.0 authorisation and that the authorised user has permission to edit the video; it costs 200 units per call, and finding the track with captions.list costs another 50 (captions.download, 2026). That suits a creator exporting their own subtitles. It doesn't let a research tool, an AI agent or a summariser fetch the transcript of someone else's public video.
That gap is the main reason people look past the official API. Transcripts are what a model needs to summarise or answer questions about a video, and at 250 units each, even your own videos run out of daily quota at 40 transcripts.
What do the per-call endpoints cover?
The catalogue's YouTube API has 15 endpoints for public YouTube data, all GET, all 1 credit per successful call, with no daily cap beyond the account's request rate. Failed calls cost nothing and return X-Credits-Used: 0. You authenticate with one API key in the X-API-Key header, with no Cloud project or OAuth.
| Group | Endpoints | Key parameters |
|---|---|---|
| Search and discovery | search, suggestions, trending, related |
query, type, order, videoDuration, publishedAfter, gl, hl |
| Videos | video, chapters, comments |
video_id |
| Transcripts | transcript, transcript-by-video-id |
video_id or videoId, language |
| Channels | channel, channel-videos, channel-playlists, channel-community |
channel_id |
| Playlists and locales | playlist, locales |
playlist_id |
The catalogue's example search:
curl "https://api.perceptlayer.com/v1/youtube/search?query=programming+tutorial" \
-H "X-API-Key: $API_KEY"
We didn't run this request, and we haven't recorded a response from the YouTube endpoints yet, so this post doesn't show one. Run search, then video and transcript with an ID from the results, in the playground on the YouTube API page to see the fields.
All 15 are restricted endpoints. They work after you accept the restricted-endpoint terms in your dashboard, and a call before that returns restricted_endpoint (403). Use them for public video data and aggregate analysis; don't use comments or channel data to profile or contact individuals. Data is collected from publicly available sources and returned as found at the time of the call.
How do the two compare for the same job?
For the 300-keyword job above, the per-call route needs 300 searches and, if the search results carry the fields you need, nothing else: 300 credits a day, 9,000 a month, inside the Starter pack's 10,000. Add a video call for each of the top 20 results and it's 300 + 6,000 = 6,300 calls a day, so compare the fields a search returns with what you need before you add detail calls. Transcripts for 100 videos a day are 100 × 30 = 3,000 credits a month. See pricing for what credits cost.
| YouTube Data API | Per-call endpoints | |
|---|---|---|
| Auth | API key or OAuth from a Cloud project | One key in X-API-Key |
| Daily limit | 100 searches, 10,000 units by default; more after an audit | None; per-account request rate |
| Write actions, user data | Yes | No |
| Transcripts of others' videos | No | Yes, 1 credit |
| Cost | No charge within quota | 1 credit per successful call |
| Terms | YouTube API Services Terms | Restricted-endpoint terms |
Use the official API for anything that acts on YouTube or for signed-in users, and for light read-only jobs that fit the default quota. Use per-call endpoints when the job outgrows the daily search allowance or needs transcripts of public videos. For a pipeline that feeds transcripts to a model, RAG with Live Web Data covers when to index and when to fetch live. To try it, get a free API key, accept the restricted-endpoint terms, and run a search in the playground.
APIs in this post
Frequently asked questions
How much is the YouTube Data API quota per day?
By default, 100 search.list calls, 100 videos.insert calls, and 10,000 units for all other methods combined, per Google's documentation as of 2026. Most read methods such as videos.list cost 1 unit; captions.download costs 200. Quotas reset at midnight Pacific Time, and more quota needs a compliance audit and an extension request.
Is the YouTube Data API free?
Yes, there's no charge within your quota; the limit is the daily allocation, not money. Going beyond it means applying for an extension after a compliance audit, which Google may decline. The per-call endpoints here cost 1 credit per successful call, with 100 free credits after verifying an email address.
Why did my YouTube API quota run out so fast?
Usually because of searches or captions. Search now has its own allowance of 100 calls a day by default, and captions.list plus captions.download cost 250 units per video. Every request counts, invalid ones included, and retries in a loop add up. Check the Quotas page in the Cloud console to see which method used it.
Can I get YouTube comments without the official API?
Yes. GET /v1/youtube/comments takes a video_id and an optional limit, for 1 credit per successful call. It's a restricted endpoint: accept the restricted-endpoint terms first, use comments for aggregate analysis such as sentiment or topics, and don't collect commenters' identities to profile or contact them.
What happens if a YouTube call fails?
You get an HTTP status and a JSON body with a code, a message and a request_id, and you aren't charged. restricted_endpoint (403) means the terms haven't been accepted; not_found (404) means no data for that ID; rate_limited (429) carries Retry-After. The errors docs list every code.