Youtube · Schema

CommentThread

A commentThread resource contains information about a YouTube comment thread, which comprises a top-level comment and replies.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#commentThread.
etag string The Etag of this resource.
id string The ID that YouTube uses to uniquely identify the comment thread.
snippet object The snippet object contains basic details about the comment thread.
replies object The replies object contains a list of replies to the top-level comment.
View JSON Schema on GitHub

JSON Schema

youtube-commentthread-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CommentThread",
  "title": "CommentThread",
  "type": "object",
  "description": "A commentThread resource contains information about a YouTube comment thread, which comprises a top-level comment and replies.",
  "required": [
    "kind",
    "etag"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#commentThread.",
      "default": "youtube#commentThread",
      "example": "youtube#video"
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource.",
      "example": "XI7nbFXulYBIpL0ayR_gDh3eu1k"
    },
    "id": {
      "type": "string",
      "description": "The ID that YouTube uses to uniquely identify the comment thread.",
      "example": "abc123def456"
    },
    "snippet": {
      "type": "object",
      "description": "The snippet object contains basic details about the comment thread.",
      "properties": {
        "channelId": {
          "type": "string",
          "description": "The YouTube channel that is associated with the comments in the thread."
        },
        "videoId": {
          "type": "string",
          "description": "The ID of the video that the comments refer to."
        },
        "topLevelComment": {
          "$ref": "#/components/schemas/Comment"
        },
        "canReply": {
          "type": "boolean",
          "description": "Whether the current viewer can reply to the thread."
        },
        "totalReplyCount": {
          "type": "integer",
          "description": "The total number of replies that have been submitted in response to the top-level comment."
        },
        "isPublic": {
          "type": "boolean",
          "description": "Indicates whether the thread, including all of its comments and comment replies, is visible to all YouTube users."
        }
      },
      "example": "example_value"
    },
    "replies": {
      "type": "object",
      "description": "The replies object contains a list of replies to the top-level comment.",
      "properties": {
        "comments": {
          "type": "array",
          "description": "A limited number of replies to the top-level comment.",
          "items": {
            "$ref": "#/components/schemas/Comment"
          }
        }
      },
      "example": "example_value"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/youtube-commentthread"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.