{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Shorts Downloader- Advanced Filters Unlocked🎧",
    "description": "🎬 Download YouTube Shorts like a pro! Get HD 1920p video + audio perfectly synced. ✅ Convert to MP4/MKV/WebM/AVI ✅ Extract MP3/FLAC/WAV audio ✅ Export thumbnails (JPG/PNG/WebP) ✅ Bypass geo-blocks worldwide ✅ Permanent URLs that never expire ✅ 99% success rate! 🎬YouTube Shorts Downloader🎧",
    "version": "1.0",
    "x-build-id": "Ryf8Y9VnU3h6TgBAh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapearchitect~youtube-shorts-downloader--advanced-filters-unlocked/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapearchitect-youtube-shorts-downloader--advanced-filters-unlocked",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scrapearchitect~youtube-shorts-downloader--advanced-filters-unlocked/runs": {
      "post": {
        "operationId": "runs-sync-scrapearchitect-youtube-shorts-downloader--advanced-filters-unlocked",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scrapearchitect~youtube-shorts-downloader--advanced-filters-unlocked/run-sync": {
      "post": {
        "operationId": "run-sync-scrapearchitect-youtube-shorts-downloader--advanced-filters-unlocked",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "video_urls",
          "desired_resolution"
        ],
        "properties": {
          "video_urls": {
            "title": "🔗 YouTube Shorts URLs",
            "type": "array",
            "description": "📋 Add YouTube Shorts URLs to download. Supports batch processing.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "title": "🎬 Shorts URL",
                  "description": "Enter YouTube Shorts URL",
                  "type": "string",
                  "pattern": "^https://(www\\.)?youtube\\.com/shorts/"
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "desired_resolution": {
            "title": "📺 Video Resolution",
            "enum": [
              "1920p",
              "1440p",
              "1080p",
              "720p",
              "480p",
              "360p"
            ],
            "type": "string",
            "description": "Select video quality. Auto-fallback to nearest available.",
            "default": "1080p"
          },
          "use_key_value_store": {
            "title": "💾 Enable Premium Mode (Recommended)",
            "type": "boolean",
            "description": "⭐ Unlock ALL features: Format conversion, permanent URLs, detailed metadata. Takes ~3-4 min for 1 video at highest quality!",
            "default": true
          },
          "video_format": {
            "title": "🎬 Video Format",
            "enum": [
              "mp4",
              "mkv",
              "webm",
              "avi"
            ],
            "type": "string",
            "description": "Output video container format",
            "default": "mp4"
          },
          "audio_format": {
            "title": "🎵 Audio Format",
            "enum": [
              "mp3",
              "m4a",
              "aac",
              "opus",
              "ogg",
              "flac",
              "wav"
            ],
            "type": "string",
            "description": "Output audio format for extracted track",
            "default": "mp3"
          },
          "audio_quality": {
            "title": "🎚️ Audio Bitrate",
            "enum": [
              "128",
              "192",
              "256",
              "320"
            ],
            "type": "string",
            "description": "Higher = Better quality, larger file",
            "default": "192"
          },
          "download_audio_only": {
            "title": "🎧 Audio-Only Mode",
            "type": "boolean",
            "description": "Extract audio track only (no video). Perfect for music!",
            "default": false
          },
          "thumbnail_format": {
            "title": "🖼️ Thumbnail Format",
            "enum": [
              "jpg",
              "png",
              "webp"
            ],
            "type": "string",
            "description": "Output image format for thumbnail",
            "default": "jpg"
          },
          "thumbnail_resolution": {
            "title": "📐 Thumbnail Size",
            "enum": [
              "original",
              "1280x720",
              "854x480",
              "640x360",
              "480x270",
              "320x180",
              "custom"
            ],
            "type": "string",
            "description": "Select preset or choose Custom for custom dimensions",
            "default": "original"
          },
          "custom_thumbnail_resolution": {
            "title": "✏️ Custom Size (WIDTHxHEIGHT)",
            "pattern": "^[0-9]+x[0-9]+$",
            "type": "string",
            "description": "Format: 800x600, 1920x1080 (Max: 8192×8192)",
            "default": "1920x1080"
          },
          "include_file_metadata": {
            "title": "📊 Include Detailed Metadata",
            "type": "boolean",
            "description": "Add codec, bitrate, resolution, FPS info to output",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}