# How do I export all comments from a YouTube video? (2026)

The official YouTube Data API is a fair way to export comments: `commentThreads.list` costs 1 quota unit and returns up to 100 threads, and a project gets 10,000 units a day, but you need a Google Cloud project and a key. Without one, XTikAPI's `youtube.comments.list` returns a page of comments for $0.002 a call, and replies come from `youtube.comment_replies.list`. XTikAPI reads YouTube with 12 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

## Two routes

| | Official `commentThreads.list` | XTikAPI |
| Cost | 1 unit per call, 10,000 units a day per project | $0.002 a call, no daily quota |
| Per call | `maxResults` 1-100, default 20 | One page |
| You need | Google Cloud project, API key | One key |
| Replies | Separate `comments.list` call | `youtube.comment_replies.list` with the reply `cursor` |

From Google's quota table and the commentThreads.list reference.

## Exporting to a spreadsheet

1. Call `youtube.comments.list` with the video `id`; `sort_by` picks top or newest.
2. Pass back the returned `cursor` until it is empty.
3. For threads with replies, call `youtube.comment_replies.list` with the reply cursor.
4. Write author, text, likes and time to CSV or Excel.

## What one video costs

A video with 2,000 comments at about 20 per page is roughly 100 calls, $0.20.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (11 of 12 for YouTube).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.

## Endpoints

- [YouTube comments API](https://xtikapi.com/apis/youtube/comments/list) ($0.002 a call): A page of comments on a YouTube video.
- [YouTube comment replies API](https://xtikapi.com/apis/youtube/comment_replies/list) ($0.002 a call): Replies under one YouTube comment.
- [YouTube video details API](https://xtikapi.com/apis/youtube/videos/detail) ($0.002 a call): Get video information

## More about YouTube

- [YouTube API](https://xtikapi.com/apis/youtube)
- [yt-dlp says "Sign in to confirm you're not a bot": how do I still get video data?](https://xtikapi.com/answers/yt-dlp-sign-in-to-confirm-not-a-bot)
- [How do I get around the YouTube Data API's 10,000-unit daily quota?](https://xtikapi.com/answers/youtube-api-quota-alternative)
- [What is a good Apify alternative for social media data?](https://xtikapi.com/answers/apify-alternative-for-social-media-data)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- [Google: YouTube Data API quota costs](https://developers.google.com/youtube/v3/determine_quota_cost)
- [Google: commentThreads.list reference](https://developers.google.com/youtube/v3/docs/commentThreads/list)

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/youtube-comments-export) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
