{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Channel Search Scraper [$0.55/1K]",
    "description": "Type a topic like home espresso and get the YouTube channels behind it, one row each: handle, subscribers, exact video and view totals, country, join date, plus the Instagram, TikTok and website links from the channel page. Set a subscriber range or verified-only; skipped channels cost nothing.",
    "version": "0.0",
    "x-build-id": "HwMahzhbIqSqp3x9k"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~youtube-channel-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-youtube-channel-search-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/memo23~youtube-channel-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-youtube-channel-search-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/memo23~youtube-channel-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-youtube-channel-search-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": {
          "searchTerms": {
            "title": "Keywords or topics",
            "type": "array",
            "description": "One per line, e.g. home espresso or budget travel vlog. Each line is its own YouTube search. On the free Apify plan only the first keyword or link is searched.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "YouTube results pages",
            "type": "array",
            "description": "Optional links to youtube.com/results pages, e.g. https://www.youtube.com/results?search_query=home+espresso. The search words are taken from each link and searched like a keyword; other filters in the link are not applied.",
            "items": {
              "type": "string"
            }
          },
          "searchTermsFiles": {
            "title": "Keyword lists by link",
            "type": "array",
            "description": "Optional links to a plain-text or CSV file, or a public Google Sheet, with one keyword per line. Those keywords join the ones above, and a keyword listed twice is searched once.",
            "items": {
              "type": "string"
            }
          },
          "languageHint": {
            "title": "Result language code",
            "type": "string",
            "description": "Two-letter language code for the search, default en (es, fr, pt and so on). It changes which channels come up first and the language of the joined-date text.",
            "default": "en"
          },
          "countryHint": {
            "title": "Result country code",
            "type": "string",
            "description": "Two-letter code of the country the search should come from, default US (GB, IN, BR and so on). Set it to find channels that are popular in one country.",
            "default": "US"
          },
          "discoveryMode": {
            "title": "Where channels come from",
            "enum": [
              "channelFilter",
              "videoResults",
              "both"
            ],
            "type": "string",
            "description": "Channel results: the channels YouTube lists when a search is filtered to channels. Uploaders of matching videos: the channels behind the videos a search returns, which finds creators who cover a topic without naming their channel after it. Both (default) does channel results first, then uploaders, and keeps each channel once.",
            "default": "both"
          },
          "verifiedOnly": {
            "title": "Only channels with the verified check mark",
            "type": "boolean",
            "description": "On: channels without YouTube's verified badge are skipped. Off (default): verified or not.",
            "default": false
          },
          "excludedChannels": {
            "title": "Channels to leave out",
            "type": "array",
            "description": "Optional. Handles such as @mkbhd, channel IDs that start with UC, or channel links. Matching channels are skipped.",
            "items": {
              "type": "string"
            }
          },
          "minVideos": {
            "title": "Fewest uploads",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer videos than this. 0 (default): no lower limit.",
            "default": 0
          },
          "minSubscribers": {
            "title": "Subscriber floor",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer subscribers than this. 0 (default): no lower limit.",
            "default": 0
          },
          "maxSubscribers": {
            "title": "Subscriber ceiling",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with more subscribers than this, handy for finding small creators. 0 (default): no upper limit.",
            "default": 0
          },
          "maxChannelsPerSearchTerm": {
            "title": "Channels from each keyword or link",
            "minimum": 1,
            "type": "integer",
            "description": "Each keyword or link stops after this many saved channels. Empty: it goes on until YouTube has no more results. Skipped channels do not count."
          },
          "maxTotalResults": {
            "title": "Channels in the whole run",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops after this many saved channels across all keywords and links. Empty: no run-wide limit. Skipped channels do not count. On the free Apify plan a run stops at 30."
          },
          "maxConcurrency": {
            "title": "Requests at once",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many requests run in parallel, default 30, at most 100. Each channel takes two small requests; raise it for large runs with tight filters.",
            "default": 30
          },
          "proxy": {
            "title": "Your own proxy (optional)",
            "type": "object",
            "description": "Apify Proxy groups and countries picked here are not used, and the run log says so. To send the run through your own proxies, switch off Apify Proxy and add their URLs. To search as if from another country, use the result country code above.",
            "default": {
              "useApifyProxy": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}