{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Channel Scraper: Emails, No Login, $1.50 per 1,000",
    "description": "Find YouTube channels by keyword. Returns handle, subscribers, video count, description, verified badge and, optionally, country, joined date, total views and external links. Fast HTTP only, no browser, never times out.",
    "version": "0.1",
    "x-build-id": "3DCfTxzfqzBiYk1Lc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bright_money~youtube-channel-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bright_money-youtube-channel-search",
        "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/bright_money~youtube-channel-search/runs": {
      "post": {
        "operationId": "runs-sync-bright_money-youtube-channel-search",
        "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/bright_money~youtube-channel-search/run-sync": {
      "post": {
        "operationId": "run-sync-bright_money-youtube-channel-search",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search terms. Each keyword returns its own ranked list of channels.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "YouTube search URLs",
            "type": "array",
            "description": "Paste YouTube search result links, for example https://www.youtube.com/results?search_query=sourdough. The search words are used like keywords.",
            "items": {
              "type": "string"
            }
          },
          "channelUrls": {
            "title": "Channel URLs, handles or IDs",
            "type": "array",
            "description": "Look up specific channels directly, e.g. https://www.youtube.com/@NYTCooking, @NYTCooking or UC... IDs.",
            "items": {
              "type": "string"
            }
          },
          "seedChannels": {
            "title": "Find channels similar to",
            "type": "array",
            "description": "Seed channels (URL, handle or ID). The scraper searches with each seed's own keywords and title to find similar channels.",
            "items": {
              "type": "string"
            }
          },
          "maxChannelsPerKeyword": {
            "title": "Max channels per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Limit per keyword (and per seed channel). YouTube usually returns up to a few hundred channels per keyword.",
            "default": 50
          },
          "searchOrder": {
            "title": "Search order",
            "enum": [
              "relevance",
              "views",
              "date",
              "rating"
            ],
            "type": "string",
            "description": "How YouTube ranks the channels for each keyword.",
            "default": "relevance"
          },
          "expandKeywords": {
            "title": "Add autocomplete keywords",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Also search up to this many YouTube autocomplete suggestions for each keyword, for example sourdough adds sourdough starter, sourdough bread recipe. 0 means off.",
            "default": 0
          },
          "maxTotalChannels": {
            "title": "Max channels in total",
            "minimum": 1,
            "type": "integer",
            "description": "Stop the whole run after this many channels (optional)."
          },
          "dedupeAcrossKeywords": {
            "title": "Each channel only once",
            "type": "boolean",
            "description": "Save a channel only the first time it is found, even if several keywords return it.",
            "default": false
          },
          "excludeChannels": {
            "title": "Skip these channels",
            "type": "array",
            "description": "Handles or channel IDs you already have, for example @NYTCooking or UC... IDs.",
            "items": {
              "type": "string"
            }
          },
          "minSubscribers": {
            "title": "Min subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer subscribers (optional)."
          },
          "maxSubscribers": {
            "title": "Max subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with more subscribers (optional)."
          },
          "verifiedOnly": {
            "title": "Verified channels only",
            "type": "boolean",
            "description": "Only channels with the verified badge.",
            "default": false
          },
          "minVideos": {
            "title": "Min videos",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer uploads (optional)."
          },
          "maxVideos": {
            "title": "Max videos",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with more uploads (optional)."
          },
          "countries": {
            "title": "Channel countries",
            "type": "array",
            "description": "Only channels whose About tab lists one of these countries. Use names or two letter codes, for example US, United Kingdom, DE.",
            "items": {
              "type": "string"
            }
          },
          "joinedAfter": {
            "title": "Channel created after",
            "type": "string",
            "description": "Only channels created on or after this date (YYYY-MM-DD)."
          },
          "joinedBefore": {
            "title": "Channel created before",
            "type": "string",
            "description": "Only channels created before this date (YYYY-MM-DD)."
          },
          "activeWithinDays": {
            "title": "Uploaded within days",
            "minimum": 1,
            "type": "integer",
            "description": "Only channels that uploaded a video in the last N days. Checks recent videos automatically."
          },
          "minAvgViews": {
            "title": "Min average views",
            "minimum": 0,
            "type": "integer",
            "description": "Only channels whose recent videos average at least this many views. Checks recent videos automatically."
          },
          "onlyWithEmail": {
            "title": "Only channels with a public email",
            "type": "boolean",
            "description": "Keep only channels where a public email was found.",
            "default": false
          },
          "businessEmailOnly": {
            "title": "Only channels with a business email button",
            "type": "boolean",
            "description": "Keep only channels that offer the business inquiry email on YouTube (shown as hasBusinessEmail).",
            "default": false
          },
          "includeAbout": {
            "title": "Include About details",
            "type": "boolean",
            "description": "Fetch each channel's About tab: country, joined date, total views, video count, full description, external links, public emails and social profiles.",
            "default": true
          },
          "recentVideos": {
            "title": "Recent videos per channel",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Add the channel's latest videos (title, views, published, duration) plus average views and last upload. 0 = off.",
            "default": 0
          },
          "scanWebsites": {
            "title": "Find emails on websites",
            "type": "boolean",
            "description": "Visit each channel website, its contact page and link in bio pages (Linktree, Beacons and similar) to find more emails. Slower.",
            "default": false
          },
          "language": {
            "title": "Language (hl)",
            "type": "string",
            "description": "Interface language YouTube uses for the results, e.g. en, de, es.",
            "default": "en"
          },
          "country": {
            "title": "Country (gl)",
            "type": "string",
            "description": "Two letter country code that YouTube uses to rank results.",
            "default": "US"
          },
          "maxRunSeconds": {
            "title": "Time budget (seconds)",
            "minimum": 60,
            "type": "integer",
            "description": "The run stops cleanly and keeps all results before this budget, so it never times out.",
            "default": 3000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Used automatically if YouTube starts limiting the direct connection. Runs start without a proxy because it is several times faster.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}