YouTube Comments API iconStatus:Waiting For Requests

YouTube Comments API

Extract YouTube video and Shorts comments with author details, engagement metrics, and pagination.

No Setup Required
Try without Risk
Structured JSON Response
Instant Access

How to Call the YouTube Comments API

Simple REST API endpoint. Just make a GET request with your API key and get structured data back.

Method:GET
Endpoint:https://api.parseium.com/v1/youtube-comments
Cost:1 credit per call

Code Examples

cURL

curl -X GET 'https://api.parseium.com/v1/youtube-comments?video_id=dQw4w9WgXcQ&api_key=YOUR_API_KEY'

TypeScript

const response = await fetch(`https://api.parseium.com/v1/youtube-comments?video_id=dQw4w9WgXcQ&api_key=${process.env.PARSEIUM_API_KEY}`, {
  method: 'GET',
});

const data = await response.json();
console.log(data);

Python

import requests
import os

api_key = os.environ['PARSEIUM_API_KEY']
response = requests.get(
    f'https://api.parseium.com/v1/youtube-comments?video_id=dQw4w9WgXcQ&api_key={api_key}'
)

data = response.json()
print(data)

Query Parameters

Pass parameters in the URL query string:

video_id=dQw4w9WgXcQ

Response Schema

The API returns structured JSON data with the following schema:

{
  "video_id": {
    "type": "string"
  },
  "comments": [
    {
      "id": {
        "type": "string"
      },
      "content": {
        "type": "string"
      },
      "published_time_text": {
        "type": "string"
      },
      "published_time": {
        "type": "string"
      },
      "reply_level": {
        "type": "number"
      },
      "author": {
        "name": {
          "type": "string"
        },
        "channel_id": {
          "type": "string"
        },
        "is_verified": {
          "type": "boolean"
        },
        "is_creator": {
          "type": "boolean"
        },
        "avatar_url": {
          "type": "string"
        },
        "channel_url": {
          "type": "string"
        }
      },
      "engagement": {
        "likes": {
          "type": "number"
        },
        "replies": {
          "type": "number"
        }
      }
    }
  ],
  "continuation_token": {
    "type": "string"
  },
  "has_more": {
    "type": "boolean"
  }
}

Need more details? Check out our full API documentation for authentication, error handling, rate limits, and advanced options.

Use Cases for YouTube Comments

See how developers use this API in production applications.

Sentiment Analysis

Analyze audience sentiment by extracting and processing comments to understand viewer reactions and feedback.

Engagement Tracking

Monitor comment engagement metrics, identify top contributors, and track discussion trends over time.

Content Research

Extract viewer questions and feedback to inform future content creation and audience interests.

Simple, Transparent Pricing

Every API call to YouTube Comments costs 1 credit

Choose a plan based on your monthly usage. All plans include access to all APIs.

Starter
$49/mo

150,000 API calls/mo

$0.33 per 1K requests

  • 150,000 credits/month
  • 3 Concurrent Requests
  • Email support
  • Priority processing
Get Started
Most Popular
Pro
$99/mo

700,000 API calls/mo

$0.14 per 1K requests

  • 700,000 credits/month
  • 10 Concurrent Requests
  • Priority support
  • Advanced features
Get Started
Business
$299/mo

3,000,000 API calls/mo

$0.10 per 1K requests

  • 3M credits/month
  • 30 Concurrent Requests
  • Dedicated support
  • Custom integrations
Get Started

Need more? Check out our for enterprise options and custom plans.

Frequently Asked Questions

Common questions about the YouTube Comments API.

What comment data is included?

Each comment includes full text content, timestamps (relative and ISO 8601), author details (name, channel ID, verification status, creator badge), engagement metrics (likes, reply counts), and reply level for nested comments.

How does pagination work?

First request uses only `video_id`. Response includes `continuation_token` if more comments exist. Pass this token in subsequent requests as `continuation` parameter to fetch additional pages.

How are replies handled?

The `reply_level` field indicates comment depth: 0 for top-level comments, 1+ for nested replies. All comments are returned in a flat array for easy processing.

Does this work for YouTube Shorts?

Yes, the API works for both regular YouTube videos and Shorts. Simply use the video ID from any Short URL (e.g., youtube.com/shorts/VIDEO_ID) as the `video_id` parameter.

Can I test the API risk-free?

Yes! When you sign up you get 1,000 free credits — no credit card required. Try the API with real requests before committing.

What if I need help integrating?

We offer documentation, code examples in multiple languages, and email support. Most questions are answered within 24 hours.

How long does integration take?

Minutes. It's a simple REST API — make an HTTP request, get JSON back. No SDKs to install, no complex auth flows.

Make a successful API call in 30 seconds. No Credit Card required.

  • easy integration
  • works with any language
  • simple REST API
  • fast and accurate
  • scalable performance
  • thousands of requests per minute