youtube

YouTube Metadata

Each source declares supported modes, a JSON input schema, and an upper-bound credit estimate.

realtimeasyncbatch1 credits estimated

Request example

Send parameters inside params. The server rejects unknown fields.

youtube_metadata
{
  "params": {
    "video_id": "<video_id>"
  },
  "source": "youtube_metadata"
}

Input JSON Schema

schema.json
{
  "additionalProperties": false,
  "properties": {
    "video_id": {
      "maxLength": 100,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9_-]+$",
      "type": "string"
    },
    "include_formats": {
      "type": "boolean"
    },
    "include_chapters": {
      "type": "boolean"
    }
  },
  "required": [
    "video_id"
  ],
  "type": "object"
}