# YouTube Data API v3 — card for AI agents

Official API to upload videos and set thumbnails and captions on YouTube channels.

Category: Publishing · maker Google / YouTube · checked 2026-11-04

## Price
- Price: Free
- Free tier: Default: 10,000 units/day, 100 search.list and 100 videos.insert calls per day.
- Pricing page: https://developers.google.com/youtube/v3/determine_quota_cost

## License
YouTube API Services Terms of Service and Developer Policies — https://developers.google.com/youtube/terms/api-services-terms-of-service

- commercial: **conditions** (Commercial use with conditions)
  > You may distribute or sell API Clients subject to the restrictions defined in the "Prohibited Actions" subsection below and, of course, to the other terms of the Agreement
  (https://developers.google.com/youtube/terms/developer-policies)
- attribution: **varies** (Credit depends on the item)
  > All API Clients must provide proper attribution in accordance with the YouTube Branding Guidelines and these Terms of Service
  (https://developers.google.com/youtube/terms/api-services-terms-of-service)
- in app: **conditions** (Ship inside your app with conditions)
  > you may distribute and display YouTube audiovisual content and accompanying metadata to users through your API Clients as long as those Clients comply with the Agreement
  (https://developers.google.com/youtube/terms/developer-policies)

## Rules to follow
- Get the user's prior express consent before automating uploads.
- Set status.containsSyntheticMedia for realistic altered or synthetic content.
- Use exactly one API project per API client; do not circumvent quotas.
- Publish a privacy policy and show the YouTube ToS warning on the upload screen.

## Can an AI agent use it by itself?
**No** · user-account: The user signs in or pays to get the files; the agent cannot

## How an agent gets files
- POST https://www.googleapis.com/upload/youtube/v3/videos (videos.insert); media types video/* and application/octet-stream, up to 256GB; 1 unit in the Video Uploads bucket, 100 calls/day. (sign-in: oauth)
- Not allowed: Do not exceed or circumvent use or quota restrictions.
- Not allowed: Each API client must publish and follow a privacy policy.
- Not allowed: EU users: comply with the EU User Consent Policy.

## How to connect
- Public API
- API docs: https://developers.google.com/youtube/v3/docs/videos/insert (API key needed)
- API limits: videos.insert: 1 unit in the Video Uploads bucket (100 calls/day); thumbnails.set 50 units; captions.insert 400.
- Website: https://developers.google.com/youtube/v3

## Notes
YPP: 'inauthentic content' (mass-produced or templated AI videos) is not monetizable. Quota extensions are tied to an audited use case.

## Lines to paste into your prompt or AGENTS.md

```
- YouTube Data API v3 (Publishing). Official API to upload videos and set thumbnails and captions on YouTube channels. Price: free; commercial use with conditions; credit depends on the item; ship inside your app with conditions.
  Connect: API docs https://developers.google.com/youtube/v3/docs/videos/insert (API key needed). Limits: videos.insert: 1 unit in the Video Uploads bucket (100 calls/day); thumbnails.set 50 units; captions.insert 400.
  Get files: POST https://www.googleapis.com/upload/youtube/v3/videos (videos.insert); media types video/* and application/octet-stream, up to 256GB; 1 unit in the Video Uploads bucket, 100 calls/day.
  Not allowed: Do not exceed or circumvent use or quota restrictions.
  Not allowed: Each API client must publish and follow a privacy policy.
  Not allowed: EU users: comply with the EU User Consent Policy.
  Rule: Get the user's prior express consent before automating uploads.
  Rule: Set status.containsSyntheticMedia for realistic altered or synthetic content.
  Rule: Use exactly one API project per API client; do not circumvent quotas.
  Rule: Publish a privacy policy and show the YouTube ToS warning on the upload screen.
  License: https://developers.google.com/youtube/terms/api-services-terms-of-service (checked 2026-11-04; details: https://agentgid.com/assets/youtube-data-api/)
```

Not verified: Conflict: the videos.insert reference says unverified projects are not limited to private uploads, but a 2020 revision entry says they are until an audit; test a real upload first. The quota calculator text still mentions 1600 points.

## Links
- AgentGid page: https://agentgid.com/assets/youtube-data-api/
- Is it free for commercial use? https://agentgid.com/assets/youtube-data-api/commercial-use/
- Source: https://developers.google.com/youtube/v3/determine_quota_cost
- Source: https://developers.google.com/youtube/v3/docs/videos/insert
- Source: https://developers.google.com/youtube/v3/getting-started
- Source: https://developers.google.com/youtube/v3/revision_history
- Source: https://developers.google.com/youtube/v3/guides/quota_and_compliance_audits
- Source: https://developers.google.com/youtube/terms/developer-policies
- Source: https://developers.google.com/youtube/terms/api-services-terms-of-service
- Source: https://support.google.com/youtube/answer/1311392

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
