Youtube · Schema

Caption

A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.

GoogleMediaSocialStreamingVideoVideos

Properties

Name Type Description
kind string Identifies the API resource's type. Value is youtube#caption.
etag string The Etag of this resource.
id string The ID that YouTube uses to uniquely identify the caption track.
snippet object The snippet object contains basic details about the caption.
View JSON Schema on GitHub

JSON Schema

youtube-caption-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Caption",
  "title": "Caption",
  "type": "object",
  "description": "A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.",
  "required": [
    "kind",
    "etag"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "description": "Identifies the API resource's type. Value is youtube#caption.",
      "default": "youtube#caption",
      "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 caption track.",
      "example": "abc123def456"
    },
    "snippet": {
      "type": "object",
      "description": "The snippet object contains basic details about the caption.",
      "properties": {
        "videoId": {
          "type": "string",
          "description": "The ID of the video that the caption track is associated with."
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the caption track was last updated."
        },
        "trackKind": {
          "type": "string",
          "description": "The caption track's type.",
          "enum": [
            "asr",
            "forced",
            "standard"
          ]
        },
        "language": {
          "type": "string",
          "description": "The language of the caption track. The property value is a BCP-47 language tag."
        },
        "name": {
          "type": "string",
          "description": "The name of the caption track."
        },
        "audioTrackType": {
          "type": "string",
          "description": "The type of audio track associated with the caption track.",
          "enum": [
            "commentary",
            "descriptive",
            "primary",
            "unknown"
          ]
        },
        "isCC": {
          "type": "boolean",
          "description": "Indicates whether the track contains closed captions for the deaf and hard of hearing."
        },
        "isLarge": {
          "type": "boolean",
          "description": "Indicates whether the caption track uses large text for the vision-impaired."
        },
        "isEasyReader": {
          "type": "boolean",
          "description": "Indicates whether caption track is formatted for easy reader."
        },
        "isDraft": {
          "type": "boolean",
          "description": "Indicates whether the caption track is a draft."
        },
        "isAutoSynced": {
          "type": "boolean",
          "description": "Indicates whether YouTube synchronized the caption track to the audio track in the video."
        },
        "status": {
          "type": "string",
          "description": "The caption track's status.",
          "enum": [
            "failed",
            "serving",
            "syncing"
          ]
        }
      },
      "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-caption"
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.