{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Shorts Scraper - Shorts, Views, Likes & Search",
    "description": "YouTube Shorts Scraper: scrape YouTube Shorts from channels, search terms and hashtags: title, views, likes, comment count, date, duration, hashtags, tags and channel subscribers. Latest or popular Shorts of any channel, date range. No login or API key. $1.13 per 1,000 Shorts.",
    "version": "0.1",
    "x-build-id": "o9hXYdlEWRerAz0OL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/socialscrapers~youtube-shorts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-socialscrapers-youtube-shorts-scraper",
        "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/socialscrapers~youtube-shorts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-socialscrapers-youtube-shorts-scraper",
        "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/socialscrapers~youtube-shorts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-socialscrapers-youtube-shorts-scraper",
        "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",
        "properties": {
          "startUrls": {
            "title": "Channels",
            "type": "array",
            "description": "Channel URLs or @handles whose Shorts to save, one per line: <code>https://www.youtube.com/@NASA</code> or <code>@NASA</code>. Shorts URLs work too.",
            "items": {
              "type": "string"
            }
          },
          "maxShortsPerChannel": {
            "title": "Max Shorts per channel",
            "minimum": 0,
            "type": "integer",
            "description": "How many Shorts to save from each channel. No upper limit. Example: <code>100</code>.",
            "default": 50
          },
          "channelSortBy": {
            "title": "Channel Shorts order",
            "enum": [
              "newest",
              "popular",
              "oldest"
            ],
            "type": "string",
            "description": "Which Shorts of a channel come first, as the sort buttons on the channel's Shorts tab: latest, most popular or oldest.",
            "default": "newest"
          },
          "searchQueries": {
            "title": "Search terms",
            "type": "array",
            "description": "Search YouTube Shorts, one term per line. Example: <code>pasta recipe</code>.",
            "items": {
              "type": "string"
            }
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags whose Shorts to save, with or without the #, one per line. Example: <code>sourdough</code>.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max Shorts per search term or hashtag",
            "minimum": 1,
            "type": "integer",
            "description": "How many Shorts to save for each search term and hashtag. Example: <code>200</code>.",
            "default": 20
          },
          "uploadDate": {
            "title": "Upload date",
            "enum": [
              "any",
              "hour",
              "today",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only videos uploaded within this period (YouTube's own search filter). For an exact range, use the date range below.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "popularity"
            ],
            "type": "string",
            "description": "The order of the search results: YouTube's relevance, or most viewed first.",
            "default": "relevance"
          },
          "publishedAfter": {
            "title": "Published on or after",
            "pattern": "^\\s*(?:(?:[tT][oO][dD][aA][yY]|[yY][eE][sS][tT][eE][rR][dD][aA][yY]|[nN][oO][wW])|(?:(?:(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+)?(?:[-+]\\s*)?(?:\\d{1,5})\\s*|(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+|[aA][nN]?\\s+)(?:[mM][iI][nN][uU][tT][eE][sS]?|[mM][iI][nN][sS]?|[hH][oO][uU][rR][sS]?|[hH][rR][sS]?|[hH]|[dD][aA][yY][sS]?|[dD]|[wW][eE][eE][kK][sS]?|[wW][kK][sS]?|[wW]|[mM][oO][nN][tT][hH][sS]?|[mM][oO][sS]?|[mM][tT][hH][sS]?|[mM][oO][nN][sS]?|[yY][eE][aA][rR][sS]?|[yY][rR][sS]?|[yY])(?:\\s+[aA][gG][oO])?|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])(?:(?:[tT]|\\s+|\\s*,\\s*)(?:[01]?\\d|2[0-3]):(?:[0-5]\\d)(?::(?:[0-5]\\d)(?:[.,](?:\\d{1,9}))?)?\\s*(?:[zZ]|[uU][tT][cC]|[gG][mM][tT]|[+-](?:[01]\\d|2[0-3])(?::?[0-5]\\d)?)?)?|(?:(?:19|20)\\d\\d)(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])|(?:(?:19|20)\\d\\d)|(?:1[3-9]|2\\d|3[01])[-/.](?:0?[1-9]|1[0-2])[-/.](?:(?:19|20)\\d\\d)|(?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])[-/.](?:(?:19|20)\\d\\d)|(?:(?:[mM][oO][nN](?:[dD][aA][yY])?|[tT][uU][eE](?:[sS](?:[dD][aA][yY])?)?|[wW][eE][dD](?:[nN][eE][sS][dD][aA][yY])?|[tT][hH][uU](?:[rR](?:[sS](?:[dD][aA][yY])?)?)?|[fF][rR][iI](?:[dD][aA][yY])?|[sS][aA][tT](?:[uU][rR][dD][aA][yY])?|[sS][uU][nN](?:[dD][aA][yY])?)[\\s,.]+)?(?:(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]+)?|(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]*(?:[oO][fF]\\s+)?(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*)(?:(?:19|20)\\d\\d)|(?:(?:19|20)\\d\\d)[\\s,./-]*(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?)?\\s*$",
            "type": "string",
            "description": "Only Shorts published on or after this date, or within this age. Pick a date or an age, or type one: a date (<code>2026-01-31</code>, <code>31/01/2026</code>, <code>Jan 31 2026</code>; a UTC day) or an age such as <code>7 days</code>, <code>2w</code> or <code>6 months</code>."
          },
          "publishedBefore": {
            "title": "Published on or before",
            "pattern": "^\\s*(?:(?:[tT][oO][dD][aA][yY]|[yY][eE][sS][tT][eE][rR][dD][aA][yY]|[nN][oO][wW])|(?:(?:(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+)?(?:[-+]\\s*)?(?:\\d{1,5})\\s*|(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+|[aA][nN]?\\s+)(?:[mM][iI][nN][uU][tT][eE][sS]?|[mM][iI][nN][sS]?|[hH][oO][uU][rR][sS]?|[hH][rR][sS]?|[hH]|[dD][aA][yY][sS]?|[dD]|[wW][eE][eE][kK][sS]?|[wW][kK][sS]?|[wW]|[mM][oO][nN][tT][hH][sS]?|[mM][oO][sS]?|[mM][tT][hH][sS]?|[mM][oO][nN][sS]?|[yY][eE][aA][rR][sS]?|[yY][rR][sS]?|[yY])(?:\\s+[aA][gG][oO])?|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])(?:(?:[tT]|\\s+|\\s*,\\s*)(?:[01]?\\d|2[0-3]):(?:[0-5]\\d)(?::(?:[0-5]\\d)(?:[.,](?:\\d{1,9}))?)?\\s*(?:[zZ]|[uU][tT][cC]|[gG][mM][tT]|[+-](?:[01]\\d|2[0-3])(?::?[0-5]\\d)?)?)?|(?:(?:19|20)\\d\\d)(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])|(?:(?:19|20)\\d\\d)|(?:1[3-9]|2\\d|3[01])[-/.](?:0?[1-9]|1[0-2])[-/.](?:(?:19|20)\\d\\d)|(?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])[-/.](?:(?:19|20)\\d\\d)|(?:(?:[mM][oO][nN](?:[dD][aA][yY])?|[tT][uU][eE](?:[sS](?:[dD][aA][yY])?)?|[wW][eE][dD](?:[nN][eE][sS][dD][aA][yY])?|[tT][hH][uU](?:[rR](?:[sS](?:[dD][aA][yY])?)?)?|[fF][rR][iI](?:[dD][aA][yY])?|[sS][aA][tT](?:[uU][rR][dD][aA][yY])?|[sS][uU][nN](?:[dD][aA][yY])?)[\\s,.]+)?(?:(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]+)?|(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]*(?:[oO][fF]\\s+)?(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*)(?:(?:19|20)\\d\\d)|(?:(?:19|20)\\d\\d)[\\s,./-]*(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?)?\\s*$",
            "type": "string",
            "description": "Only Shorts published on or before this date (the whole day counts), or before this age. A date (<code>2026-01-31</code>, <code>31/01/2026</code>, <code>Jan 31 2026</code>) or an age such as <code>7 days</code> or <code>1 year</code>."
          },
          "searchType": {
            "title": "Result type",
            "type": "string",
            "description": "Fixed to Shorts for this Actor.",
            "default": "shorts"
          },
          "maxVideosPerChannel": {
            "title": "Max videos per channel or playlist",
            "minimum": 0,
            "type": "integer",
            "description": "How many videos to save from each channel's Videos tab, and from each playlist. 0 saves none (useful with channel details on, or to get only Shorts). No upper limit. Example: <code>200</code>.",
            "default": 0
          },
          "maxStreamsPerChannel": {
            "title": "Max live streams per channel",
            "minimum": 0,
            "type": "integer",
            "description": "How many live streams (current and past) to save from each channel's Live tab. 0 saves none. Example: <code>20</code>.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxies give the most reliable results.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many videos are read at the same time. Example: <code>20</code>.",
            "default": 20
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}