youtube

YouTube Download

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

asyncbatch19.53 credits estimated

Request example

Send parameters inside params. The server rejects unknown fields.

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

Input JSON Schema

schema.json
{
  "additionalProperties": false,
  "properties": {
    "video_id": {
      "maxLength": 100,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9_-]+$",
      "type": "string"
    },
    "download_type": {
      "enum": [
        "video",
        "audio"
      ],
      "maxLength": 10,
      "minLength": 1,
      "type": "string"
    },
    "video_quality": {
      "maxLength": 40,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "video_id"
  ],
  "type": "object"
}