YouTube · Schema

CommentListResponse

VideoYouTubeGoogleMediaSocialStreamingLive StreamingChannelsPlaylistsSearch

Properties

Name Type Description
nextPageToken string The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
kind string Identifies what kind of resource this is. Value: the fixed string "youtube#commentListResponse".
etag string Etag of this resource.
tokenPagination object
visitorId string The visitorId identifies the visitor.
pageInfo object General pagination information.
items array A list of comments that match the request criteria.
eventId string Serialized EventId of the request which produced this response.
View JSON Schema on GitHub

JSON Schema

youtube-comment-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-comment-list-response-schema.json",
  "title": "CommentListResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-comments-api-openapi.yml#/components/schemas/CommentListResponse",
  "properties": {
    "nextPageToken": {
      "description": "The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.",
      "type": "string"
    },
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#commentListResponse\".",
      "default": "youtube#commentListResponse"
    },
    "etag": {
      "description": "Etag of this resource.",
      "type": "string"
    },
    "tokenPagination": {
      "$ref": "#/$defs/TokenPagination"
    },
    "visitorId": {
      "type": "string",
      "description": "The visitorId identifies the visitor.",
      "deprecated": true
    },
    "pageInfo": {
      "$ref": "#/$defs/PageInfo",
      "description": "General pagination information."
    },
    "items": {
      "items": {
        "$ref": "#/$defs/Comment"
      },
      "description": "A list of comments that match the request criteria.",
      "type": "array"
    },
    "eventId": {
      "type": "string",
      "description": "Serialized EventId of the request which produced this response.",
      "deprecated": true
    }
  },
  "type": "object",
  "$defs": {
    "Comment": {
      "properties": {
        "snippet": {
          "$ref": "#/$defs/CommentSnippet",
          "description": "The snippet object contains basic details about the comment."
        },
        "id": {
          "description": "The ID that YouTube uses to uniquely identify the comment.",
          "type": "string"
        },
        "kind": {
          "default": "youtube#comment",
          "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#comment\".",
          "type": "string"
        },
        "etag": {
          "type": "string",
          "description": "Etag of this resource."
        }
      },
      "description": "A *comment* represents a single YouTube comment.",
      "type": "object"
    },
    "CommentSnippet": {
      "properties": {
        "channelId": {
          "description": "The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video or post comment it's the video/post's channel.",
          "type": "string"
        },
        "canRate": {
          "type": "boolean",
          "description": "Whether the current viewer can rate this comment."
        },
        "parentId": {
          "description": "The unique id of the top-level comment, only set for replies.",
          "type": "string"
        },
        "authorDisplayName": {
          "description": "The name of the user who posted the comment.",
          "type": "string"
        },
        "authorProfileImageUrl": {
          "description": "The URL for the avatar of the user who posted the comment.",
          "type": "string"
        },
        "textOriginal": {
          "type": "string",
          "description": "The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author."
        },
        "authorChannelUrl": {
          "description": "Link to the author's YouTube channel, if any.",
          "type": "string"
        },
        "likeCount": {
          "type": "integer",
          "format": "uint32",
          "description": "The total number of likes this comment has received."
        },
        "moderationStatus": {
          "enum": [
            "published",
            "heldForReview",
            "likelySpam",
            "rejected"
          ],
          "description": "The comment's moderation status. Will not be set if the comments were requested through the id filter.",
          "type": "string"
        },
        "textDisplay": {
          "description": "The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.",
          "type": "string"
        },
        "authorChannelId": {
          "$ref": "#/$defs/CommentSnippetAuthorChannelId"
        },
        "publishedAt": {
          "format": "date-time",
          "type": "string",
          "description": "The date and time when the comment was originally published."
        },
        "updatedAt": {
          "format": "date-time",
          "description": "The date and time when the comment was last updated.",
          "type": "string"
        },
        "videoId": {
          "description": "The ID of the video the comment refers to, if any.",
          "type": "string"
        },
        "imageUrl": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The URL of the image or animated GIF attached to the comment, if any. This property is only present when a comment contains an image or GIF. The URL is served as a signed link with a six-hour time to live (TTL) and expires six hours after retrieval."
        },
        "viewerRating": {
          "type": "string",
          "description": "The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.",
          "enum": [
            "none",
            "like",
            "dislike"
          ]
        }
      },
      "description": "Basic details about a comment, such as its author and text.",
      "type": "object"
    },
    "CommentSnippetAuthorChannelId": {
      "properties": {
        "value": {
          "type": "string",
          "description": "The id of the author's YouTube channel."
        }
      },
      "type": "object",
      "description": "Contains the id of the author's YouTube channel, if any."
    },
    "PageInfo": {
      "description": "Paging details for lists of resources, including total number of items available and number of resources returned in a single page.",
      "properties": {
        "resultsPerPage": {
          "format": "int32",
          "description": "The number of results included in the API response.",
          "type": "integer"
        },
        "totalResults": {
          "description": "The total number of results in the result set.",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "TokenPagination": {
      "properties": {},
      "description": "Stub token pagination template to suppress results.",
      "type": "object"
    }
  }
}

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-comment-list-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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