YouTube Video Comment List

Retrieve first-level comments for a YouTube video with sorting, locale options, and cursor pagination. Use it to review audience discussion or continue through additional comment pages.

GET /v1/youtube/get_video_comment_v1 $0.02
Price
$0.02 per successful call, Failed calls are free
Endpoint ID
youtube.get_video_comment_v1

Parameters

  • video_id string Required

    The unique identifier for a YouTube video.

    ExampledQw4w9WgXcQ

  • cursor string Optional

    Pagination cursor returned by the previous response.

  • language_code string Optional

    Language preference for response data.

    Examplezh-CN

  • country_code string Optional

    Region code for response data.

    ExampleUS

  • sort_by string Optional

    Sort order for the comment list.

    Available Values:

    • top: Top comments
    • newest: Newest comments

    Examplenewest

Code samples

curl -G "https://api.mofa-ai.com/v1/youtube/get_video_comment_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'video_id=dQw4w9WgXcQ' \
  --data-urlencode 'language_code=zh-CN' \
  --data-urlencode 'country_code=US' \
  --data-urlencode 'sort_by=newest'

Example response

Request parameters {"sort_by": "newest", "video_id": "dQw4w9WgXcQ", "country_code": "US", "language_code": "zh-CN"}

JSON Captured 2026-11-08, took 2699 ms
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "youtube.get_video_comment_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "comments": [
        {
          "author": {
            "is_artist": false,
            "avatar_url": "https://yt3.ggpht.com/ePcCQBufb2-9s7lUpZzYzrRIatwmIvQ4UiK_zYbzOVVhumRZtx4zJVrWGKz0VUQ-atYo2Nx8Og=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCz65dwQtAGRm12jzti0Ou1Q",
            "is_creator": false,
            "channel_url": "https://www.youtube.com/@RawbCool7",
            "is_verified": false,
            "display_name": "@RawbCool7",
            "avatar_thumbnails": null
          },
          "content": "imma smoke weed to this song and not care about people vro.",
          "comment_id": "UgyAqd4ONIGwmbhiV894AaABAg",
          "like_count": "1",
          "reply_count": "0",
          "reply_level": 0,
          "published_time": "2分钟前",
          "like_count_a11y": "1 次赞",
          "reply_count_a11y": "0 条回复",
          "creator_thumbnail_url": null
        },
        {
          "author": {
            "is_artist": false,
            "avatar_url": "https://yt3.ggpht.com/seetDKgWFFAm7ESQeeM4pmiB7TXmayeo9l0aWhHMTNxVHD5PN27gCVjQpM2wpHfMNbiBfa0B=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UC1H0I_PKw0PFdzQQM3jVQkw",
            "is_creator": false,
            "channel_url": "https://www.youtube.com/@%D0%92%D0%BE%D1%82%D0%BA%D0%BD%D1%83%D0%BB",
            "is_verified": false,
            "display_name": "@Воткнул",
            "avatar_thumbnails": null
          },
          "content": "get rickrolled again…",
          "comment_id": "UgzIR1QntbHnTgDF0iR4AaABAg",
          "like_count": "0",
          "reply_count": "0",
          "reply_level": 0,
          "published_time": "6分钟前",
          "like_count_a11y": "0 次赞",
          "reply_count_a11y": "0 条回复",
          "creator_thumbnail_url": null
        },
        "… +18"
      ],
      "continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYyuAEKfGdldF9uZXdlc3RfZmlyc3QtLUNnZ0lnQVFWRjdmUk9CSUZDSjBnR0FFU0JRaW9JQmdBRWdVSWlDQVlBQklGQ0lrZ0dBQVNCUWlISUJnQUVnVUluaUFZQUJJRkNNZ2dHQUFpRGdvTUNLYVZ2dGNHRUlDRHplQUJVQUJZQVEiESIL…"
    },
    "message": null,
    "requestId": "7bbdb021dd9449398fd948129c7976c3",
    "recordTime": "2026-11-08T08:00:12.353266636",
    "requestParams": {
      "body": null,
      "query": {
        "sortBy": "newest",
        "videoId": "dQw4w9WgXcQ",
        "countryCode": "US",
        "languageCode": "zh-CN"
      }
    }
  }
}

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

More YouTube endpoints

  • General Search

    $0.02

    Search YouTube by keyword with optional type, upload-date, duration, feature, and sort filters, or continue with a token. Use it to discover videos, channels…

    /v1/youtube/search_v1

  • Video Details

    $0.02

    Retrieve public details for a YouTube video identified by video ID. Use it to inspect a known video before further content or comment analysis.

    /v1/youtube/get_video_detail_v1

  • Channel Videos

    $0.02

    Retrieve public videos from a YouTube channel, with optional cursor-based pagination. Use it to browse a channel's uploads and continue through additional re…

    /v1/youtube/get_channel_videos_v1

  • Video Captions

    $0.02

    Retrieve available caption tracks for a YouTube video or request captions in SRT, XML, JSON3, or plain-text format. Use it to support transcription, accessib…

    /v1/youtube/get_video_captions_v1

  • Channel Shorts

    $0.02

    Retrieve public Shorts from a YouTube channel ID with optional continuation-token pagination. Use it to browse a channel's short-form videos and continue thr…

    /v1/youtube/get_channel_shorts_v1

  • Video Sub Comment List

    $0.02

    Retrieve replies associated with a YouTube comment continuation cursor, with optional locale settings. Use it to follow threaded discussion beyond first-leve…

    /v1/youtube/get_video_sub_comment_v1

↑↓ to move, Enter to open, Esc to close