---
title: "YouTube API: Comments, Transcripts, Channels · SocialToAI"
canonical: https://socialtoai.app/platforms/youtube/
updated: 2026-11-01
---

# YouTube API

The YouTube API lets you search videos and read video details, comments, account profiles and an account's videos, with no YouTube account or login. Each call costs 2 credits ($0.004 to $0.0067); failed calls are free. YouTube does not give the author's follower count with a post, so that field is returned as null. Use it over HTTP with an API key, or through MCP from your AI client. Last tested 2026-11-19.

- Page: https://socialtoai.app/platforms/youtube/
- Last updated: 2026-11-01
- Last tested: 2026-11-19

## Actions

| Action | What it returns | Selected by | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- | --- |
| `search` | Find videos by keyword: text, author and views. | — | `youtube.search` | 2 | [YouTube Search API](https://socialtoai.app/youtube-search-api.md) |
| `search` | accounts instead of posts | `type=user` | `youtube.search:user` | 2 | [YouTube Search API](https://socialtoai.app/youtube-search-api.md) |
| `detail` | One video by ID or link: text, author, likes, comment count, views and publish time. | — | `youtube.detail` | 2 | [YouTube Detail API](https://socialtoai.app/youtube-detail-api.md) |
| `detail` | the transcript of the video | `include=transcript` | `youtube.detail:transcript` | 2 | [YouTube Detail API](https://socialtoai.app/youtube-detail-api.md) |
| `comments` | The comments under one video: text, likes and reply count. | — | `youtube.comments` | 2 | [YouTube Comments API](https://socialtoai.app/youtube-comments-api.md) |
| `comments` | the replies under one comment | `reply_of` | `youtube.comments:replies` | 2 | [YouTube Comments API](https://socialtoai.app/youtube-comments-api.md) |
| `user_profile` | One account: name, bio, followers and post count. | — | `youtube.user_profile` | 2 | [YouTube User Profile API](https://socialtoai.app/youtube-user-profile-api.md) |
| `user_posts` | The recent videos of one account. | — | `youtube.user_posts` | 2 | [YouTube User Posts API](https://socialtoai.app/youtube-user-posts-api.md) |

Not offered on YouTube: trending.

Compared with TikTok: YouTube videos also give title and images but do not give author followers, shares, saves or hashtags; its accounts do not give following.

## Example call

```bash
curl https://socialtoai.app/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "youtube",
    "query": "meteor shower"
  }'
```

## Only on YouTube

Each one is called by its own op, through `POST /v1/call/{op}`; its full parameters and response fields are on its own page.

### Communities and lists

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| Channel posts | Get a page of the posts on a YouTube channel's Posts tab (once Community) by channel ID or handle, newest first. | `youtube.community_posts` | 2 | [YouTube channel posts API](https://socialtoai.app/youtube-community-posts-api.md) |

### Content and accounts

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| Post detail | Get one YouTube channel post (once a Community post) by ID or link. | `youtube.community_post` | 2 | [YouTube post detail API](https://socialtoai.app/youtube-community-post-api.md) |

## Fields YouTube cannot give

These fields are always null on the calls named, and are listed in the response's `unavailable`.

| Field | On |
| --- | --- |
| `text` | search |
| `published_at` | search, comments |
| `author.verified` | search, detail, user_posts |
| `author.followers` | search, detail, user_posts |
| `metrics.likes` | search |
| `metrics.comments` | search |
| `metrics.shares` | search, detail, user_posts |
| `metrics.collects` | search, detail, user_posts |
| `metrics.reposts` | search, detail, user_posts |
| `hashtags` | search, detail, user_posts |
| `is_pinned` | search, detail, user_posts |
| `url` | comments |
| `content_id` | comments |
| `following` | user_profile |

## What a whole job costs

| The job | How it adds up | Credits | About |
| --- | --- | --- | --- |
| Search 1,000 results on YouTube | usually 20 a page, 50 pages | 100 credits | about $0.33 |
| Read 1,000 YouTube comments | usually 20 a page, 50 pages | 100 credits | about $0.33 |
| Backfill one YouTube account: a list of 200 videos and 20 in full | 7 list pages + 20 full reads | 54 credits | about $0.18 |
| Watch 1 YouTube account daily, at most a month | 10 credits × 31 days | 310 credits | about $1.03 |

Priced at the $10 pack; larger purchases bring it down. A watch runs only while it is on, and you can pause it at any time. There is no subscription.

## Ask in your AI

- Which is bigger on YouTube this week: home coffee or matcha? → search, search: 4 credits

- Read the comments on this YouTube video and tell me what people complain about. → detail, comments × 3: 8 credits

- Find five YouTube accounts that post about camping coffee and show me what they posted lately. → search, user_posts × 5: 12 credits

[YouTube MCP Server](https://socialtoai.app/mcp/youtube.md)

## Ready-made tools that read YouTube

- [Brand buzz](https://socialtoai.app/tools/brand-buzz.md): How people feel about it on each platform, what comes up most, and the posts behind it
- [Comment analysis](https://socialtoai.app/tools/comment-insights.md): The topics in their comments and how big each is, plus questions, buying intent and complaints
- [Account snapshot](https://socialtoai.app/tools/account-watch.md): What each one posted lately, and which posts beat its usual numbers
- [Find creators](https://socialtoai.app/tools/find-creators.md): Creators who make that content, with their size, recent posts and how well each fits
- [Creator profile](https://socialtoai.app/tools/creator-card.md): Their accounts on other platforms, the numbers on each, and how sure the match is
- [Bulk link data](https://socialtoai.app/tools/batch-stats.md): One row per link with its numbers as they are now. Links that no longer work are marked
- [Viral finder](https://socialtoai.app/tools/viral-finder.md): Posts that did clearly better than their authors usually do

## Official API

YouTube offers the official YouTube Data API. Any developer can enable it in a Google Cloud project and read public videos, channels, comments and search results with an API key, within a free daily quota; more quota requires a compliance audit.

Source: [YouTube's developer documentation](https://developers.google.com/youtube/v3/getting-started), checked 2026-10-17.

|  | Who can use it | Cost | Limits | Source |
| --- | --- | --- | --- | --- |
| YouTube Data API v3 | Any developer with a Google Cloud project and an API key. | Free within the quota: by default 100 search.list calls and 10,000 units a day for the other endpoints. | A read of a list usually costs 1 unit; more quota is requested through Google's quota extension form. | [developers.google.com](https://developers.google.com/youtube/v3/getting-started), checked 2026-10-29 |
| Captions download | A signed-in user with permission to edit the video. | 200 quota units a call. | Downloads caption tracks only of videos the user can edit, so not of any public video. | [developers.google.com](https://developers.google.com/youtube/v3/docs/captions/download), checked 2026-10-29 |
| SocialToAI | Anyone with a key; no YouTube account of yours and no review. | From 2 credits a call (≈$0.0067); failed calls are free. | Publicly visible content only; up to 100 items a call. | https://socialtoai.app/pricing.md |

1,000 videos here: about 50 `youtube.search` calls (typically 20 a page), 100 credits, $0.33 at the first pack. [Estimate your cost](https://socialtoai.app/free-tools/api-cost-estimator.md)

[YouTube official API: access, prices and limits](https://socialtoai.app/does-youtube-have-an-api.md)

- [YouTube transcript API](https://socialtoai.app/youtube-transcript-api.md): The full transcript of any public video, by link.
- [Comments API, every platform](https://socialtoai.app/comments-api.md): Which platforms give comments, how many a page, at what price.
- [Transcript API, every platform](https://socialtoai.app/transcript-api.md): Which platforms give a transcript, timed or not.
- [How to analyze video comments with AI, and keep the original words](https://socialtoai.app/how-to/analyze-comments-with-quotes.md): what comments say, with original words: the tool or your AI, price per platform, a recorded answer
- [How to get the numbers for hundreds of post links at once](https://socialtoai.app/how-to/check-stats-for-many-links.md): the numbers of hundreds of links in one job: prices per platform, what the free credits run, and what it stops for
- [Monitor competitors' accounts every day](https://socialtoai.app/monitors/competitors.md): competitors' accounts, daily: what is new and what beat their usual, from 9 credits an account
- [Monitor brand mentions every day, with the posts behind them](https://socialtoai.app/monitors/brand.md): a brand, daily, across platforms: attitudes and the posts behind them, from 16 credits a run
- [YouTube MCP server](https://socialtoai.app/mcp/youtube.md): Let your AI read YouTube.
