YouTube API/Video/Get video comments
YouTube · Video

YouTube Get video comments API

Get comments for a YouTube video. Supports paginated retrieval.

GET/v1/youtube/get_video_comments
video_idstringrequired

Video ID (YouTube video ID string) How to obtain: extract from the URL https://www.youtube.com/watch?v=oaSNBz4qMQY

language_codestringoptional

Language display preference Options: "zh-CN", "en-US", "ja-JP", "ko-KR", etc.

country_codestringoptional

Region code Options: "US", "JP", "GB", etc.

sort_bystringoptional

Comment sort order. Options: top - most relevant comments (sorted by engagement) newest - newest comments (sorted by time)

continuation_tokenstringoptional

Pagination token, used to retrieve the next page. How to obtain: taken from the previous response

need_formatbooleanoptional

Whether to clean and format the data Default: false

YouTube API Use Cases

Get video comments Data Collection

Retrieve get video comments data from YouTube at scale for analytics and research.

Competitive Intelligence

Monitor YouTube activity and benchmark against competitors using real-time data.

Automation & Integration

Integrate YouTube get video comments data into your product, dashboard, or data pipeline.

Frequently Asked Questions

Is the YouTube API official?

No, KeyAPI provides an unofficial YouTube API that lets you access YouTube data through our platform. We handle the complexities of data collection so you can focus on building your application.

How current is the data?

We provide real-time data from YouTube. When you make a request, we fetch the latest information available.

How do credits work?

Each API endpoint consumes credits. Most endpoints cost just 1 credit. All pricing is transparent in our API documentation with no hidden fees.

Can I use this for AI model training?

Yes. KeyAPI provides structured, AI-ready data ideal for training datasets, fine-tuning LLMs, and building AI pipelines. Our historical archives are particularly valuable for large-scale training workloads.

Start for free — no credit card required

Ready to unlock unified
social intelligence?

Register today and receive 100 free API calls to test our infrastructure.

Join the growing community of developers, AI builders, automation engineers, and global businesses who trust KeyAPI for reliable, scalable social media data access.