YouTube · Schema

BatchGetStatsResponse

Response for the Videos.stats API. Returns VideoStat information about a batch of videos. VideoStat contains a subset of the information in Video that is relevant to statistics and content details. BatchGetStats is intentionally not atomic to provide a better user experience. BatchGetStatsResponse returns a summary to help users understand the outcome of the operation.

VideoYouTubeGoogleMediaSocialStreamingLive StreamingChannelsPlaylistsSearch

Properties

Name Type Description
kind string Identifies what kind of resource this is. Value: the fixed string "youtube#batchGetStatsResponse".
etag string Etag of this resource.
items array The videos' stats information.
View JSON Schema on GitHub

JSON Schema

youtube-batch-get-stats-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-batch-get-stats-response-schema.json",
  "title": "BatchGetStatsResponse",
  "description": "Response for the Videos.stats API. Returns VideoStat information about a batch of videos. VideoStat contains a subset of the information in Video that is relevant to statistics and content details. BatchGetStats is intentionally not atomic to provide a better user experience. BatchGetStatsResponse returns a summary to help users understand the outcome of the operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-videos-api-openapi.yml#/components/schemas/BatchGetStatsResponse",
  "type": "object",
  "properties": {
    "kind": {
      "default": "youtube#batchGetStatsResponse",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#batchGetStatsResponse\".",
      "type": "string"
    },
    "etag": {
      "type": "string",
      "description": "Etag of this resource."
    },
    "items": {
      "description": "The videos' stats information.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/VideoStat"
      }
    }
  },
  "$defs": {
    "VideoStat": {
      "type": "object",
      "properties": {
        "contentDetails": {
          "$ref": "#/$defs/VideoStatsContentDetails",
          "description": "Output only. The VideoStatsContentDetails object contains information about the video content, including the length of the video."
        },
        "snippet": {
          "$ref": "#/$defs/VideoStatsSnippet",
          "description": "Output only. The VideoStatsSnippet object contains basic details about the video, such publish time."
        },
        "id": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The ID that YouTube uses to uniquely identify the video."
        },
        "statistics": {
          "$ref": "#/$defs/VideoStatsStatistics",
          "description": "Output only. The VideoStatsStatistics object contains statistics about the video."
        },
        "kind": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Identifies what kind of resource this is. Value: the fixed string \"youtube#videoStats\"."
        },
        "etag": {
          "type": "string",
          "description": "Output only. Etag of this resource.",
          "readOnly": true
        }
      },
      "description": "A *VideoStat* resource represents a YouTube video's stats."
    },
    "VideoStatsContentDetails": {
      "type": "object",
      "properties": {
        "duration": {
          "description": "Output only. The length of the video. The property value is a [`google.protobuf.Duration`](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) object.",
          "format": "google-duration",
          "type": "string",
          "readOnly": true
        }
      },
      "description": "Details about the content of a YouTube Video. This is a subset of the information in VideoContentDetails specifically for the Videos.stats API."
    },
    "VideoStatsSnippet": {
      "type": "object",
      "description": "Basic details about a video. This is a subset of the information in VideoSnippet specifically for the Videos.stats API.",
      "properties": {
        "publishTime": {
          "format": "google-datetime",
          "description": "Output only. The date and time that the video was uploaded. The property value is a [`google.protobuf.Timestamp`](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp) object.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "VideoStatsStatistics": {
      "type": "object",
      "properties": {
        "commentCount": {
          "description": "Output only. The number of comments for the video.",
          "type": "string",
          "format": "int64",
          "readOnly": true
        },
        "likeCount": {
          "description": "Output only. The number of users who have indicated that they liked the video by giving it a positive rating.",
          "type": "string",
          "readOnly": true,
          "format": "int64"
        },
        "viewCount": {
          "format": "int64",
          "description": "Output only. The number of times the video has been viewed.",
          "readOnly": true,
          "type": "string"
        }
      },
      "description": "Statistics about the video, such as the number of times the video was viewed or liked."
    }
  }
}

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-batch-get-stats-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.