Skip to content
Eden Engine

YouTube Video Comments

omnial/youtube-video-comments

Returns a list of comments for a given YouTube video with optional formatting and sorting. Useful for analyzing audience feedback or building comment-based features.

activeper callv2

Price

Up to $0.00205 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

YouTube

Data from YouTube.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/youtube-video-comments" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/youtube-video-comments" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/youtube-video-comments", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/youtube-video-comments", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "video_id"
  ],
  "properties": {
    "sort_by": {
      "enum": [
        "top",
        "newest"
      ],
      "type": "string",
      "default": "top",
      "description": "Sort order for comments, either 'top' for highest rated or 'newest' for chronological order."
    },
    "video_id": {
      "type": "string",
      "maxLength": 11,
      "minLength": 11,
      "description": "Unique identifier of the YouTube video to fetch comments for."
    },
    "need_format": {
      "type": "boolean",
      "default": true,
      "description": "Whether to return comments with cleaned text and consistent formatting."
    },
    "country_code": {
      "type": "string",
      "description": "Country code to filter comments by the uploader's country, two-letter ISO code."
    },
    "language_code": {
      "type": "string",
      "description": "Language code to filter comments by the video's language, two-letter ISO code."
    },
    "continuation_token": {
      "type": "string",
      "description": "Token for pagination to retrieve the next set of comments."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "object",
            "properties": {
              "is_artist": {
                "type": "boolean"
              },
              "avatar_url": {
                "type": "null"
              },
              "channel_id": {
                "type": "string"
              },
              "is_creator": {
                "type": "boolean"
              },
              "channel_url": {
                "type": "null"
              },
              "is_verified": {
                "type": "boolean"
              },
              "display_name": {
                "type": "string"
              }
            }
          },
          "content": {
            "type": "string"
          },
          "comment_id": {
            "type": "string"
          },
          "like_count": {
            "type": "string"
          },
          "reply_count": {
            "type": "string"
          },
          "reply_level": {
            "type": "number"
          },
          "published_time": {
            "type": "string"
          },
          "like_count_a11y": {
            "type": "string"
          },
          "reply_count_a11y": {
            "type": "string"
          },
          "reply_count_text": {
            "type": "string"
          },
          "creator_thumbnail_url": {
            "type": "null"
          },
          "reply_continuation_token": {
            "type": "string"
          }
        }
      }
    },
    "continuation_token": {
      "type": "string"
    }
  },
  "description": "Response of the lookup."
}