{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Channel Email Scraper & YouTube Email Finder",
    "description": "Find the emails YouTube channels publish: channels, handles, video URLs or keywords in; one row per channel with every email of the About, the newest video descriptions and its website (source, kind, mail check), the business email flag, socials and stats. Channels without an email are free.",
    "version": "0.1",
    "x-build-id": "gmQkLMaWHvtSmYq98"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~youtube-channel-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-youtube-channel-email-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/hyperbach~youtube-channel-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-youtube-channel-email-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/hyperbach~youtube-channel-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-youtube-channel-email-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": {
          "channels": {
            "title": "Channels",
            "maxItems": 5000,
            "type": "array",
            "description": "YouTube channels to read, one per line: a channel URL (youtube.com/@name, /channel/UC…, /c/name, /user/name, any tab), an @handle, a 24-character channel ID (UC…), or a video URL (watch, Shorts, live, youtu.be), which reads the channel that uploaded it. Each channel gives one row, the same channel once a run whatever form names it.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search channels by keyword",
            "type": "array",
            "description": "Keywords to search YouTube's channel results for (a niche, a topic, a brand). Each keyword's channels are read like the channels above, up to the per-keyword limit below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxChannelsPerQuery": {
            "title": "Channels per keyword or seed",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most channel rows one keyword search or one seed channel delivers, with or without an e-mail. A keyword's list ends by itself, often at a few hundred channels: the search row says where it ended.",
            "default": 50
          },
          "region": {
            "title": "Search region",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "IN",
              "PK",
              "PH",
              "ID",
              "MY",
              "SG",
              "JP",
              "KR",
              "TW",
              "HK",
              "DE",
              "AT",
              "CH",
              "FR",
              "BE",
              "NL",
              "ES",
              "PT",
              "IT",
              "PL",
              "SE",
              "NO",
              "DK",
              "FI",
              "CZ",
              "RO",
              "HU",
              "GR",
              "TR",
              "UA",
              "BR",
              "MX",
              "AR",
              "CO",
              "CL",
              "PE",
              "ZA",
              "NG",
              "KE",
              "EG",
              "SA",
              "AE",
              "IL",
              "TH",
              "VN"
            ],
            "type": "string",
            "description": "The country whose YouTube search results the keywords read: YouTube shows each country its own channel list for one keyword. It changes the search only, never a channel's own record.",
            "default": "US"
          },
          "similarToChannels": {
            "title": "Featured channels of these channels",
            "type": "array",
            "description": "Seed channels (any form the Channels field takes): each seed's featured-channels shelf is read, and every channel on it gives a row like the channels above.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "videoDescriptions": {
            "title": "Video descriptions to read per channel",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "How many of each channel's newest long-form videos to read the description of, for an address the About page does not show. 5 found every address 15 found on our test channels; 0 reads none.",
            "default": 5
          },
          "scanWebsite": {
            "title": "Read the channel's website",
            "type": "boolean",
            "description": "Read the first website the channel links (a link page such as Linktree leads to it): its home page and up to two contact, business or about pages, for the addresses published there. Social, shop and platform links are never read as the website.",
            "default": true
          },
          "labelChannels": {
            "title": "Label each channel (niche, kind, business inquiries)",
            "type": "boolean",
            "description": "Add three labels to each channel row with an e-mail, read by a classification model from the channel's own words: its niche (20 options), who runs it (creator, brand, media, institution, music artist) and whether it invites business inquiries. Each label answer has a confidence.",
            "default": false
          },
          "onlyWithEmail": {
            "title": "Only channels with an e-mail",
            "type": "boolean",
            "description": "Leave out the channels a search or a seed finds that show no public address. A channel you list yourself always gets its row, with or without an address. A row without an address is never charged either way.",
            "default": false
          },
          "emailDomainType": {
            "title": "E-mail domain type",
            "enum": [
              "any",
              "business",
              "free"
            ],
            "type": "string",
            "description": "Keep business addresses only (the channel's own or a company domain), free-mail addresses only (Gmail, Outlook, Yahoo …), or any.",
            "default": "any"
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out channels with fewer subscribers (YouTube's rounded count, as the channel page shows it). 0 = no minimum.",
            "default": 0
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out channels with more subscribers. 0 = no maximum.",
            "default": 0
          },
          "countries": {
            "title": "Channel countries",
            "type": "array",
            "description": "Two-letter country codes (US, GB, DE …): keep only channels whose About page names one of these countries. A channel that names no country is left out while this is set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "activeWithinDays": {
            "title": "Uploaded in the last N days",
            "minimum": 0,
            "maximum": 36500,
            "type": "integer",
            "description": "Keep only channels whose newest long-form video is at most this many days old (YouTube's own \"3 weeks ago\" text, its lower bound). 0 = no filter.",
            "default": 0
          },
          "joinedAfter": {
            "title": "Joined on or after",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep only channels that joined YouTube on or after this date, written YYYY-MM-DD. Empty = no filter.",
            "default": ""
          },
          "joinedBefore": {
            "title": "Joined on or before",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Keep only channels that joined YouTube on or before this date, written YYYY-MM-DD. Empty = no filter.",
            "default": ""
          },
          "excludeChannels": {
            "title": "Channels to skip",
            "type": "array",
            "description": "Channels (any form the Channels field takes) a search or a seed must not deliver, such as the ones you already have.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max charged rows (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows of the whole run: channels with at least one public e-mail. Rows without an address and every other free row do not count. 0 = no cap beyond your charge limit.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}